squachchen
April 21st, 2003, 06:38 PM
I have created a post-install VBS script to reconfigure a server. The VBS script works fine when run on the command line.
But when I add the VBS as a custom action to the install project, the resulting MSI throws errors like: "Could not register event source" and "Could not report the event"
Furthermore, the regular Wscript calls such as 'Wscript.CreateObject("WScript.Shell")' causes a Microsoft VBScript runtime error: Object required:'WScript'. WScript.Sleep also generates an error.
NOTE: Debugger says the error is occuring in msiexec.exe.
Any clues as to what I am doing wrong?
Thanks in advance
Paul
:confused:
But when I add the VBS as a custom action to the install project, the resulting MSI throws errors like: "Could not register event source" and "Could not report the event"
Furthermore, the regular Wscript calls such as 'Wscript.CreateObject("WScript.Shell")' causes a Microsoft VBScript runtime error: Object required:'WScript'. WScript.Sleep also generates an error.
NOTE: Debugger says the error is occuring in msiexec.exe.
Any clues as to what I am doing wrong?
Thanks in advance
Paul
:confused: