From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

InstallShield is a commonly used installer creation tool from Flexera (formely Macrovision).

Documentation for all of the InstallShield products is available at the Flexera web site.

In many instances, InstallShield packaged programs are distributed as self-extracting zip files. These can be pre-extracted using any unzip program to provide access to the standard InstallShield setup.exe. The silent install method(s) available for InstallShield packaged software depend on the version and type of installer the software authors decided to create. See the Links section for more details. Especially the link to unattended is helpful, because there are many different varieties of InstallShield installers.

Non-MSI wrapped InstallShield installers

For Non-MSI wrapped installshield installers you must create INSTALL and UNINSTALL response files

These are the steps for successful installation and unintallation:

  1. Use Uniextract to extract the Disk1 folder containing the installshield setup.exe with assocaited cab files.
  2. Record the setup.iss file using setup.exe -r NOTE this file is created in C:\Windows so move it from their to your install source folder.
  3. Make two copies e.g. setup32.ini and setup64.ini for XP/Win764. Edit each setup??.iss to change the value of szDir=
  4. Record another setup.iss this time for uninstallation. This is done by finding the UID folder usually located in
    C:\Program Files (x86)\InstallShield Installation Information
    and running
    setup.exe -r
    (again). The new setup.iss file is again located in c:\windows
  5. Edit the setup.ini and add switches to the value
    cmdline=/s /v/qn
  6. Now reference the following for sequencing your app installation:
  • installation:
    • For XP or Win7 32bit
      %SOFTWARE%\MYAPP\setup.exe /s /f1%SOFTWARE%\MYAPP\setup32.iss /f2c:\netinst\MYAPP.log
    • For Windows 7 64bit
      %SOFTWARE%\MYAPP\setup.exe /s /f1%SOFTWARE%\MYAPP\setup64.iss /f2c:\netinst\MYAPP.log
  • uninstallation:
    • For XP or Win7 32bit
      RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{MYAPPUID}\setup.exe" /s /f1c:\localfolder\uninst.iss
    • For Windows 7 64bit
      RunDll32 C:\PROGRA~2\COMMON~1\INSTAL~1\PROFES~1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files (x86)\InstallShield Installation Information\{MYAPPUID}\setup.exe" /s /f1c:\localfolder\uninst.iss