View Full Version : running an uninstaller w/o setup.exe

01-31-2003, 10:09 PM
Is it possible to have some java code uninstall something that was installed with InstallShield without the setup.exe file?
The setup.exe file is no longer on the system, and obvioulsy I can uninstall by hand by going to add/remove programs, but is it possible to have a program do that? Or is it possible to use some command on the command line without the setup.exe?
Thanks guys,

02-03-2003, 06:07 PM
You can use a command line (assuming the setup was created with Express or Developer). From your project, note down the value of the Product Code (General Information View). Assume it is {12345678-0000-0000-0000-123456789012}. Running the following from command line will uninstall the product:

MsiExec.exe /x{12345678-0000-0000-0000-123456789012}

02-03-2003, 06:43 PM
Thanks Chandima, I'll try that out and let you know how it goes.

02-04-2003, 01:36 PM
Worked great, Thanks!!