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
- :
- Log Function for installscript msi project
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jul 28, 2008
03:59 AM
Log Function for installscript msi project
Does somebody know is there some log functions existed which can specify the log level?
By far, I just found SprintfMsiLog function, but it can just specify the log message.
In the cmd line parameter, I found that /L [i|w|e|a|r|u|c|m|p|v|+] parameter can specify the log level, so can I also specify the log level in script when writing log?
Thank you in advance for your help.:) :confused:
By far, I just found SprintfMsiLog function, but it can just specify the log message.
In the cmd line parameter, I found that /L [i|w|e|a|r|u|c|m|p|v|+] parameter can specify the log level, so can I also specify the log level in script when writing log?
Thank you in advance for your help.:) :confused:
(3) Replies
‎Jul 28, 2008
12:56 PM
MsiProcessMessage and Session.Message enable you to specify the message "level"; please see, for example, "MSI Tip: Writing to the Log File from a Custom Action" in the Tips & Tricks page.
‎Jul 28, 2008
09:03 PM
RobertDickau wrote:
MsiProcessMessage and Session.Message enable you to specify the message "level"; please see, for example, "MSI Tip: Writing to the Log File from a Custom Action" in the Tips & Tricks page.
Thank you for your quick reply.
But I also want to know whether I can specify the message level in installshield script.
As MsiProcessMessage is used in dll, and Session.Message is used in VB script.
‎Jul 28, 2008
10:37 PM
RobertDickau wrote:
MsiProcessMessage and Session.Message enable you to specify the message "level"; please see, for example, "MSI Tip: Writing to the Log File from a Custom Action" in the Tips & Tricks page.
Thank you again.
Actually I can use MsiProcessMessage in installshield script.:)