Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

commented display dialogs ....

Updated: 22 May 2010 | 2 comments
Prafful Sharma's picture
+3 3 Votes
Login to vote
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

EdT's picture
29
May
2009
4 Votes +4
Login to vote

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.

AppPkgServices's picture
29
May
2009
4 Votes +4
Login to vote

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.