Difference between revisions of "ImgBurn"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Version number edit.)
(Removed necessity for GNU Win32 tools as they were showing libintl3.dll errors)
Line 2: Line 2:
  
 
Download [http://imgburn.com/ ImgBurn] and place the installer in "software/imgburn".
 
Download [http://imgburn.com/ ImgBurn] and place the installer in "software/imgburn".
 
This script needs "cp.exe", "rm.exe" and "mkdir.exe" from [http://gnuwin32.sourceforge.net/packages/coreutils.htm GnuWin32] in your "tools" folder.  The installer places the shortcuts in %UserProfile%.  This script moves them to %AllUsersProfile%.
 
  
 
<source lang="xml">
 
<source lang="xml">
Line 18: Line 16:
  
 
<install cmd='%SOFTWARE%\imgburn\SetupImgBurn_2.5.0.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='del /q /f "%UserProfile%\Desktop\ImgBurn.lnk"' />
<install cmd='cmd /c %WPKGROOT%\tools\mkdir.exe -p "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
+
<install cmd='mkdir "%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='copy /y "%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"' />
+
<install cmd='del /q /f "%UserProfile%\Start Menu\Programs\ImgBurn"' />
  
 
<upgrade cmd='%SOFTWARE%\imgburn\SetupImgBurn_2.5.0.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='del /q /f "%UserProfile%\Desktop\ImgBurn.lnk"' />
<upgrade cmd='cmd /c %WPKGROOT%\tools\mkdir.exe -p "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
+
<upgrade cmd='mkdir "%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='copy /y "%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"' />
+
<upgrade cmd='del /q /f "%UserProfile%\Start Menu\Programs\ImgBurn"' />
  
 
<remove cmd='"%ProgramFiles%\ImgBurn\uninstall.exe" /S' />
 
<remove cmd='"%ProgramFiles%\ImgBurn\uninstall.exe" /S' />

Revision as of 14:55, 9 November 2009

Silent installer for ImgBurn.

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

<?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='del /q /f "%UserProfile%\Desktop\ImgBurn.lnk"' />
	<install cmd='mkdir "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
	<install cmd='copy /y "%UserProfile%\Start Menu\Programs\ImgBurn\ImgBurn.lnk" "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
	<install cmd='del /q /f "%UserProfile%\Start Menu\Programs\ImgBurn"' />

	<upgrade cmd='%SOFTWARE%\imgburn\SetupImgBurn_2.5.0.0.exe /S' />
	<upgrade cmd='del /q /f "%UserProfile%\Desktop\ImgBurn.lnk"' />
	<upgrade cmd='mkdir "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
	<upgrade cmd='copy /y "%UserProfile%\Start Menu\Programs\ImgBurn\ImgBurn.lnk" "%AllUsersProfile%\Start Menu\Programs\ImgBurn"' />
	<upgrade cmd='del /q /f "%UserProfile%\Start Menu\Programs\ImgBurn"' />

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