View Full Version : How to UnInstall Database during UnInstallation process

06-20-2006, 03:12 AM

I have to uninstall Database during uninstall process by asking user a confirmation like "Do u want to Unintsall the Database" . I need help from experts.

With Regards

06-20-2006, 08:31 AM
You will probably have better luck posting to the forum for the specific InstallShield version and project type you are using. For example, forums for current and recent versions of InstallShield can be found here (http://community.macrovision.com/forumdisplay.php?f=133).

06-20-2006, 10:58 AM
With an Install Script it's not too hard. You just need to perform an AskYesNo() in the OnMaintUIAfter() function. If they answer "yes" you will have to call UninstallApplication() and pass the correct GUID for your database. The GUID may be the same every time, or you may have to have your uninstall read a key from the registry.

06-21-2006, 07:46 AM
Could u explain by giving example because new to this technology.

06-21-2006, 08:13 AM
Could u explain by giving example because new to this technology.

You can get these examples right out of the help....

if (AskYesNo("Do u want to Unintsall the Database?", YES) = 1) then
UninstallApplication(svGUID, "", LAAW_OPTION_WAIT);

07-15-2006, 02:46 AM
Hi MotoJason,

Could u tell me what to specify instead of "svGUID". One thing I forgotten to tell you, I am uninstalling application through Add/Remove. I am waiting for your reply.

Thanks and Regards
Sangamesh Patil

10-27-2006, 03:24 PM