Difference between revisions of "CDBurnerXP"
From WPKG | Open Source Software Deployment and Distribution
m (moved CDBurnerXPPro to CDBurnerXP: Product is called CDBurnerXP) |
|
(No difference)
|
Revision as of 14:07, 26 March 2014
This is a silent installer and uninstaller for CDBurnerXP Pro.
CDBurnerXP: A free CD burning tool
CDBurnerXP 4.4.1
- added a Windows 32/64 Bit Check
- the upgrade command is untested
- more deploying information on http://cdburnerxp.se/help/kb/13
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="cdburner"
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>
</packages>
CDBurnerXP 4
To install CDBurnerXP with default settings, use this package.
<?xml version="1.0" encoding="utf-8" ?>
<packages>
<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>
</packages>
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.
<?xml version="1.0" encoding="utf-8" ?>
<packages>
<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>
</packages>
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
CDBurnerXP Pro 3
<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>