Am 16.01.2012 10:14, schrieb Cedric Frayssinet:
Stefan, i don't use the last wpkg :/
NSIS make me crazy :/
Now, i have issue with upgrade...
I used this XML :
/
<package>
id="Risbee"
name="Risbee - Programmation graphique de robots"
revision="%version%.3"
priority="10"
reboot="false" >
<variable name="version" value="3.1.0" />
<check type="uninstall" condition="exists" path="Risbee" />
<install cmd='%SOFTWARE%\risbee\unattended.cmd' />
<upgrade cmd='%SOFTWARE%\risbee\unattended.cmd' />
<remove cmd='%SOFTWARE%\risbee\unattended-uninstall.cmd' />
</package>/
--snip
I use only Windows XP 32 Bits.
unattended.cmd and unattended-unistall are with setup on %software%\risbee.
Upgrade fails each time...
If you have any idea...
The template should work with WPKG 1.2.x with some minor modifications too.
----
Might be your Risbee is like VLC and needs the previous version removed
before the new version can be installed.
With WPKG 1.3.0 it would look like this:
<install cmd='%SOFTWARE%\risbee\unattended.cmd' />
<upgrade include="remove" />
<upgrade include="install" />
<remove cmd='%SOFTWARE%\risbee\unattended-uninstall.cmd' />
--
Stefan P.
Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users