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
- :
- Launch Conditions and Release Configurations
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
Oct 18, 2010
09:15 AM
Launch Conditions and Release Configurations
Hi all,
We have a 32 and 64 bit version of our install built from one .ism project. We want to prevent the use of the 32 bit version on 64 bit machines. Is there a way to set launch conditions in the Releases view?
We are wrapping the .msi in a setup launcher.
If not, could I simply pass a property, MYPROPERTY="32bit" in the releases view, Setup.exe tab of the 32 bit configuration? Then, in the install guts itself, set a launch condition of NOT (VersionNT64 and MYPROPERTY). Then, on a 64 bit system, the 32 bit install would have 32bit passed to it and a message displayed to use the 64 bit installation.
Any guidance would be greatly appreciated!!
We have a 32 and 64 bit version of our install built from one .ism project. We want to prevent the use of the 32 bit version on 64 bit machines. Is there a way to set launch conditions in the Releases view?
We are wrapping the .msi in a setup launcher.
If not, could I simply pass a property, MYPROPERTY="32bit" in the releases view, Setup.exe tab of the 32 bit configuration? Then, in the install guts itself, set a launch condition of NOT (VersionNT64 and MYPROPERTY). Then, on a 64 bit system, the 32 bit install would have 32bit passed to it and a message displayed to use the 64 bit installation.
Any guidance would be greatly appreciated!!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 25, 2010
12:37 PM
I have the same requirement for my 32 bit/64 bit installs. What I do is add a Preprocessor Define (X86) in my 32 bit install release. Then I created an Installscript custom action with a condition of "VersionNT64." Inside the function it calls I use "#ifdef X86," pop up a message box and abort.