View Full Version : Password Problem~~

08-03-2003, 10:00 PM
Now I want to add a password to the component in order to protect from unanticipated unintallation.

I add a password in the component sheet or in a media, and check this password after inputing the password when uninstalling.

But when I install this program, an error messagebox appearred and the error code is -142 when copying files.

There is no error if there is no password.

What's wrong with it? How can i solve this problem?
Thanks again~

08-04-2003, 02:40 AM

-142 error occurs when ComponentValidate was not called to validate the components and/or the file media library before transferring those components with ComponentMoveData

Use ComponentValidate function to validate the password for before transferring the components. Please go through help for this function.


08-05-2003, 08:30 PM
Oh, I see~~~

thanks for your reply~~