[wpkg-users] newbie questions
Paul McGrath
J.P.McGrath at leeds.ac.uk
Tue Dec 15 15:20:16 CET 2015
Obviously it has to be an exact case match or match with wildcard 'FileZilla Client %version%'
As well as being here
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
The install location in the registry can be here
HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
That is if you want to do text searches on the registry for the 'uninstallstring'
Paul
-----Original Message-----
From: wpkg-users [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of Yanni
Sent: 15 December 2015 12:10
To: wpkg-users at lists.wpkg.org
Subject: Re: [wpkg-users] newbie questions
In other words, using the "filezilla" example:
"if the uninstall registry key, called filezilla, is present do not re-install filezilla"
Correct?
On 15/12/15 12:00, Peter Gough wrote:
> 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
-------------------------------------------------------------------------
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