Difference between revisions of "ImgBurn"
From WPKG | Open Source Software Deployment and Distribution
m |
Realslacker (Talk | contribs) |
||
Line 31: | Line 31: | ||
</packages> | </packages> | ||
</source> | </source> | ||
+ | |||
+ | Here is an alternate package that uses the file version. | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <packages> | ||
+ | |||
+ | <package | ||
+ | id="imgburn" | ||
+ | name="ImgBurn" | ||
+ | revision="%version%" | ||
+ | reboot="false" | ||
+ | priority="10"> | ||
+ | |||
+ | <variable name="version" value="2.5.5.0" /> | ||
+ | |||
+ | <check type="file" condition="versiongreaterorequal" path="%programfiles(x86)%\ImgBurn\ImgBurn.exe" value="%version%" /> | ||
+ | |||
+ | <install cmd='%SOFTWARE%\ImgBurn\SetupImgBurn_%version%.exe /S' /> | ||
+ | |||
+ | <upgrade cmd='%SOFTWARE%\ImgBurn\SetupImgBurn_%version%.exe /S' /> | ||
+ | |||
+ | <remove cmd='"%programfiles(x86)%\ImgBurn\uninstall.exe" /S' /> | ||
+ | |||
+ | </package> | ||
+ | |||
+ | </packages> | ||
[[category:Silent Installers]] | [[category:Silent Installers]] |
Revision as of 15:23, 28 April 2011
Silent installer for ImgBurn, a CD/DVD image burner.
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>
Here is an alternate package that uses the file version.
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="imgburn"
name="ImgBurn"
revision="%version%"
reboot="false"
priority="10">
<variable name="version" value="2.5.5.0" />
<check type="file" condition="versiongreaterorequal" path="%programfiles(x86)%\ImgBurn\ImgBurn.exe" value="%version%" />
<install cmd='%SOFTWARE%\ImgBurn\SetupImgBurn_%version%.exe /S' />
<upgrade cmd='%SOFTWARE%\ImgBurn\SetupImgBurn_%version%.exe /S' />
<remove cmd='"%programfiles(x86)%\ImgBurn\uninstall.exe" /S' />
</package>
</packages>
[[category:Silent Installers]]