This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Installscript project migrating 32-bit to 64-bit
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 03, 2011
02:18 AM
Installscript project migrating 32-bit to 64-bit
In a installscript project I have 32-bit setup. Now I want it to have a 64-bit setup too. So for this what things will be required?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 07, 2011
01:47 PM
For InstallScript projects, there aren't really any changes necessary unless you would like to install files to the 64-bit System32 folder or registry data to the 64-bit portion of HKLM\Software.
To install files to the 64-bit System32 folder, override the Installing and Installed events for features that only contain components installing to this path. In the Installing events, disable WOW64FSREDIRECTION, and in the Installed events, enable WOW64FSREDIRECTION. (Repeat this also for the Uninstalling and Uninstalled events to ensure these files are removed correctly during uninstall.)
To install registry data to the 64-bit portion of HKLM\Software, use the InstallScript registry functions to create the registry data with REGDB_OPTION_WOW64_64KEY set in REGDB_OPTIONS before calling the registry functions.
To install resources to any other locations does not require any additional work than installing any typical resource on a 32-bit machine.
To install files to the 64-bit System32 folder, override the Installing and Installed events for features that only contain components installing to this path. In the Installing events, disable WOW64FSREDIRECTION, and in the Installed events, enable WOW64FSREDIRECTION. (Repeat this also for the Uninstalling and Uninstalled events to ensure these files are removed correctly during uninstall.)
To install registry data to the 64-bit portion of HKLM\Software, use the InstallScript registry functions to create the registry data with REGDB_OPTION_WOW64_64KEY set in REGDB_OPTIONS before calling the registry functions.
To install resources to any other locations does not require any additional work than installing any typical resource on a 32-bit machine.