I'm doing an advertised installation like this:
msiexec /jm mymsi.msi
All works fine!

However, I'd like to recieve a log of what happens when the advertised shortcut is clicked and the "real" installation kicks in. Is this possible?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
The best method for Windows Installer logging is to use Group Policy (that will write the following registry keys):
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer\Logging = "iwearmov"

This policy creates a log file in the temp directory with the random name: MSI*.LOG. Specify the logging mode by using the same characters to specify logging mode as used by the '/L' command line option.

Purely for interest, when Windows Installer 4.0 comes out with Vista, you will also be able to set this option, and the log file path and name within the MSI package itself.
Answered 03/07/2006 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity