vbscript custom action

B

Ben Jooste

hi,

my vbscript seems to be running fine when i double click it on the box.

but when I run it as a custom action, it doesn't seem to work all that well.
I've tried putting MsgBox's or wscript.echo's into the vbscript so that I
can track where it is falling over, but they don't come up when running in
the msi.

Do you have any ideas of getting an output while running msi... i basically
want to see what the variables are set to at runtime.

regards,

ben
 
P

Phil Wilson

You can't use any references to WScript. VBScript in Windows Installer isn't
Windows Script Host. If you're using Wscript.CreateObject, just use
CreateObject.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top