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
- :
- cutom actions, events, conditions
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
‎Nov 13, 2009
10:20 AM
cutom actions, events, conditions
I need to finish this installer ASAP. My only problem is using conditional logic in installshield. I have a Basic MSI project which must use different sets of components based on whether the OS is 32-bit or 64-bit. Does any one know the best way to implement this.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 13, 2009
10:36 PM
The best way I can think of is using installscript. I don't think a basic MSI will allow custom components and installations based on the OS.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 16, 2009
07:29 AM
Actually, yes it can. You can use the Windows Installer pre-set properties in the condition of the components to control this. You might want to take at look at Microsoft's documentation on the VersionNT and VersionNT64 properties.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 16, 2009
07:39 AM
If you need to be even more specific and use an X64 processor and not to include alpha processors then you can use the Msix64 property instead. (e.g. Msix64 or not Msix64)
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)