InstallShield 2016 » InstallScript Language Reference
Use the append to path ( ^ ) operator when you are combining two paths or a path and a file name. The operator automatically checks to see if you have added the proper number of backslashes when appending a file name or a subdirectory to a path.
If you type:
szStringVar = "C:\\MyPath\\" ^ "YourPath\\FileName";
the output from szStringVar is:
C:\MyPath\YourPath\FileName
If you forgot to add the backslashes after MYPATH, as shown below:
szStringVar = "C:\\MyPath" ^ "YourPath\\FileName";
the result of the operation is still valid. The InstallScript ^ operator adds the backslashes for you.
Note • Do not use the ^ operator to join strings other than paths, such as registry keys. For other types of strings, use the concatenate operator (+).
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |