Page 1 of 1

uninstallation script

Posted: Fri Jan 07, 2011 11:29 pm
by abhimudgal1
Hi,

How can I write script for uninstall?

My installer is supporting multiple instance installation, entry in ARP i.e. ProductName Instance1, ProductName Instance 2 ..., installation path is different for each instance, what I require to do is when user rerun the installer then it should display uninstall confirmation dialog, and after that Installer prompts combo box to choose uninstall desired instance, based on this input installer should uninstall the selected instance only. From ARP it is working fine, but I require to do it on rerun of Installer. I am in a critical situation so response in this regard would be very helpful for me.

thanks

Re: uninstallation script

Posted: Sat Jan 08, 2011 3:50 am
by giaviv
Dear abhimudgal1,

From what I understand you essentially need to control the uninstall script? If that is the case, in your MSIcode tab there is a "Perform Uninstallation" region (I am assuming that you created your project with a wizard. If that is not the case, you are looking for the area in your MSI code around the command "Apply Uninstall"). This region is responsible for your uninstallation and can be modified to suit your needs.

Please let me know if you have any further questions,
Aviv Giladi
InstallAware Support

Re: uninstallation script

Posted: Mon Jan 10, 2011 9:50 pm
by abhimudgal1
thanks !!