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: how to install different files according to the operating system
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
‎Mar 26, 2012
01:43 PM
how to install different files according to the operating system
I have an old 32bit application, and it works fine on some win7 64bit installing on the x86 program files directory. However, some win7 64bit machines had troubles with the registry values that this application is using.
so my plan is to modify the program for the 64bit machines. now the question is, how do i tell installshield to install a different executable file when the user has a 64bit machine? I am using a basic MSI installation.
Thanks for your time!
so my plan is to modify the program for the 64bit machines. now the question is, how do i tell installshield to install a different executable file when the user has a 64bit machine? I am using a basic MSI installation.
Thanks for your time!
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 26, 2012
03:12 PM
I think the issue you may be having is that a 32bit installer cannot drop files into Program Files, on a 64bit machine. Also, a 64bit installer can drop files to both Program Files directories, but will not run on a 32bit machine. I was able to resolve this on one of my projects in a not very elegant manner. Which was to write a utility that was able to install things into Program Files on 64bit machines on behalf of the 32bit installer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 26, 2012
03:20 PM
Thanks for your reply. sorry that i did not make myself clear in my post. i'm thinking of writing two versions of the 32-bit application, one uses registry to store values, which was what I have right now, and the other is going to create a text file in appdata directory to store values, which I think might be useful for windows 7 64bit users.
is it possible to create package that would install the two different applications according to the OS? thanks!
is it possible to create package that would install the two different applications according to the OS? thanks!
DanCla wrote:
I think the issue you may be having is that a 32bit installer cannot drop files into Program Files, on a 64bit machine. Also, a 64bit installer can drop files to both Program Files directories, but will not run on a 32bit machine. I was able to resolve this on one of my projects in a not very elegant manner. Which was to write a utility that was able to install things into Program Files on 64bit machines on behalf of the 32bit installer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2012
05:32 AM
You should check the property VersionNT64.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2012
07:19 AM
create two compenents with executables for different opperating systems and at component level use the condition VersionNT64<>"1" for one and versionnt64="1" in onether
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2012
09:02 AM
Chandinathreddy and Matthias1967, thanks a lot for your replies!
CHANDINATHREDDY wrote:
create two compenents with executables for different opperating systems and at component level use the condition VersionNT64<>"1" for one and versionnt64="1" in onether
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)