Archive: how to disable setup Temporary


how to disable setup Temporary
Hi
I am using outlook with NSIS setup, setup is running perfectly,when we have to uninstall the setup we have to go to the Add-Remove program from there we have to uninstall the setup, by this point we are clear no doubt but i want to Disable my setup temporary and Enable it when ever i need , i don't want to uninstall it. I only want to disable it temporary how to do that . Any help will be appreciated...
Thanks


Just create a custom page in your uninstaller that shows a Disable/Uninstall option, and push the choice into some variable in the page's leave function.

Then in the uninstall section check the variable. If it's Disable, disable your application. If it's Uninstall, uninstall.