InstallShield 2015 » InstallScript Language Reference
The WINDISK system variable contains the ID of the disk drive that contains the main operating environment. This drive is the one that contains the Windows program—usually drive C. Note that the InstallScript engine includes the colon (:) with the drive letter.
Note: If you intend to reference the root folder of the drive specified by this variable, you must append a backslash to it (specified as two backslashes). For example, if the value of WINDISK is C:, the following statement refers to the root folder of that drive: WINDISK + "\\".
Project: During setup initialization in InstallScript installations, the value of the WINDIR variable is obtained by calling the Windows API function SHGetSpecialFolderPath with the CSIDL_WINDOWS parameter.
In Basic MSI and InstallScript MSI installations, the value of the WINDIR variable is obtained by calling the InstallScript function GetDisk with WINDIR; if that fails, this variable is initialized based on the Windows Installer property WindowsVolume. Note that deferred, commit, and rollback custom actions do not have access to this property. Therefore, the corresponding WINDIR variable is empty in deferred, commit, and rollback custom actions. To learn more, see Accessing or Setting Windows Installer Properties Through Deferred, Commit, and Rollback Custom Actions.
InstallShield 2015 Help LibraryJune 2015 |
Copyright Information | Contact Us |