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
- :
- Combining 32 bit and 64 bit dll
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
‎Apr 24, 2017
10:39 AM
Combining 32 bit and 64 bit dll
Hi,
Currently we are using installscript to process the installation. we were using two separate 32 bit and 64 bit exe's. Now we would like to combine both 32 bit and 64 bit dll into one with differnt names. and based on the installed word document we will pick correct dll and install to the destination computer by programatically adding conditions to the InstalScript.
My question is how to set the INSTALLDIR and Template Summary values dynamically.
Thanks in advance for your help.
Currently we are using installscript to process the installation. we were using two separate 32 bit and 64 bit exe's. Now we would like to combine both 32 bit and 64 bit dll into one with differnt names. and based on the installed word document we will pick correct dll and install to the destination computer by programatically adding conditions to the InstalScript.
My question is how to set the INSTALLDIR and Template Summary values dynamically.
Thanks in advance for your help.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2017
10:47 AM
A package cannot be marked as supporting both 32-bit and 64-bit platforms.
The Template Summary is a build time setting, not a runtime setting.
You could build two MSI files, one 32-bit and one 64-bit and then wrap those in a Suite or Bootstrapper that determines the bitness and runs the appropriate one at runtime. That's a fairly common thing to do.
Chad
The Template Summary is a build time setting, not a runtime setting.
You could build two MSI files, one 32-bit and one 64-bit and then wrap those in a Suite or Bootstrapper that determines the bitness and runs the appropriate one at runtime. That's a fairly common thing to do.
Chad
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2017
12:03 PM
chad.petersen wrote:
A package cannot be marked as supporting both 32-bit and 64-bit platforms.
The Template Summary is a build time setting, not a runtime setting.
You could build two MSI files, one 32-bit and one 64-bit and then wrap those in a Suite or Bootstrapper that determines the bitness and runs the appropriate one at runtime. That's a fairly common thing to do.
Chad
What if i leave Template Summary Empty. Can it work on any Target Machine bitness? what i read online if i leave empty then default would be 32 bit. but i need to make this value set dynamically. any other approach please?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2017
01:18 PM
https://msdn.microsoft.com/en-us/library/windows/desktop/aa367451(v=vs.85).aspx
Specifically where it says
"A Windows Installer package must be specified as either a 32-bit or a 64-bit package; it cannot be specified as neutral."
That is information from Microsoft.
Chad
.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)