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

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
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"
Answered 10/26/2011 by: jmaclaurin
Third Degree Blue Belt

Please log in to comment
0
Thanks for the reply jmaclaurin.
Tried that already by going to: installation>> Distribution grid >>> command line.
but no sign of the log file..!!
Answered 10/26/2011 by: Netrock
Orange Senior Belt

Please log in to comment
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.
Answered 10/26/2011 by: jmaclaurin
Third Degree Blue Belt

Please log in to comment
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.
Answered 10/26/2011 by: Netrock
Orange Senior Belt

Please log in to comment
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.
Answered 10/26/2011 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
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%.
Answered 10/31/2011 by: VBScab
Red Belt

Please log in to comment
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
Answered 11/01/2011 by: ogeccut
Black Belt

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