Writing to MSI log during installation process
Never had to do this before, but I need to write information to the MSI log file during the installaiton process. It there a Custom Action that can be used or is there another way to do this?
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
AngelD
16 years ago
This is for a vbscript CA
'// function call: msiLog "my message to the MSI log-file"
Function msiLog(Message)
Const msiMessageTypeInfo = &H04000000
Dim Record : Set Record = Nothing
Set Record = Session.Installer.CreateRecord(1)
Record.StringData(1) = Message
Session.Message msiMessageTypeInfo, Record
Set Record = Nothing
End Function
Posted by:
anonymous_9363
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.