PDA

View Full Version : How to UnInstall Database during UnInstallation process



sangupatil
06-20-2006, 03:12 AM
Hi,

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
Sangamesh

RobertDickau
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).

MotoJason
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.

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

MotoJason
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);
endif;

sangupatil
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

MotoJason
10-27-2006, 03:24 PM
http://community.installshield.com/showthread.php?t=156585