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
- :
- Using SYSINFO.bIsWow64 in button behavoir 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
Feb 28, 2008
12:21 AM
Using SYSINFO.bIsWow64 in button behavoir conditions
I'm using a Basic MSI project. My installer UI goes to separate branches according to if the OS is 32bit or 64bit. So in the DestinationFolder Dialog, I set the Next button behavior as:
Event Argument Condition
NewDialog SetupType SYSINFO.bIsWow64 = FALSE
NewDialog SetupTypeVista64 SYSINFO.bIsWow64 = TRUE
(SetupTypeVista64 is my setup type dialog for Vista64, SetupType is the setup type dialog for 32bit system)
But when I ran my installer on a 32bit XP OS, it also goes to the 64bit SetupType Dialog, it seems the condition doesn't work.
Event Argument Condition
NewDialog SetupType SYSINFO.bIsWow64 = FALSE
NewDialog SetupTypeVista64 SYSINFO.bIsWow64 = TRUE
(SetupTypeVista64 is my setup type dialog for Vista64, SetupType is the setup type dialog for 32bit system)
But when I ran my installer on a 32bit XP OS, it also goes to the 64bit SetupType Dialog, it seems the condition doesn't work.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 28, 2008
10:32 AM
It sounds like you're trying to use an InstallScript object/variable name in a Windows Installer condition; they're not available there. You'll instead want to use an MSI property. In this case VersionNT64 and NOT VersionNT64 are probably what you'll want to use.