I am new to InstallAware and I am in the process of evaluating the product so I and trying to convert one of my installs built with InstallShield 12 to IA 7.
I have added all the files and I am now looking at custom actions. Some of them are simple exe calls with parameters. But I need to know how to call one of these files it the OS is a 32 bit system and one if the OS is a 64 bit system.
What would the if statement look like for these?
Thanks,
If statement format for calling executables depending on OS
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
You'd first call Get System Settings and capture the 64 bit state into a variable.
Then you'd do an If..Else..End block, testing for this variable, and call Run Program inside the appropriate block for each program you want to run.
Of course, you can also do anything else inside the If block, such as Install Files, etc...InstallAware can actually let your MSI's execution branch out at runtime!
Then you'd do an If..Else..End block, testing for this variable, and call Run Program inside the appropriate block for each program you want to run.
Of course, you can also do anything else inside the If block, such as Install Files, etc...InstallAware can actually let your MSI's execution branch out at runtime!
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 93 guests