/build/static/layout/Breadcrumb_cap_w.png

Enable logging

Hi,

Trying to turn on the logging ability of the installer (such as /L*V "%TEMP%\MyProduct.log"), I put in MsiLogFileLocation and specified a full path to a file on the C drive so I could find it. but when i run the package no log file gets created, Anyone has an idea what's wrong?
Using Wise 6.2

Thanks

0 Comments   [ + ] Show comments

Answers (7)

Posted by: jmaclaurin 13 years ago
Third Degree Blue Belt
0
Try adding those switches for your command line for the install and see if it works.

msiexec.exe /i files.msi /L*V "%TEMP%\MyProduct.log"
Posted by: Netrock 13 years ago
Orange Senior Belt
0
Thanks for the reply jmaclaurin.
Tried that already by going to: installation>> Distribution grid >>> command line.
but no sign of the log file..!!
Posted by: jmaclaurin 13 years ago
Third Degree Blue Belt
0
Is the install actually completing?

Try setting the path explicitly.

msiexec.exe /i files.msi /L*V "c:\temp\MyProduct.log"

If that works, then you need to confirm exactly where %TEMP% is. I've also had problems where the directory to be written to didn't exist so I added a command to my install scripts to create it pre-install.
Posted by: Netrock 13 years ago
Orange Senior Belt
0
Yes, installation is ok.

It works if i go to start>> run : msiexec.exe /i files.msi /L*V "c:\temp\MyProduct.log".

i am just setting to C:\myproduct.log", there is no dir. involved....
i want to set it so any time users click on MSI to get a log file in case of errors.
Posted by: jmcfadyen 13 years ago
5th Degree Black Belt
0
if you always want a logfile set it at registry level instead.

http://installpac.wordpress.com/2008/05/07/understanding-the-windows-installer-logs/

see here for details how.
Posted by: anonymous_9363 13 years ago
Red Belt
0
I can practically guarantee that the non-appearance of the log file is because you're running the install via a deployment system. In that case, the local System account is being used to actually execute the install and the log file is being depoisted to that user's profile folder which is normally hidden.

As already suggested, use something like %SystemRoot%\TEMP instead of %TEMP%.
Posted by: ogeccut 13 years ago
Black Belt
0
Start Registry Editor (Regedt32.exe), and then create the following path and keys in the registry:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

Reg_SZ: Logging
Value: voicewarmup
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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