Alpicus
Posts: 108
Joined: Sat Feb 16, 2008 5:29 pm
Location: Switzerland
Contact: Website

VBScript Inline problem (6.7)

()Hi AI Support,

Below a sample VBScript Inline which is not working :

MsgBox(Session.property("ProductName"), 4144, Session.property("ProductName") + " " + Session.property("ProductName"))

Can you tell me where is the problem ?

Thanks,

Phil
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: VBScript Inline problem (6.7)

Hi Phil,

Please note that the parameters of the MsgBox function should not be surrounded by parentheses. Therefore, a correct command would be:

Code: Select all

MsgBox Session.property("ProductName"), 4144, Session.property("ProductName") + " " + Session.property("ProductName")
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alpicus
Posts: 108
Joined: Sat Feb 16, 2008 5:29 pm
Location: Switzerland
Contact: Website

Re: VBScript Inline problem (6.7)

Thanks Cosmin ! It works !

Return to “Common Problems”