Installshield 64-bit OS packaging considerations 1. installation directory in 64-bit systems, the installation directory is divided into Program Files and Program Files (x86 ). 64bit Application is automatically installed under Program Files; 32bit Application is automatically installed under Program Files (x86. 2. The 64-bit system directory is divided into system32 and syswow64. 64bit AP runs under system32; 32bit AP runs under syswow64. Installshield packaging considerations: problem: when a 32-bit AP calls the WINSYSDIR variable, it points to syswow64 by default. Even if WINDIR ^ "system32" is called, it is forced to point to syswow64. Solution: Disable (WOW64FSREDIRECTION) WOW64FSREDIRECTION: determines which system variable is called in a 64-bit system. After Disable, it points to system32 by default. Note: After the installation is complete, remember Enable (WOW64FSREDIRECTION) to avoid affecting other programs in the system. Experience: Disable (WOW64FSREDIRECTION) in the Installing () event; Enable (WOW64FSREDIRECTION) in the Installed () event; this eliminates the need to consider when to switch the installation process. In the same way, the UnInstalling () and UnInstalled () processes must also be used to unmount the corresponding part. 3. 64-bit registry system, the Registry is divided into HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Run and HKEY_LOCAL_MACHINE \ Software \ Wow6432Node \ Microsoft \ Windows \ CurrentVersion \ Run to register the 32bit AP in the default registry HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Run, command: REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY; also, remember REGDB_OPTIONS = REGDB_OPTIONS &~ REGDB_OPTION_WOW64_64KEY; -------------------------- note that the 32-bit directory and method are replaced by 64-bit. In this way, you can ensure that the correct installation is under the 64-bit directory. 1. REGDB_OPTIONS enables registry functions to read and write correctly on 64-bit win systems, instead of reading and writing 6432 node REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY; REGDB_OPTIONS = REGDB_OPTIONS &~ REGDB_OPTION_WOW64_64KEY; 2. Read about installshield's 64-bit system directory 3. Set compoment to 64-bit 4 ....