Office 32 and 64 bit managed installation
I'm trying to setup a managed installation for Office 2013 and am having trouble getting the 64 bit installer to launch. I have the managed installation set to run a batch file that has this in it:
if %PROCESSOR_ARCHITECTURE%==x86 32\setup.exe /adminfile 32\upgrade.msp if %PROCESSOR_ARCHITECTURE%==AMD64 64\setup.exe /adminfile 64\upgrade.msp
This works for the 32 bit computer but the 64 bit computer tries running the 32 bit installer which fails. I also tried 'if exist "C:\Program Files (x86)"' but that didn't help either. I don't understand why this doesn't work. This is the first time I've tried a managed installation that had two seperate installers for the different architectures so maybe I'm going about this the wrong way. Any help is appreciated.
SDNBTP's suggestion solved the problem