programfiles variable 32-bit vs 64-bit app trigger
Posted: Mon Feb 06, 2012 7:53 pm
We install 7.xx with following command line
novapv.exe /VERYSILENT /SUPPRESSMSGBOXES /NOCANCEL /NORESTART /PrinterName="PrinterName" /OEMApplication="Application" /OEMCompany="ABC, Inc." /OEMSaveFolder="#temp#" /OEMActionApp="#programfiles#\ABC\MyPrinter\PrinterSave.exe"
Our application PrinterSave.exe is 32-bit.
Above combination works fine for 32-bit PC.
If PC is 64-bit PC then the %programfiles% variable points to the 64-bit program files (C:\Program Files\) when in-fact it should be pointing to %programfiles(x86)% (C:\Program Files (x86)). I cannot use %programfiles(x86)% variable on a 32-bit PC as it does not exist.
So question is how do I change the novaPDF install so it can find the C:\Program Files\ folder on 32-bit PC and C:\Program Files(x86)\ folder on 64-bit PC for a 32-bit app.
novapv.exe /VERYSILENT /SUPPRESSMSGBOXES /NOCANCEL /NORESTART /PrinterName="PrinterName" /OEMApplication="Application" /OEMCompany="ABC, Inc." /OEMSaveFolder="#temp#" /OEMActionApp="#programfiles#\ABC\MyPrinter\PrinterSave.exe"
Our application PrinterSave.exe is 32-bit.
Above combination works fine for 32-bit PC.
If PC is 64-bit PC then the %programfiles% variable points to the 64-bit program files (C:\Program Files\) when in-fact it should be pointing to %programfiles(x86)% (C:\Program Files (x86)). I cannot use %programfiles(x86)% variable on a 32-bit PC as it does not exist.
So question is how do I change the novaPDF install so it can find the C:\Program Files\ folder on 32-bit PC and C:\Program Files(x86)\ folder on 64-bit PC for a 32-bit app.