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
Page 1 of 1
32/64bit installer
#2
Posted 11 January 2009 - 12:35 PM
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.
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.
#3
Posted 11 January 2009 - 04:49 PM
ok thanks. Are there any plans to expand on this?
Rich
Rich
#4
Posted 12 January 2009 - 07:17 AM
Ignore me, I didn't realise that the app wouldn't be shown on the main page if the conditions weren't met.
lovely stuff,
Rich
lovely stuff,
Rich
Share this topic:
Page 1 of 1



Help
Back to top








