I use a common function as part of my project vbs file and just call it anytime i want to write to the log, should this method still work?
Code: Select all
Function WriteToLog(TextToWrite)
Const MsgType = &H04000000
Set rec = Installer.CreateRecord(1)
rec.StringData(1) = TextToWrite
Session.Message MsgType, rec
'Msgbox TextToWrite
WriteToLog = 0
End Function
FOLLOW US
Get the latest news in Application Packaging