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
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)
Please log in to answer
Posted by:
jmaclaurin
13 years ago
Posted by:
Netrock
13 years ago
Posted by:
jmaclaurin
13 years ago
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.
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
Posted by:
jmcfadyen
13 years ago
Posted by:
anonymous_9363
13 years ago
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%.
As already suggested, use something like %SystemRoot%\TEMP instead of %TEMP%.
Posted by:
ogeccut
13 years ago
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.