Silently Uninstalling an InstallScript MSI Project

 Products

InstallShield 11.5 Premier, InstallShield 11.5 Professional

Project Type

InstallScript MSI

Summary

This article details command line methods to silently uninstall an
installation package that was created from an InstallScript MSI project.

Discussion

There are two ways a silent uninstall can be performed:

Using a Response File

To run an uninstallation using a response file:

Prepare a response file for the uninstallation (.iss) by running Setup.exe with the /r argument: Setup.exe /r

Locate the Setup.iss file generated in the Windows folder and copy it to the desired location. Type the following at the command line (items in Italics represent data
that is specific to your product's uninstallation):

IDriver.exe /M{Your Product GUID} /s /f1"YourResponseFile.iss"

Note: The /f1 parameter is necessary only if the Setup.iss file is located in a different directory than the Setup.exe file.

Simple Uninstallation

If you do not want to follow the script logic and want to uninstall the product, you can use the following command line:

IDriver.exe /M{Your Product GUID} /uninst

The /uninst parameter causes a forced uninstallation without opening the script. It rolls back the system changes made during the installation,
including those from the MSI package and any InstallShield scripting.

Note: For both of these uninstallation options, the /M argument is case sensitive.
Note: By default, the file "IDriver.exe" is located in the following path:

Common FilesInstallShieldDriver\Intel 32.

Additional Information

The information in the article applies to InstallShield version 11.5 and earlier.  For information on performing this task using later versions of
InstallShield, please refer to Knowledge Base article Q209967: HOWTO: Silently Uninstall an InstallScript MSI Project

Leave a Reply

Your email address will not be published. Required fields are marked *