ConfigMgr: PDFCreator 2.1.1 bereitstellen

Ähnlich wie die Bereitstellung der Version 2.0.2 sieht die Bereistellung von Version 2.1.1 aus:

<appdefinition>
<file>PDFCreator-2_1_1-setup.exe</file>
<hash type="SHA256">F0FF2B376E965E70587E95EB5D1C03B09CCF1C880D69A4B079F43D1A0B1CB561</hash>
<info>
	<company>pdfforge GbR</company>
	<productversion>2.1.1</productversion>
	<setupType>InnoSetup</setupType>
	<isX86>false</isX86>
	<hasUninstall>true</hasUninstall>
</info>
<install>
$inf=Join-Path $env:temp pdf.inf
$target=Join-path $env:programfiles "PDFCreator"
$content="[Setup]
Lang=German
Dir=$target
Group=PDFCreator
NoIcons=0
SetupType=custom
Components=program,images2pdf
Tasks=winexplorer
Printername=PDFCreator" -replace "`n", "`r`n"
Out-File -FilePath $inf -Force -InputObject $content -Encoding ascii
$nsisLog=join-path $logDirectory ($installName + '_' + $appDeployToolkitName + '_' + $deploymentType + '_NSIS.log')
Show-InstallationProgress -StatusMessage "Installing $appName $appVersion. This may take some time. Please wait..."
Execute-Process -Path "PDFCreator-2_1_1-setup.exe" -Parameters "/LOADINF=`"$inf`" /NORESTART /LOG /VERYSILENT /SUPPRESSMSGBOXES /LOG=`"$nsisLog`"" -WindowStyle Hidden
</install>
<uninstall/>
<detection/>
</appdefinition>
This entry was posted in Configuration Manager, Deutsch, Powershell, SCOM2Nagios and tagged . Bookmark the permalink.