Newbie:Custom uninstall help required
I am a newbie to installshield. I am trying to uninstall from a
Start menu shortcut, meaning when you click Start->Programs
This has to execute some custom uninstall program, can you help me by letting me know
1. What is a custom uninstall program, is it a new project in InstallShield or some other program?
2. How does this custom program call the Windows uninstaller?
It is also ok if someone can direct me to a tutorial where I can find this information. I am using 6.30 version, but will be upgrading to 6.31 shortly. I have already gone through the InstallShield site, but could not find any information about this kind of uninstallations. My community id is arunkk.
I would appreciate if you could help me, I need this information
Thanks in advance for all help.
If you are using an installshield 6.30 installation and now want to uninstall using a shortcut what you are trying to do really is just run the same setup.exe again which will this time start in the maintenance mode which is just part of the same project that installed the program. If you look at the functions like OnFirstUIBefore and such there is another function just like it that is OnMaintUIBefore which is called during the uninstallation or maintenance of the program. You can edit these functions to customize the uninstallation or you can use them to repair, modify and such.
As for creating a shortcut to run the uninstallation the one I like to use is given the path
PROGRAMFILES^"InstallShield Installation Information\\ Your Product GUID\\Setup.exe";
This then launches the same installation but since it has been already installed it starts in Maintenance mode.
In the installshield help you might find the article
"Functions called automatically during an event-based setup"
helpful. Look for it under the index tab. It explains which functions are called during maintenance mode of the setup.