Kaseya Community

Determine OS is 32-bit or 64-bit

  • Hi,

    I need to run a script which decides whether the workstation is 32 or 64 bit O/S of XP. Once that is done it will execute 32bit or 64bit version of the application.

    Anyone have any ideas?
    Thanks,
    Graham

    Legacy Forum Name: Determine OS is 32-bit or 64-bit,
    Legacy Posted By Username: grahammay
  • Graham,



    Take a look at this thread

    http://community.kaseya.com/xsp/f/28/t/5845.aspx



    You put the IF statement at the benginning of Srcipt 1, which then calls other scripts, depending on 32 or 64.



    Lloyd

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: lwolf
  • Thanks Llyod,

    I used:

    ==================
    IF CheckVariable
    #vMachine.OsInfo#
    CONTAINS
    x64
    ==================

    which works a treat.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: grahammay
  • Great. Glad it worked for you!

    Lloyd

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: lwolf