cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cornel_gav
Level 5

InstallShield Logging

I found out that I can enable logging by adding this registry value:

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer]
"Logging"="viwearucmo"

After running an .msi a .log file is created in Windows Temp directory with a randomn name: MSI*.log
How can I change the directory and the file name?

Thanks
Labels (1)
0 Kudos
(1) Reply
Stefan_Krueger
Level 9

You can't. But starting with MSI 4.0 the MsiLogFileLocation property will at least tell you the full path to the log file, in case you want to open it in Notepad at the end of install.

If you want to control the name you must run msiexec.exe with the /L parameter.

For more information please see How do I create a log file of my installation?
Stefan Krueger
InstallSite.org
0 Kudos