Am 13.07.2012 11:24, schrieb Hamza K.:

Hi,

i have a Problem...
I can easily install and uninstall my programs but i dont know why they
fails if i want to upgrade or do a file check.
My Programs dont Upgrade and dont remove if i have two checks. And with
the file check it dont install,remove and upgrade it.
Can anyone help me?

There are at least three problems with your package:

1) use versiongreaterorequal to be able to check for the current
   or a higher version
2) cmd="" must be a real command that can be executed by the
   Windows shell
3) if you like to include any other package command you must use the
   include="" property


'---code start (watch for line wraps)

<check type='uninstall' condition='versiongreaterorequal' path='Unlocker %VERSION%-%ARCHITEKTUR%' value='%VERSION' />

<upgrade include='remove'/>
<upgrade include='install' />

'---code end

--
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

Reply via email to