InstallShied silent install fails with Resultcode=-3 in Setup.log

Issue

When running an InstallShield application silently with the following command:

setup.exe /S /v/qn


The installation may appear to start, but then will then fail silently.

Setup.log is created in the same directory as setup.exe with the following content:

[ResponseResult]
ResultCode=-3

Resolution

The response file setup.iss needs to be created in the same directory as setup.exe.

- Run setup.exe /r
- Complete the install process
- Copy %SystemRoot%\setup.iss to the same location as setup.exe

The silent installation path above should now complete successfully.

The /f1 command line parameter can be used to specify the location of the setup.iss

References

Silent Installations
http://www.appdeploy.com/tips/detail.asp?id=18

/p : Specify password
/r : Record mode (InstallScript and InstallScript MSI projects only)
/s : Silent mode
/f1 : Specify alternative response file name (InstallScript and InstallScript MSI projects only)
/f2 : Specify alternative log file name (InstallScript and InstallScript MSI projects only)

Products

InstallShield InstallScript 9

Created: 9th April 2008
Updated: 24th May 2010


© 2005-2021 Jamie Morrison