Enable logging after advertised install
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?
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
Answers (1)
Please log in to answer
Posted by:
brenthunter2005
18 years ago
The best method for Windows Installer logging is to use Group Policy (that will write the following registry keys):
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.
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.