\
Windows Installer FAQ (the basics)
64 Bit Installs
SYSTEM32 (for 32 and 64 bit installs)
SYSTEM32 (for 32 and 64 bit installs) |
This code shows how to point to files that are in the windows "SYSTEM32"
directory on both 32 and 64 bit systems
(uses standard "System Folder Properties")
;--- Handle 32/64 bit OS (cmd.exe/hosts file) ---
<$PropertyCa "SYSTEM32DIR" Value="[SystemFolder]" Seq="InstallValidate-"> ;;32 Bit computer (will retain this value)
<$PropertyCa "SYSTEM32DIR" Value="[System64Folder]" Seq="InstallValidate-" CONDITION="VersionNT64"> ;;64 Bit computer (will override the line above)