richy759 Posted January 11, 2009 Posted January 11, 2009 I have done some searching but not found the answer I am looking for, I am a bit of a noob so bear with meIs there a way to have a different installer run for a 32 or 64 bit operating system.for exampleIF /i %PROCESSOR_ARCHITECTURE%==AMD64cmds[pn]=['%CDROM%\\Apps\\\setup64.exe /qn'];ELSEcmds[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
mritter Posted January 11, 2009 Posted January 11, 2009 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.exegetBits()==64 Computer is 32/64bits. Not necessarily need to check MSHTA.exeThere 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.
richy759 Posted January 11, 2009 Author Posted January 11, 2009 ok thanks. Are there any plans to expand on this?Rich
richy759 Posted January 12, 2009 Author Posted January 12, 2009 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now