Long File Names and Double Quotation Marks
Under 32-bit operating systems, if you pass a long file name containing one or more space characters to the command line (such as in a DOS shell or in the Command Line setting for an icon), you must enclose the long file name in double quotation marks. This is necessary because the command line recognizes the space character as a delimiter separating a command from other arguments. The double quotation marks convert the long file name to a string literal, allowing the command line to receive it as a single argument.
Under 32-bit operating systems, if you pass a long file name containing one or more space characters to the command line, it must be enclosed in double quotation marks. However, due to the manner in which Windows NT accesses icon files, if a long file name in double quotation marks is used in the Command Line setting for an icon, the default Windows icon may display instead of the application’s icon.
To display your product’s icon, you can specify the icon’s path in the parameter szIconPath of the function
AddFolderIcon when using it to add an icon to a program folder.
Double quotation marks must be removed from long file names before they can be converted to short file names in InstallShield. Refer to the LongPathToQuote and LongPathToShortPath functions.