I wrote a batch file to check to see if a file exists and if so to remove the software and if not to install a newer version. I was only checking the Program Files x86 on 64 bit computer but now I need to check Program Files on 36 bit computers and I'm not quite sure how to go about it. Here is what have. REM Uninstall 7.1
If NOT exist "C:\Program Files (x86)\IGC\Brava! Reader\BravaReader.exe" Goto BravaReader7.1.1.11
"C:\temp\brava_reader_71\bravareader.exe" /uninst /s /f1"C:\temp\brava_reader_71\Un-Install_Brava_Reader_71.iss"
REM =====================================================================
:BravaReader7.1.1.11
REM Install 7.1.1.11
"C:\temp\Brava_Reader_7_1_1_11\bravareader.exe" /s /f1"C:\temp\Brava_Reader_7_1_1_11\Install_71_setup.iss"
SET pf=%programFiles% IF DEFINED programFiles(x86) SET pf=%programFiles(x86)% ECHO %pf%
