0 0

Silent install PiFarma

Powershell:

#Install Adobe
$ProgressPreference = "SilentlyContinue"
Invoke-WebRequest -Uri https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1900820071/AcroRdrDC1900820071_nl_NL.exe -OutFile C:\Users\Public\Downloads\Adobe.exe
C:\Users\Public\Downloads\Adobe.exe /sAll /rs /msi EULA_ACCEPT=YES /L*v C:\Windows\Logs\AdobeReaderInstall.log
#Install PdfRouter
Invoke-WebRequest -Uri https://sector.nl/pifarma/pdfrouter.msi -OutFile C:\Users\Public\Downloads\pdfrouter.msi
msiexec.exe /i "C:\Users\Public\Downloads\pdfrouter.msi" /qb
#Install DisplayFusion
Invoke-WebRequest -Uri https://binaryfortressdownloads.com/Download/BFSFiles/101/DisplayFusionMSI-9.9.zip -OutFile C:\Users\Public\Downloads\DisplayFusionMSI-9.9.zip
Expand-Archive -LiteralPath 'C:\Users\Public\Downloads\DisplayFusionMSI-9.9.zip' -DestinationPath C:\Users\Public\Downloads
msiexec.exe /i "C:\Users\Public\Downloads\DisplayFusionSetup-9.9.msi" /qn CUSTOM1="/VERYSILENT" LAUNCHAFTER=0 LKEYALL="101-02-SDBCN2A35B-RBYNX2FE9A-zyd03mTZJQduD17fzXmsrSUv1sLcldA9AfpB8G03or0OATYWilInMx5pn6PNMGzgFAJlMSBueXDK8MaOURtqguPcGGMlq95NKmA9FpG7g6NKyLkRAne1KD9A_t44_RZSsJxT8LqroZwFcFvYEv7yWMHVf1Hb5JYmdqPq6RfKxhMHaBjYnL6KDHt9VR24VP4eLjnbbdMsxsTW8USb3VS0NmqYkCXBwIUu0oO1pJTNoI0=" STARTUPALL=1 STARTUPUSER=0
#Associate .pdf
cmd.exe /c assoc .pdf=pdfrouter
cmd.exe /c 'ftype pdfrouter="C:\Program Files (x86)\PI-Farma B.V\PdfRouter\pdfrouter.exe" "%1"'
#Install Pi-Farma Chrome Extension
cmd.exe /c "reg add HKLM\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist /v 1 /t REG_SZ /d mlddkepjnkhgdfiibecjfmjccnnelgpl /f"

Config Keizerslanden:
$ProgressPreference = "SilentlyContinue"
Invoke-WebRequest -Uri https://sector.nl/pifarma/pdfrouter.keizerslanden -OutFile "C:\Program Files (x86)\PI-Farma B.V\PdfRouter\pdfrouter.exe.config"

Config Meindersma:
$ProgressPreference = "SilentlyContinue"
Invoke-WebRequest -Uri https://sector.nl/pifarma/pdfrouter.meindersma -OutFile "C:\Program Files (x86)\PI-Farma B.V\PdfRouter\pdfrouter.exe.config"

Config Zandweerd:
$ProgressPreference = "SilentlyContinue"
Invoke-WebRequest -Uri https://sector.nl/pifarma/pdfrouter.zandweerd -OutFile "C:\Program Files (x86)\PI-Farma B.V\PdfRouter\pdfrouter.exe.config"

Install Adobe Reader DC:

$ProgressPreference = "SilentlyContinue"
Invoke-WebRequest -Uri https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1900820071/AcroRdrDC1900820071_nl_NL.exe -OutFile C:\Users\Public\Downloads\Adobe.exe
C:\Users\Public\Downloads\Adobe.exe /sAll /rs /msi EULA_ACCEPT=YES /L*v C:\Windows\Logs\AdobeReaderInstall.log

Install and associate PdfRouter:
$ProgressPreference = "SilentlyContinue"
Invoke-WebRequest -Uri https://sector.nl/pifarma/pdfrouter.msi -OutFile C:\Users\Public\Downloads\pdfrouter.msi
msiexec.exe /i "C:\Users\Public\Downloads\pdfrouter.msi" /qb
Start-Sleep -s 60
cmd.exe /c assoc .pdf=pdfrouter
cmd.exe /c 'ftype pdfrouter="C:\Program Files (x86)\PI-Farma B.V\PdfRouter\pdfrouter.exe" "%1"'

Install DisplayFusion
$ProgressPreference = "SilentlyContinue"
Invoke-WebRequest -Uri https://binaryfortressdownloads.com/Download/BFSFiles/101/DisplayFusionMSI-11.1.1c.zip -OutFile C:\Users\Public\Downloads\DisplayFusionMSI-11.1.1c.zip
Expand-Archive -LiteralPath 'C:\Users\Public\Downloads\DisplayFusionMSI-11.1.1c.zip' -DestinationPath C:\Users\Public\Downloads -Force
msiexec.exe /i "C:\Users\Public\Downloads\DisplayFusionSetup-11.1.1.msi" /qn CUSTOM1="/VERYSILENT" LAUNCHAFTER=0 LKEYALL="101-02-SDBCN2A35B-RBYNX2FE9A-zyd03mTZJQduD17fzXmsrSUv1sLcldA9AfpB8G03or0OATYWilInMx5pn6PNMGzgFAJlMSBueXDK8MaOURtqguPcGGMlq95NKmA9FpG7g6NKyLkRAne1KD9A_t44_RZSsJxT8LqroZwFcFvYEv7yWMHVf1Hb5JYmdqPq6RfKxhMHaBjYnL6KDHt9VR24VP4eLjnbbdMsxsTW8USb3VS0NmqYkCXBwIUu0oO1pJTNoI0=" STARTUPALL=1 STARTUPUSER=0

Install PiFarma Chrome Extentie:
cmd.exe /c "reg add HKLM\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist /v 1 /t REG_SZ /d mlddkepjnkhgdfiibecjfmjccnnelgpl /f"