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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users