[wpkg-users] newbie questions

Peter Gough pmgough at gmail.com
Tue Dec 15 13:00:56 CET 2015


The 'uninstall' condition checks the uninstall registry keys for the value specified.

Exit codes generally report '0' for success but sometimes you might also want to have other values if, for example, the software is already installed.

> On 15 Dec 2015, at 9:51 PM, Yanni <y.goudetsidis at mail.cryst.bbk.ac.uk> wrote:
> 
> Hello
> 
> In many packages I see this line: check type="uninstall" condition="exists" path="filezilla" />
> 
> The way I understand this is: Do not install, if software already exists on the machine. What I don't understand is on the "path" variable is only the software name. How does it know where to look?
> 
> What about the exit codes? Are the "exit codes" I've seen in the packages syntax for the purpose of
> displaying error messages if the install fails?
> 
> Thank you
> 
> 
> -------------------------------------------------------------------------
> SSLrack - get your cheap cheap SSL certificates (standard, wildcard, EV)
> http://www.sslrack.com/
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/wpkg-users


More information about the wpkg-users mailing list