set InstallRevision=1.0
set TargetDir="%ProgramFiles%\Program Name"

REM Check to see if the software has been installed. Check for both 32 and 64 bit platforms.
if exist "%ProgramFiles(x86)%\Program Name" set TargetDir=%ProgramFiles(x86)%\Program Name"
if exist "%TargetDir%\%InstallRevision.txt" goto Finish


"\\FILESERVER01\Software\something.exe -quiet"
goto Finish

:Finish

echo %InstallRevision% > "%TargetDir%\%InstallRevision%.txt"
goto Finish

:Finish
EXIT