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 a log file in an .msi
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2009
12:43 PM
Creating a log file in an .msi
Is modifying the registry really the only way to create a log file with an .msi install? (other than there being an error during the install which will create one, OR using the /L from a commandline).
I found this article:
http://support.microsoft.com/kb/223300
And was hoping there might be a different way to just have a user get a log file running the install 'normally'
I found this article:
http://support.microsoft.com/kb/223300
And was hoping there might be a different way to just have a user get a log file running the install 'normally'
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2009
04:09 PM
try
You can use /L*v C:\everything.log for MSi isntaller and if your package is setup.exe then try setup.exe /V"/L*v C:\everything.log"
You can use /L*v C:\everything.log for MSi isntaller and if your package is setup.exe then try setup.exe /V"/L*v C:\everything.log"
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2009
04:12 PM
Yeah but that implies that I have to run the .msi from the commandline, right? What if I just want the end user to doubleclick the .msi install and have one created that way?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2009
06:09 PM
With MSI 4.x, you can use the MsiLogging property; for earlier versions, something external to the MSI database (setup.exe, policy setting, command line, etc.) needs to initiate logging.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)