Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

4 Answers 4

up vote 9 down vote accepted

See http://documentation.installshield.com/robo/projects/installshield12helplib/IHelpSetup%5FEXECmdLine.htm for the official docs on Installshield's command line parameters.

If you're runnning 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"
share|improve this answer
    
That's what I'm looking for. Can't vote you up cause I don't have reputation, but I promise I will. Thanks. –  Henrique Zacchi Sep 3 '09 at 11:23
    
Thanks, glad to hear it helped. –  GAThrawn Sep 3 '09 at 12:31
    
This log only shows the following information:[Application] Name=Sample App 3000 Version=1.00.0000 Company=Sample Software Corporation Lang=0409 [ResponseResult] ResultCode=0. Perhaps you want /debuglog –  EdmundG Mar 11 at 15:23

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.

2010 Command line reference

2011 Command line reference

2012 Command line reference

MSI command line debugging reference

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

share|improve this answer

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

Setup.exe /V"/LIME c:\Temp\Install.log"
share|improve this answer

Well you can force it to have one:

msiexec.exe /i C:\Path\Your.msi /L*v C:\Your.log
share|improve this answer
    
That's for MSI. The question is about InstallShield. –  Mark Richman Jun 27 at 17:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.