Difference between revisions of "ImgBurn"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Updated for version 2.5.0)
m (Version number edit.)
Line 17: Line 17:
 
<check type="uninstall" condition="exists" path="ImgBurn" />
 
<check type="uninstall" condition="exists" path="ImgBurn" />
  
<install cmd='%SOFTWARE%\imgburn\SetupImgBurn_2.5.0.exe /S' />
+
<install cmd='%SOFTWARE%\imgburn\SetupImgBurn_2.5.0.0.exe /S' />
 
<install cmd='cmd /c %WPKGROOT%\tools\rm.exe -rf "%UserProfile%\Desktop\ImgBurn.lnk"' />
 
<install cmd='cmd /c %WPKGROOT%\tools\rm.exe -rf "%UserProfile%\Desktop\ImgBurn.lnk"' />
 
<install cmd='cmd /c %WPKGROOT%\tools\mkdir.exe -p "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
 
<install cmd='cmd /c %WPKGROOT%\tools\mkdir.exe -p "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
Line 23: Line 23:
 
<install cmd='cmd /c %WPKGROOT%\tools\rm.exe -rf "%UserProfile%\Start Menu\Programs\ImgBurn"' />
 
<install cmd='cmd /c %WPKGROOT%\tools\rm.exe -rf "%UserProfile%\Start Menu\Programs\ImgBurn"' />
  
<upgrade cmd='%SOFTWARE%\imgburn\SetupImgBurn_2.5.0.exe /S' />
+
<upgrade cmd='%SOFTWARE%\imgburn\SetupImgBurn_2.5.0.0.exe /S' />
 
<upgrade cmd='cmd /c %WPKGROOT%\tools\rm.exe -rf "%UserProfile%\Desktop\ImgBurn.lnk"' />
 
<upgrade cmd='cmd /c %WPKGROOT%\tools\rm.exe -rf "%UserProfile%\Desktop\ImgBurn.lnk"' />
 
<upgrade cmd='cmd /c %WPKGROOT%\tools\mkdir.exe -p "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
 
<upgrade cmd='cmd /c %WPKGROOT%\tools\mkdir.exe -p "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />

Revision as of 11:06, 26 October 2009

Silent installer for ImgBurn.

Download ImgBurn and place the installer in "software/imgburn".

This script needs "cp.exe", "rm.exe" and "mkdir.exe" from GnuWin32 in your "tools" folder. The installer places the shortcuts in %UserProfile%. This script moves them to %AllUsersProfile%.

<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
	id="imgburn"
	name="ImgBurn"
	revision="20090727"
	reboot="false"
	priority="10">

	<check type="uninstall" condition="exists" path="ImgBurn" />

	<install cmd='%SOFTWARE%\imgburn\SetupImgBurn_2.5.0.0.exe /S' />
	<install cmd='cmd /c %WPKGROOT%\tools\rm.exe -rf "%UserProfile%\Desktop\ImgBurn.lnk"' />
	<install cmd='cmd /c %WPKGROOT%\tools\mkdir.exe -p "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
	<install cmd='cmd /c %WPKGROOT%\tools\cp.exe -f "%UserProfile%\Start Menu\Programs\ImgBurn\ImgBurn.lnk" "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
	<install cmd='cmd /c %WPKGROOT%\tools\rm.exe -rf "%UserProfile%\Start Menu\Programs\ImgBurn"' />

	<upgrade cmd='%SOFTWARE%\imgburn\SetupImgBurn_2.5.0.0.exe /S' />
	<upgrade cmd='cmd /c %WPKGROOT%\tools\rm.exe -rf "%UserProfile%\Desktop\ImgBurn.lnk"' />
	<upgrade cmd='cmd /c %WPKGROOT%\tools\mkdir.exe -p "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
	<upgrade cmd='cmd /c %WPKGROOT%\tools\cp.exe -f "%UserProfile%\Start Menu\Programs\ImgBurn\ImgBurn.lnk" "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
	<upgrade cmd='cmd /c %WPKGROOT%\tools\rm.exe -rf "%UserProfile%\Start Menu\Programs\ImgBurn"' />

	<remove cmd='"%ProgramFiles%\ImgBurn\uninstall.exe" /S' />
</package>
</packages>