cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

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'
Labels (1)
0 Kudos
(3) Replies
guptarajesh75
Level 3

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"
0 Kudos
Not applicable

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?
0 Kudos
RobertDickau
Flexera Alumni

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.
0 Kudos