Jump to content


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.
Photo

Case-sensitivity when using ><


2 replies to this topic

smc0862

smc0862
  • Full Members
  • 54 posts

Posted 07 February 2005 - 23:01

I am using the following condition to test if the user is trying to install into the root drive or into Windows or Windows\System. This was working when the user browsed for the folder, but now they typed in the folder c:\windows in the edit field.

(INSTALLDIR=WindowsVolume Or INSTALLDIR><WindowsFolder)

It appears the above check is case-sensitive. Is there anyway of making this check case-insensitive or could you make another suggestion on how to prevent the user from installing into specific folders?

Thanks,

-Shawn

mandy

mandy
  • Members
  • 121 posts

Posted 08 February 2005 - 14:24

"Conditional Statement Syntax" (from the SDK):

"For string comparisons, a tilde "~" prefixed to the operator performs a comparison that is not case sensitive."


smc0862

smc0862
  • Full Members
  • 54 posts

Posted 08 February 2005 - 17:41

Thanks! That did the trick.