Hello Éric,
Normally, the log file name generated by that option looks something like this:
MSI*.LOG, where * represents a set of random letters and numbers.
However, basically this option sets Windows Installer
MsiLogging property to the
"vp" value. Windows Installer will then automatically set the
MsiLogFileLocation property to the path where the log will be generated. By default, the
MsiLogFileLocation will resolve to:
Code: Select all
CurrentUser\AppData\Local\Temp\MSI*.LOG
For instance, when enabling that option in a newly created project, the property resolves, on my machine, to:
Code: Select all
C:\Users\Catalin\AppData\Local|Temp\MSIb5034.LOG
(obviously, the log name changes everytime I run the setup)
With that being said, a solution would be to get the value of the
MsiLogFileLocation property, parse it and get the name of the log file.
Hope this helps.
Best regards,
Catalin
FOLLOW US
Get the latest news in Application Packaging