PDA

View Full Version : if 64bit OS run A else run B



davidb
01-25-2015, 09:12 PM
My app requires a MS SQL ODBC msi to be run during the install. This MSI comes in two versions; one for x86 and one for x64. In the script how do i optionally install based on system architecture?
I found PROCESSOR_ARCHITECTURE in the help files but cannot find a way to use it in the script. It doesn't appear to be a variable in the Get System Info function

linder
01-26-2015, 12:40 AM
David,

You can use "Get System Info (WOW64 Status)". See attached screenshot.

Does this help?

Friedrich

davidb
01-26-2015, 02:55 AM
yes that helps. thanks. Sample of my script attached. This does not appear to fun the required MSIs. Can you see why?

linder
01-30-2015, 07:42 AM
Sorry, I missed your message :(

Don't use the "Run Program..." function but "Run Windows Installer (.msi)..." instead. This will pass the correct parameters to the .msi file.

Friedrich

linder
02-01-2015, 05:18 AM
All running now. Thanks for the update, David!!

Friedrich