using gmail i forget to replay all and to avoid top quoting ;(
---------- Forwarded message ---------- From: Maurizio Marini Gmail <marini.mauri...@gmail.com> Date: Wed, Jun 22, 2011 at 12:12 PM Subject: Re: [wpkg-users] lame question To: Martin Tille <e...@gruene.de> On Wed, Jun 22, 2011 at 11:57 AM, Martin Tille <e...@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 ------------------------------------------------------------------------- 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