PDFCreator for WPKG on iPasserelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.7 KiB

13 years ago
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="pdfcreator"
name="Imprimante virtuelle PDFCreator"
9 years ago
revision="21"
13 years ago
reboot="false"
priority="10">
9 years ago
<variable name="PKG_VERSION" value='2.2.0' />
<variable name="EXE_PATH" value='PDFCreator-2_2_0-setup.exe' />
13 years ago
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\PDFCreator" />
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\PDFCreator" />
<check type="uninstall" condition="versiongreaterorequal" path="PDFCreator" value="%PKG_VERSION%" />
<install include="remove" />
13 years ago
<install cmd='%COMSPEC% /C sc config "Spooler" start= auto' />
<install cmd='%COMSPEC% /C sc start "Spooler" 1>NUL 2>NUL'>
<exit code="any" />
</install>
<install cmd='%SOFTWARE%\pdfcreator\%EXE_PATH% /LOADINF="%SOFTWARE%\pdfcreator\setup.inf" /NOCANCEL /VERYSILENT /NORESTART /SP-' >
<exit code='0' />
<exit code='-100' />
</install>
13 years ago
<install cmd='%COMSPEC% /C REG ADD "HKLM\SOFTWARE\PDFCreator\Program" /v "UpdateInterval" /t REG_SZ /d "0" /f' />
<upgrade include='install' />
<downgrade include="install" />
<remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%\unins000.exe" "%INSTALL_PATH%\unins000.exe" /VERYSILENT' />
<remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%\unins001.exe" "%INSTALL_PATH%\unins001.exe" /VERYSILENT' />
<remove cmd='%COMSPEC% /C ping -n 1 127.0.0.1 1>NUL 2>NUL' />
13 years ago
<remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%" rmdir /S /Q "%INSTALL_PATH%"'/>
</package>
</packages>