Difference between revisions of "CDBurnerXP"
From WPKG | Open Source Software Deployment and Distribution
(fixed Windows 32/64 Bit Checks) |
m (→Version 4.5.*) |
||
Line 23: | Line 23: | ||
</check> | </check> | ||
− | <install cmd='"%SOFTWARE%\ | + | <install cmd='"%SOFTWARE%\CDBurnerXP\cdbxp_setup_%version%.exe" /verysilent ALLUSERS=1' /> |
<!--install cmd='CMD /c del "%ALLUSERSPROFILE%\Desktop\CDBurnerXP.lnk"' /--> | <!--install cmd='CMD /c del "%ALLUSERSPROFILE%\Desktop\CDBurnerXP.lnk"' /--> | ||
− | <upgrade cmd='"%SOFTWARE%\ | + | <upgrade cmd='"%SOFTWARE%\CDBurnerXP\cdbxp_setup_%version%.exe" /verysilent ALLUSERS=1' /> |
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\CDBurnerXP\unins000.exe" "%PROGRAMFILES(x86)%\CDBurnerXP\unins000.exe" /VERYSILENT'/> | <remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\CDBurnerXP\unins000.exe" "%PROGRAMFILES(x86)%\CDBurnerXP\unins000.exe" /VERYSILENT'/> |
Revision as of 14:21, 26 March 2014
This is a silent installer and uninstaller for CDBurnerXP Pro.
CDBurnerXP: A free CD burning tool. For more deploying information visit [1].
Version 4.5.*
- fixed Windows 32/64 Bit Checks
- the upgrade command is still untested
<package
id="cdburnerxp"
name="CDBurnerXP"
revision="%version%"
reboot="false"
priority="10">
<variable name="version" value="4.5.3.4643" />
<check type="logical" condition="or">
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\CDBurnerXP\cdbxpp.exe" value="%version%" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(x86)%\CDBurnerXP\cdbxpp.exe" value="%version%" />
</check>
<install cmd='"%SOFTWARE%\CDBurnerXP\cdbxp_setup_%version%.exe" /verysilent ALLUSERS=1' />
<!--install cmd='CMD /c del "%ALLUSERSPROFILE%\Desktop\CDBurnerXP.lnk"' /-->
<upgrade cmd='"%SOFTWARE%\CDBurnerXP\cdbxp_setup_%version%.exe" /verysilent ALLUSERS=1' />
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\CDBurnerXP\unins000.exe" "%PROGRAMFILES(x86)%\CDBurnerXP\unins000.exe" /VERYSILENT'/>
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\CDBurnerXP\unins000.exe" "%PROGRAMFILES%\CDBurnerXP\unins000.exe" /VERYSILENT'/>
</package>
Version 4.4.1
- added a Windows 32/64 Bit Check
- the upgrade command is untested
<package
id="cdburnerxp"
name="CDBurnerXP"
revision="6"
reboot="false"
priority="1">
<variable name="version" value="4.4.1.3243" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\CDBurnerXP\cdbxpp.exe" value="%version%" />
<install cmd='"%SOFTWARE%\cdburner\cdbxp_setup_%version%.exe" /verysilent ALLUSERS=1' />
<install cmd='CMD /c del "%ALLUSERSPROFILE%\Desktop\CDBurnerXP.lnk"' />
<upgrade cmd='"%SOFTWARE%\cdburner\cdbxp_setup_%version%.exe" /verysilent ALLUSERS=1' />
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\CDBurnerXP\unins000.exe" "%PROGRAMFILES(x86)%\CDBurnerXP\unins000.exe" /VERYSILENT'/>
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\CDBurnerXP\unins000.exe" "%PROGRAMFILES%\CDBurnerXP\unins000.exe" /VERYSILENT'/>
</package>
Version 4.3.2
To install CDBurnerXP with default settings, use this package.
<package
id="cdburnerxp"
name="CDBurnerXP 4.3.2"
revision="432"
reboot="false"
priority="0">
<check type="logical" condition="and">
<check type="uninstall" condition="exists" path="CDBurnerXP" />
<check type='file' condition='versiongreaterorequal' path='%ProgramFiles%\CDBurnerXP\cdbxpp.exe' value='4.3.2.2140' />
</check>
<install cmd='"%SOFTWARE%\cdburnerxp\cdbxp_setup_4.3.2.2140.exe" /verysilent ALLUSERS=1' />
<install cmd='CMD /c del "%ALLUSERSPROFILE%\Desktop\CDBurnerXP.lnk"' />
<remove cmd='"%programfiles%\CDBurnerXP\unins000.exe" /VERYSILENT' />
</package>
You can also install CDBurnerXP with an installation config file to specify more settings. Here is the cdburnerxp.xml package using a default.cfg file.
<package
id="cdburnerxp"
name="CDBurnerXP 4.3.2"
revision="432"
reboot="false"
priority="0">
<check type="logical" condition="and">
<check type="uninstall" condition="exists" path="CDBurnerXP" />
<check type='file' condition='versiongreaterorequal' path='%ProgramFiles%\CDBurnerXP\cdbxpp.exe' value='4.3.2.2140' />
</check>
<install cmd='"%SOFTWARE%\cdburnerxp\cdbxp_setup_4.3.2.2140.exe" /verysilent ALLUSERS=1 /LOADINF="%SOFTWARE%\cdburnerxp\default.cfg"' />
<install cmd='CMD /c del "%ALLUSERSPROFILE%\Desktop\CDBurnerXP.lnk"' />
<upgrade cmd='"%SOFTWARE%\cdburnerxp\cdbxp_setup_4.3.2.2140.exe" /verysilent ALLUSERS=1 /LOADINF="%SOFTWARE%\cdburnerxp\default.cfg"' />
<upgrade cmd='CMD /c del "%ALLUSERSPROFILE%\Desktop\CDBurnerXP.lnk"' />
<remove cmd='"%programfiles%\CDBurnerXP\unins000.exe" /VERYSILENT' />
</package>
To create the required default.cfg (which contains the answers given at installation) use the following arguments to the installer:
cdbxp_setup_4.0.015.277.exe /SAVEINF=default.cfg
Version 3 Pro
<package
id="cdburnerxppro"
name="CDBurnerXP Pro 3"
revision="116"
reboot="false"
priority="0">
<check type="file" condition="exists" path="%PROGRAMFILES%\CDBurnerXP Pro 3\cdbxp.exe" />
<install cmd='msiexec /i "%SOFTWARE%\CDBurnerXPPro\CDBurnerXP Pro 3.msi" /qb ALLUSERS=1' />
<remove cmd='MsiExec.exe /q /x{896D642C-7125-44F0-AC49-A23ABF82209C}' />
</package>