/build/static/layout/Breadcrumb_cap_w.png

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?

0 Comments   [ + ] Show comments

Answers (1)

Posted by: brenthunter2005 18 years ago
Fifth Degree Brown Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ