+ Reply to Thread
Results 1 to 5 of 5

Thread: if 64bit OS run A else run B

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default if 64bit OS run A else run B

    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

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: if 64bit OS run A else run B

    David,

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

    Does this help?

    Friedrich
    Attached Images Attached Images  

  3. #3

    Default Re: if 64bit OS run A else run B

    yes that helps. thanks. Sample of my script attached. This does not appear to fun the required MSIs. Can you see why?
    Attached Images Attached Images  

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: if 64bit OS run A else run B

    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

  5. #5
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: if 64bit OS run A else run B

    All running now. Thanks for the update, David!!

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •