CDBurnerXP

From WPKG | Open Source Software Deployment and Distribution
Revision as of 06:53, 8 October 2008 by 130.236.169.165 (Talk)

Jump to: navigation, search

This is a silent installer and uninstaller for CDBurnerXP Pro.

CDBurnerXP Pro: A free CD burning tool

CDBurnerXP 4

<?xml version="1.0" encoding="utf-8" ?>

<package 
	id="cdburnerxp"
	name="CDBurnerXP"
	revision="2" 
	reboot="false" 
	priority="35"
>
<check type="logical" condition="and">
	<check type="uninstall" condition="exists" path="CDBurnerXP" />
	<check type='file' condition='versiongreaterorequal' path='%ProgramFiles%\CDBurnerXP\cdbxpp.exe' value='4.2.2.984' />
</check>

	<install cmd='"%PACKAGES%\cdburnerxp\cdbxp_setup_4.2.2.984.exe" /verysilent ALLUSERS=1' />
	<install cmd='CMD /c del "%ALLUSERSPROFILE%\Desktop\CDBurnerXP.lnk"' />
	<remove cmd='"%programfiles%\CDBurnerXP\unins000.exe" /VERYSILENT' />
</package>



<packages>

<package id='CDBurnerXP' name='CDBurnerXP' revision='40015' priority='50' reboot='false' >
  <!-- CD Burner XP 4.0.015.277 -->
  <check type='uninstall' condition='exists' path='CDBurnerXP' />
  <install cmd='cmd /C copy /Y "%SOFTWARE%\CDBurnerXP v.4.0.015.277\default.cfg" "%TEMP%"' />
  <install cmd='"%SOFTWARE%\CDBurnerXP v.4.0.015.277\cdbxp_setup_4.0.015.277.exe" /VERYSILENT /LOADINF="%TEMP%\default.cfg"' />
  <install cmd='cmd /C del "%TEMP%\default.cfg"' />
  <remove cmd='"%ProgramFiles%\CDBurnerXP\unins000.exe" /SILENT' />
  <upgrade cmd='cmd /C copy /Y "%SOFTWARE%\CDBurnerXP v.4.0.015.277\default.cfg" "%TEMP%"' />
  <upgrade cmd='"%SOFTWARE%\CDBurnerXP v.4.0.015.277\cdbxp_setup_4.0.015.277.exe" /VERYSILENT /LOADINF="%TEMP%\default.cfg"' />
  <upgrade cmd='cmd /C del "%TEMP%\default.cfg"' />
  <depends package-id='DOTNET_de' />
</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>