commented display dialogs ....
Updated: 22 May 2010 | 2 comments
Hi I ran the installer in Win XP ... ran fine. I ran the installer in Vista, to my surprise, I realised that the display dialogs which are commented in the custom actions are displaying values. i.e the commented(/*) in vista leaves no meaning and is displaying the values of the variables in %test%. I fail to understand why is this weird behaviour just in vista and not in WIN XP ? any further assistance is highly appreciated. Thanks
Discussion Filed Under:
Comments
Why are you using /* ?
Have you tried using the simple ' character (single quote) in your vbscripts?
The /* comment method is, I believe, associated with scripts conforming to Windows Scripting Foundation (WSF) standards.
From what I recall, the vbscript handler in Windows Installer follows vbscripting standards predominantly.
Also bear in mind that Vista uses Windows Installer 4, whereas Windows XP uses Windows Installer 3.1 (or 3.0 if you have not installed any updates).
Try installing Windows Installer 4 on an XP test machine and see if you now get the same problem on XP as you are seeing on Vista.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
comments in vbscript
I agree with EdT.
As far as my knowledge vbscript accepts only single quote ( ' ). vbscript will not allow ( /* ) for comments either XP or VISTA.
Would you like to reply?
Login or Register to post your comment.