Jump to content

32/64bit installer


Recommended Posts

I have done some searching but not found the answer I am looking for, I am a bit of a noob so bear with me

Is there a way to have a different installer run for a 32 or 64 bit operating system.

for example

IF /i %PROCESSOR_ARCHITECTURE%==AMD64

cmds[pn]=['%CDROM%\\Apps\\\setup64.exe /qn'];

ELSE

cmds[pn]=['%CDROM%\\Apps\\setup.exe /qn'];

is it even possible to put expressions round the installer parameters? or am I barking up the wrong tree?

or are you supposed to split the config file into 2 parts, 1 for 32 bit and 1 for 64bit.

I haven't found many examples of the use of the above expression.

Cheers,

Rich

Link to comment
Share on other sites


There is a way to check if on a 64bit system, but you need to do some checking.

getmshtaBits()==64 WPI started on a 64bit computer AND using the 64bit MSHTA.exe

getBits()==64 Computer is 32/64bits. Not necessarily need to check MSHTA.exe

There is no if/else way to do it. Have to use Conditions and may have to make 2 entries, 1 for 32 and 1 for 64 bit, do check and exclude the other.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...