From ea7682099b09fb358732f1123f24169678c2d0b8 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 29 May 2022 21:41:26 +0200 Subject: [PATCH] script for foxit reader --- optional/config/install-foxitreader.txt | 9 +++++++++ optional/install-foxitreader.cmd | 25 +++++++++++++++++++++++++ software/optional.csv | 1 + 3 files changed, 35 insertions(+) create mode 100644 optional/config/install-foxitreader.txt create mode 100644 optional/install-foxitreader.cmd diff --git a/optional/config/install-foxitreader.txt b/optional/config/install-foxitreader.txt new file mode 100644 index 0000000..af393db --- /dev/null +++ b/optional/config/install-foxitreader.txt @@ -0,0 +1,9 @@ +[Setup] +Lang=en +Dir=C:\Program Files (x86)\Foxit Software\Foxit PDF Reader +Group=Foxit PDF Reader +NoIcons=0 +SetupType=custom +Components=pdfviewer,ffse,ffaddin +Tasks=startmenufolder,setdefaultreader + diff --git a/optional/install-foxitreader.cmd b/optional/install-foxitreader.cmd new file mode 100644 index 0000000..4a284e7 --- /dev/null +++ b/optional/install-foxitreader.cmd @@ -0,0 +1,25 @@ +@echo off + +set CONFIG=config\install-foxitreader.txt +set EXE=..\software\foxitreader-setup.exe + +if NOT EXIST %EXE% ( + echo ERROR: %EXE% not found! + exit /b +) + +echo ####### %0 ####### + +echo killing Foxit Reader process ... +taskkill /F /IM FoxitPDFReader.exe 2>nul +taskkill /F /IM FoxitPDFReaderUpdateService.exe 2>nul + +echo installing Foxit Reader ... +start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS + +rem refresh desktop (W10 style) +ie4uinit.exe -show + +echo ####### %0 ####### +pause + diff --git a/software/optional.csv b/software/optional.csv index 6943628..8f00cc6 100644 --- a/software/optional.csv +++ b/software/optional.csv @@ -31,4 +31,5 @@ https://updates.tdesktop.com/tx64/tsetup-x64.3.7.3.exe telegram-setup.exe https://www.sharemouse.com/ShareMouseSetup.exe sharemouse-setup.exe https://download01.logi.com/web/ftp/pub/techsupport/options/options_installer.exe logitechoptions-setup.exe https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.51.1/KeePass-2.51.1-Setup.exe/download?use_mirror=netcologne# keepass2-setup.exe +https://cdn01.foxitsoftware.com/product/reader/desktop/win/11.2.2/FoxitPDFReader1122_enu_Setup_Prom.exe foxitreader-setup.exe