Hi,
executing a VBScript custom action using a basic msi project causes strange problems.
I used following settings an code:
Custom action details:
- type: VBScript
- location: streamed into binary table
- target: function call
VBScript:
Function ShowMessage
MsgBox "Some Message"
End Function
Function HelloWorld(sMessage)
MsgBox sMessage
End Function
As soon as the function has parameters I receive error 1720:
- custom action with ShowMessage executes fine
- custom action with function HelloWorld("Some parameter") causes error 1720.
What can I do to run a VBScript function with parameters?
I'm using InstallShield Developer 7.01
Thanks
Jan Baer
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
VBScript custom action - passing function paramete
Started by
janb
, Jul 08 2002 14:11
1 reply to this topic
Posted 08 July 2002 - 22:29
You can't pass in parameters. Use properties instead:
Function HelloWorld
MsgBox Session.Property("MESSAGE")
End Function
Function HelloWorld
MsgBox Session.Property("MESSAGE")
End Function
Stefan Krüger
InstallSite.org twitter facebook