[wpkg-users] Fwd: lame question

Maurizio Marini Gmail marini.maurizio at gmail.com
Wed Jun 22 12:35:00 CEST 2011


using gmail i forget to replay all and to avoid top quoting ;(


---------- Forwarded message ----------
From: Maurizio Marini Gmail <marini.maurizio at gmail.com>
Date: Wed, Jun 22, 2011 at 12:12 PM
Subject: Re: [wpkg-users] lame question
To: Martin Tille <edv at gruene.de>


On Wed, Jun 22, 2011 at 11:57 AM, Martin Tille <edv at gruene.de> wrote:
> Hello Maurizio,
Hello Martin :)


> why not use check type uninstall instead of checking via registry? Go to
> Control Panel -> Software and look up the exact name for Zimbra Desktop.
>
> <check type="uninstall" condition="exists" path="Zimbra Desktop" />

mh...it's right :)

i did it:
              <check type="logical" condition="or">

                       <check type="registry" condition="equals"

path="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{82498B8A-649C-4828-9CC0-1F4DD007ED7E}\DisplayName"
                               value="Zimbra Desktop"
                       />

                       <check type="uninstall" condition="exists"
path="Zimbra Desktop" />
               </check>

now it's seems to woks like never before...i am confused!

2011-06-22 12:07:08, DEBUG   : The registry path
'HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{82498B8A-649C-4828-9CC0-1F4DD007ED7E}\DisplayName'
could b
e read.
2011-06-22 12:07:08, DEBUG   : The registry value received is a scalar value
2011-06-22 12:07:08, DEBUG   : The registry path
'HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{82498B8A-649C-4828-9CC0-1F4DD007ED7E}\DisplayName'
contain
ed the correct value: 'Zimbra Desktop'. The check was successful


may be that adding
               <check type="logical" condition="or">

fixed my check?
unbelieveble...

however meny thnx :)

--
Maurizio Marini



More information about the wpkg-users mailing list