cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Kmadhavan
Level 3

Creation of log file

Hello Robert,

I have a requirement to create a log file. This is a Basic MSI project and i am not creating a setup.exe file to launch .msi instead i am creating a stand alone .msi file. Now, the requirement is when the user double clicks on the msi file the log file should be created in his temp folder.

Note : user should not use the command line to create the log file.

Thanks for any suggestion
Labels (1)
0 Kudos
(2) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

Your described requirements can be done with MSI 4.0 or later, which is currently only available on Vista, by setting the MsiLogging property: http://msdn2.microsoft.com/en-us/library/aa370322.aspx

Our IDE supports this, but again it will only currently work on Vista. For all previous versions of MSI you need to specify a command line, which can be done manually, or by our setup.exe, or by some other custom launch process.
0 Kudos
Kmadhavan
Level 3

Thank you for your valuable suggestion.
0 Kudos