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
- :
- 64Bit MergeModules install into Program Files (x86) by mistake
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 05, 2008
06:45 PM
64Bit MergeModules install into Program Files (x86) by mistake
Hi,
I have an InstallScript 2009 project that includes 64Bit MergeModules (using the Merge Module Holder object). The TARGETDIR and Merge Module default destinations are set to [ProgramFiles64Folder]MyDir.
All files except the MergeModules end up in [ProgramFiles64Folder]MyDir. The MMs keep installing into [ProgramFilesFolder]MyDir.
Using Disable(WOW64FSREDIRECTION) in the script didn't help.
I looked at the msi files that are created during buildtime for each MergeModule in the Disk Images\MsiStub\ folders. They have the Platform set to Intel;1033 instead of x64. I think that is the problem.
Does anyone know how to have it build with x64 instead?
Using the automation interface to alter the msi files after the build doesn't help because we create a selfextracting exe. By the time I can access the msi files, the SFX is already built.
Any ideas?
-Sandra
I have an InstallScript 2009 project that includes 64Bit MergeModules (using the Merge Module Holder object). The TARGETDIR and Merge Module default destinations are set to [ProgramFiles64Folder]MyDir.
All files except the MergeModules end up in [ProgramFiles64Folder]MyDir. The MMs keep installing into [ProgramFilesFolder]MyDir.
Using Disable(WOW64FSREDIRECTION) in the script didn't help.
I looked at the msi files that are created during buildtime for each MergeModule in the Disk Images\MsiStub\
Does anyone know how to have it build with x64 instead?
Using the automation interface to alter the msi files after the build doesn't help because we create a selfextracting exe. By the time I can access the msi files, the SFX is already built.
Any ideas?
-Sandra
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2008
10:07 AM
It should be possible to create a single exe InstallScript package from the uncompressed build using ReleasePackager.exe; is the stub msi available in the uncompressed build?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 09, 2008
12:06 PM
yes the msi stubs are available and I created a postbuild step using the WiSumInf.vbs to first change their Template summary to x64;1033 and then using the repackager to create the SFX for complete Disk Image.
Unfortunately it didn't help. The MergeModules still install their files into Program Files (x86).
When I open the altered stub MSI's in InstallShield, the Template Summary field looks fine, but when being opened in Orca, the platform drop down field has nothing selected and the only item in the drop down list is Intel.
It looks like you can't just change the target platform of an MSI in the summary Information Stream. Something else needs to be changed too. Maybe something in the binary table?
I think I have to scrap this approach for now since it's costing too much time already. I'll start creating Basic MSI projects for each merge module and include the MSI's in the Script Installer instead of the Merge Modules directly. It's quite an overhead, but it might be the only way out for now.
Sandra
Unfortunately it didn't help. The MergeModules still install their files into Program Files (x86).
When I open the altered stub MSI's in InstallShield, the Template Summary field looks fine, but when being opened in Orca, the platform drop down field has nothing selected and the only item in the drop down list is Intel.
It looks like you can't just change the target platform of an MSI in the summary Information Stream. Something else needs to be changed too. Maybe something in the binary table?
I think I have to scrap this approach for now since it's costing too much time already. I'll start creating Basic MSI projects for each merge module and include the MSI's in the Script Installer instead of the Merge Modules directly. It's quite an overhead, but it might be the only way out for now.
Sandra
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)