For some reason OCR does not uninstall from the PC when using a similar process...
START "" "\\INSTALLER\Everyone\Laserfiche Rio 10.1.1.254\en\Client\Setup.exe" -silent REMOVE=ALL
PING -n 240 127.0.0.1>nul
%SYSTEMROOT%\System32\taskkill.exe /f /im Setup.exe
START "" "\\INSTALLER\Everyone\Laserfiche Rio 10.4.3\en\WindowsClient\SetupLf.exe" -silent REMOVE=ALL
PING -n 240 127.0.0.1>nul
%SYSTEMROOT%\System32\taskkill.exe /f /im SetupLf.exe
The Laserfiche Client uninstalls, but leaves behind the OCR program and the EXE in either of these locations here:
"C:\Program Files (x86)\Common Files\Laserfiche\OmniPageOCR 18.5\Setup.exe" /odll /remove
"C:\Program Files (x86)\Common Files\Laserfiche\OmniPageOCR 18.5\Setup.exe"
"C:\Program Files (x86)\Common Files\Laserfiche\OmniPageOCR 19.2\SetupLf.exe"
Silent uninstall does not seem to work on these EXE's.
Note: The use of the start, ping, and taskkill method is to handle situations where a PC has another version installed or the uninstall hangs. This method and the other method produce the same results with OCR remaining behind.
START "" "\\coa.cityofalbany.net\install\Everyone\Laserfiche Rio 10.4.3\en\WindowsClient\SetupLf.exe" -silent REMOVE=ALL
PING -n 120 127.0.0.1>nul
%SYSTEMROOT%\System32\taskkill.exe /f /im SetupLf.exe