Difference between revisions of "CDBurnerXP"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Version 4.5.*: Added disabling of automatic updates, optimized package)
m (Version 4.5.*: Added line to remove program directory)
Line 28: Line 28:
 
 
 
 
 
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\CDBurnerXP\unins000.exe" "%PROGRAMFILES%\CDBurnerXP\unins000.exe" /VERYSILENT'/>
 
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\CDBurnerXP\unins000.exe" "%PROGRAMFILES%\CDBurnerXP\unins000.exe" /VERYSILENT'/>
 +
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\CDBurnerXP\" rmdir /S /Q "%PROGRAMFILES%\CDBurnerXP\"'/>
 +
 
 
 
 
 
</package>
 
</package>

Revision as of 08:55, 26 January 2015

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.*

  • Working fine on XP, VISTA, 7 - both 32 and 64 BIT


<!-- CDBurnerXP -->			
	<package id="cdburner" name="CDBurnerXP" revision="9" reboot="false" priority="6000">
 		<variable name="version" value="4.5.4.5306" />
 		<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\CDBurnerXP\cdbxpp.exe" value="%version%"/>
		 
		<install cmd='"%SOFTWARE%\cdburner\cdbxp_setup_%version%_x64_minimal.exe" /verysilent ALLUSERS=1' architecture="x64"/>
		<install cmd='"%SOFTWARE%\cdburner\cdbxp_setup_%version%_minimal.exe" /verysilent ALLUSERS=1' architecture="x86"/>
		<install cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\CDBurnerXP.lnk"' ><exit code="any" /></install>
		<install cmd='%COMSPEC% /c del /q "%Public%\Desktop\CDBurnerXP.lnk"' ><exit code="any" /></install> <!-- Vista/Windows7 -->

		<!-- Diable automatic updates -->
		<install cmd='%COMSPEC% /c if not exist "%ALLUSERSPROFILE%\Canneverbe Limited" mkdir "%ALLUSERSPROFILE%\Canneverbe Limited" '/>
		<install cmd='%COMSPEC% /c if not exist "%ALLUSERSPROFILE%\Canneverbe Limited\CDBurnerXP" mkdir "%ALLUSERSPROFILE%\Canneverbe Limited\CDBurnerXP" '/>
		<install cmd='%COMSPEC% /c copy /Y "%SOFTWARE%\CDBurnerXP\Application.ini" "%ALLUSERSPROFILE%\Canneverbe Limited\CDBurnerXP\Application.ini" '/>
				
		<upgrade cmd='"%SOFTWARE%\cdburner\cdbxp_setup_%version%_x64_minimal.exe" /verysilent ALLUSERS=1' architecture="x64"/>
		<upgrade cmd='"%SOFTWARE%\cdburner\cdbxp_setup_%version%_minimal.exe" /verysilent ALLUSERS=1' architecture="x86"/>
		 
		<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\CDBurnerXP\unins000.exe" "%PROGRAMFILES%\CDBurnerXP\unins000.exe" /VERYSILENT'/>
		<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\CDBurnerXP\" rmdir /S /Q "%PROGRAMFILES%\CDBurnerXP\"'/>

		 
	</package>

Additional information: We use only the "minimal" versions for the installation, because they are smaller. No advertisements (OpenCandy) are included in the minimal versions.

The download for the minimal versions is available here.

NICE TO KNOW: When new versions are released, a minimal installer isn´t available right away. You need to wait ca. 1 week until it is added to the download section !

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>