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: Add Redistributable Package with condition
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 26, 2017
12:10 PM
Add Redistributable Package with condition
I have InstallScript MSI project with two releases, one for 32-bit and another for 64-bit.
I need to add MS Visual C++ Redistributable Package (x86) for 32-bit and (x64) for 64-bit release.
How to add condition which Redistributable Package to add for each release?
Thanks,
Yuri
I need to add MS Visual C++ Redistributable Package (x86) for 32-bit and (x64) for 64-bit release.
How to add condition which Redistributable Package to add for each release?
Thanks,
Yuri
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2017
09:24 AM
One way is you can use the VersionNT64 property as a Condition to determine which bitness you are running on and it will fire the correct one. The VersionNT64 is only set on a 64-bit OS. The other VerionNT is set on both 32-bit and 64-bit so not as handy for telling one from the other.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa372497(v=vs.85).aspx
Chad
https://msdn.microsoft.com/en-us/library/windows/desktop/aa372497(v=vs.85).aspx
Chad
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2017
10:38 AM
Thanks Chad for reply.
That is not an option for us.
32-bit installer can be targeted for 64-bit machines.
-Yuri
That is not an option for us.
32-bit installer can be targeted for 64-bit machines.
-Yuri
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2017
11:44 AM
Open up the PRQ files for each redistributable package in the Prerequisite Editor and go to the Conditions tab and see what they are currently set to. It is possible to Modify any existing Conditions or add others. If you click on Add and then choose the radio button named "Setup is running on a specified platform" then you can tailor it to run under any number of other conditions and you can Add as many Conditions are you need here.
The dropdown list has choices for all the OSes that are supported in both bitness. You can hopefully come up with a combination that suits your needs. Everyone seems to have different needs that each other so this is fairly flexible.
Chad
The dropdown list has choices for all the OSes that are supported in both bitness. You can hopefully come up with a combination that suits your needs. Everyone seems to have different needs that each other so this is fairly flexible.
Chad
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)