This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Creating msi logs
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
05:24 AM
Creating msi logs
Is there a way to create msi logs at some certain location even when the msi is NOT run with msiexec switches?
So when a user dbl clicks the installer, I always want the msi to create a log in the installdir location for example. the installer will run with windows installer 3.0 or later.
Thanks in advance.
So when a user dbl clicks the installer, I always want the msi to create a log in the installdir location for example. the installer will run with windows installer 3.0 or later.
Thanks in advance.
4 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
09:04 AM
I don't believe there is any way to do that if you just run the msi, because the log file must be created when the msi is started. (In other words, you can't start a log file from within an already-running msi, from what I understand.) You could do it if you can always use a setup.exe wrapper to run the msi.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
09:07 AM
Exactly right; MSI 4.0 and later support the MsiLogging property for creating a log file, but earlier versions require logging to be initiated externally to the MSI.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
01:33 PM
This may or may not help, but the user also has the option of setting the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"Logging"="voicewarmup"
This automatically enables logging.
David Cole
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"Logging"="voicewarmup"
This automatically enables logging.
David Cole
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
02:31 PM
Thanks all...
