ImgBurn

From WPKG | Open Source Software Deployment and Distribution
Revision as of 21:27, 4 June 2008 by Sirkull (Talk | contribs) (Added silent installer for ImgBurn)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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="200805281"
	reboot="false"
	priority="10">

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

	<install cmd='%SOFTWARE%\imgburn\SetupImgBurn_2.4.1.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.4.1.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>