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
- :
- 32bit installer can't write files to 64bit "Program Files"
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
‎May 04, 2009
02:11 AM
32bit installer can't write files to 64bit "Program Files"
I want my 32bit installer running on both 32 and 64 Windows,
I create some conditions like "VersionNT" and "VersionNT64" to separate different platform,
on 32bit system my installer running well, but on 64 bit system, some files needs install to 64bit "Program Files" folder the others needs install to 32bit "Program Files (x86)" the issue is the installer always using "Program Files (x86)" as a default folder
64bit files can't install to "Program Files".
I have tried to mark files as "64-bit component" but this configuration needs change "Template Summary" to x64 structure.
Please tell me how to change default "Program Files (x86)" to "Program Files" on 64bit system.
Thanks,
Thunder
I create some conditions like "VersionNT" and "VersionNT64" to separate different platform,
on 32bit system my installer running well, but on 64 bit system, some files needs install to 64bit "Program Files" folder the others needs install to 32bit "Program Files (x86)" the issue is the installer always using "Program Files (x86)" as a default folder
64bit files can't install to "Program Files".
I have tried to mark files as "64-bit component" but this configuration needs change "Template Summary" to x64 structure.
Please tell me how to change default "Program Files (x86)" to "Program Files" on 64bit system.
Thanks,
Thunder
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2009
04:53 AM
You can use the pre-defined constant "ProgramFiles64Folder" in your install script to copy your files in 64 bit program files folder.
If you are not using installscript project then go to
installation designer ->Application data-> Files and folders.
Here select the predefimed folder type "ProgramFiles64folder" and locate the files onto that.
Hope this will help you.
If you are not using installscript project then go to
installation designer ->Application data-> Files and folders.
Here select the predefimed folder type "ProgramFiles64folder" and locate the files onto that.
Hope this will help you.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2009
11:29 AM
thunder wrote:This is the "correct" approach; unfortunately it will prevent the package from installing on a 32-bit system. This is a limitation of Windows Installer, and you can find more information on it by searching for Heath Stewart's blog on multiple packages and multiple platforms.
I have tried to mark files as "64-bit component" but this configuration needs change "Template Summary" to x64 structure.
If you're looking for a workaround to just put a couple files in place, you can try things like an InstallScript custom action that copies files, using DISABLE(WOW64FSREDIRECTION) - but don't forget to remove them on the way out! This approach is not officially recommended.