PDA

View Full Version : Custom uninstall action



sethhitch
05-13-2005, 09:52 AM
I'm sure there's a really simple answer to this, but I'm new to Windows Installer, so bear with me.

I'm working with a Basic MSI Project. I have two Custom Actions that need to run in my installer, one at install time and one at uninstall time. Both actions execute a process that is delivered by the installer. I can't figure out how to make a condition that can tell whether I'm installing or uninstalling. It seems as though this should be a simple, common requirement.

Thanks.

RobertDickau
05-13-2005, 10:01 AM
Please see this InstallShield newsletter tip: http://www.installshield.com/news/newsletter/0212-articles/msiconditions.asp.

sethhitch
05-13-2005, 10:27 AM
Thanks, that was exactly what I needed.

Bill_Thompson
03-23-2007, 04:55 PM
My uninstall is not working properly.

After the uninstall is run, the product's exe remains on the hard drive.