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
- :
- Re: Install for both x64 and x32
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
‎Jul 11, 2008
06:04 AM
Install for both x64 and x32
Hello
I would like to make an install, which installs different files, depending on the OS of the user.
If the OS is 32 bit, then install 32-bit DLL, else install 64-bit DLL
Thx
I would like to make an install, which installs different files, depending on the OS of the user.
If the OS is 32 bit, then install 32-bit DLL, else install 64-bit DLL
Thx
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 11, 2008
10:33 AM
I don't really know what you mean. You can target you installation platform be setting the TemplateSummary property http://msdn.microsoft.com/en-us/library/aa372070(VS.85).aspx
Take a look at a brief information about requirements for 64bit Installation Packages here: http://msdn.microsoft.com/en-us/library/aa367430(VS.85).aspx
Regards, Peter.
Take a look at a brief information about requirements for 64bit Installation Packages here: http://msdn.microsoft.com/en-us/library/aa367430(VS.85).aspx
Regards, Peter.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 11, 2008
10:52 AM
MSI doesn't officially support multiple platforms in a single MSI. However, with limitations, there are ways to make it work. I'd suggest reading:
http://blog.deploymentengineering.com/2008/01/even-developers-are-concerned-about.html
http://blogs.msdn.com/jasongin/archive/2008/07/09/votive-project-platform-configurations.aspx
http://blog.deploymentengineering.com/2008/01/even-developers-are-concerned-about.html
http://blogs.msdn.com/jasongin/archive/2008/07/09/votive-project-platform-configurations.aspx
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 11, 2008
12:33 PM
Thx for reply guys. I will try to describe my problem more.
For instance: if a user's name is John, then the installation installs John.DLL, if the user's name is Steve, then Steve.DLL should be installed.
So, if the OS is 64-bit, then 64.DLL should be copied in the targed directory, else 32.DLL. The other files remain the same
Thanks
For instance: if a user's name is John, then the installation installs John.DLL, if the user's name is Steve, then Steve.DLL should be installed.
So, if the OS is 64-bit, then 64.DLL should be copied in the targed directory, else 32.DLL. The other files remain the same
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2008
02:08 AM
The problem is the path to put the dlls. If you have a msi 32 bits the dlls will be in systemWow64 although the S.O would be 64 bits.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2008
05:52 AM
no, this particular DLL of mine is installed in the application's working directory, so just a question which dll to install.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2008
06:22 AM
Then I think there is no problem (I hope you don´t have to register your dll), you can take the VersionNT64 property to determine which dll you have to install.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2008
06:31 AM
Do one thing check the OS. If it is 32 bit then and then only Copy and Register your DLL. Put conditions for 64 bit also. You can use FeatureSelected for this purposes. Make it true and false based on conditions.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)