PDA

View Full Version : Silent ComponentRemoval



John Layton
08-06-2003, 12:14 PM
I have an application that has migratred from previous installations. During the removal of the latest setup I get a warning that some files cannot be un-registered. I have handled the unregistration part, but I do not what this error to show up. Does anyone know how to make this process run silent ?


Thanks

niranbhimaiah
08-08-2003, 07:52 AM
Comment the code in the event "OnSelfRegistrationError()"
This will not show the message. But be aware that this even is executed during installation also. Any registration failure during installation will be intimated.

Regards
Niran Bhimaiah

BlakeMillerWW
08-08-2003, 08:40 AM
If you track whether you are installing or uninstalling, and set a global variable,. then you can just avoid the display part of the OnSelfRegistrationError during the uninstal but still display it during the installation.
I would use conditional logic instead of completely commenting the code out.