[wpkg-users] wpkg package description...
Marco Gaiarin
gaio at sv.lnf.it
Wed Dec 6 11:45:38 CET 2006
OK, i'm a bit scared to put this on wiki, but i've setup a wpkg
package, like:
<package
id="wpkg"
name="WPKG"
revision="70"
priority="100"
reboot="false">
<check type="uninstall" condition="exists" path="WPKG" />
<install cmd='msiexec /qb /i %SOFTWARE%\WPKG\WPKGSetup.msi SETTINGSFILE=%WPKGROOT%\settings.xml' />
<upgrade cmd='msiexec /qb /i %SOFTWARE%\WPKG\WPKGSetup.msi' />
<remove cmd='msiexec /qb /x{BD368683-C6EB-480A-B497-56CE35D59D28}' />
</package>
<package
id="wpkg-settings"
name="WPKG Settings"
revision="5"
priority="5"
reboot="false"
execute="once">
<depends package-id="wpkg"/>
<install cmd='%PROGRAMFILES%\WPKG\wpkginst.exe --SETTINGSFILE=%WPKGROOT%\settings.xml' />
<upgrade cmd='%PROGRAMFILES%\WPKG\wpkginst.exe --SETTINGSFILE=%WPKGROOT%\settings.xml' />
<remove cmd='echo "nothing"' />
</package>
Seems to work well, at least for the first installation, and the
wpkg-settings virtual package seems do what intended.
Say me if it is good. ;)
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797
VDEV
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list