Does InstallShield keep a log during installation?

Just want to know if InstallShield keeps a log during installation of an application.

I already checked C:\Program Files\InstallShield Installation Information{GUID}, but there isn't a log file there.

The reason is that the installation of a 3rd party tool is failing with an arbitrary error such as:

"The following error occurred on file \ZZZ. File is readonly"

Options are: Ignore, Retry, Abort

I want to find out the complete path to the file as well as other information and I think this might be on the log (if there's any).

Thanks.


Solution 1:

See Setup.exe Command-Line Parameters for the official docs on Installshield's command line parameters.

If you're running a setup.exe rather than an MSI file, and are running it silently then you can use the /f2 parameter to specify the log file location. Something like:

Setup.exe /s /f2"C:\Setup.log"

Solution 2:

There are two components at play - Installshield's engine and the MSIExec/Windows Installer engine.

In later versions of Installshield's Setup.exe bootstrapper, the /debuglog flag was introduced.

To log both, try:

Setup.exe /debuglog"C:\PathToLog\setupexe.log" /V"/L*v c:\PathToLog\SetupMSI.log"

Make sure the user has write permissions to the paths specified

Installshield Setup.exe command line

2008 Command line reference

2009 Command line reference I'm not sure if this is correct as the original is no longer available.

(dead) 2010 Command line reference

(dead) 2011 Command line reference

(dead) 2012 Command line reference

Latest command line parameters

MSI command line debugging reference

Also see this http://www.installationdeveloper.com/686/using-log-files-in-installshield/

Solution 3:

Also available for installshield Setup.Exe is the /V switch.

Setup.exe /V"/LIME c:\Temp\Install.log"

Solution 4:

Well you can force it to have one:

msiexec.exe /i C:\Path\Your.msi /L*v C:\Your.log