tsburkins
Posts: 4
Joined: Fri Apr 01, 2005 2:50 pm

Uninstall Custom Actions

Is there any way to execute a custom action at the very beginning of an uninstall? A password is required to uninstall my program and I need to verify it before any files are removed.
tsburkins
Posts: 4
Joined: Fri Apr 01, 2005 2:50 pm

Would there be a problem if I replaced the Uninstall string with my own executable and if the password was correct I would launch the uninstall?
UdreaMihai
Posts: 90
Joined: Wed Mar 23, 2005 8:13 am

Hi,

The begining of an uninstall operation is (same for install operation) "InstallValidate", but you must set the condition: REMOVE="ALL" .

You can change the Uninstall shortcut to point to your program but the user will still be able to uninstall your product from ControlPanel.

I hope it resolves your problem.

Mihai.
Udrea Mihai
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”