[wpkg-users] lame question

Malte Starostik malte at malte.homeip.net
Wed Jun 22 12:05:00 CEST 2011


Hi Maurizio, Martin,

Am Mittwoch, 22. Juni 2011, 11:57:05 schrieb Martin Tille:
> Hello Maurizio,
> 
> 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" />
> 
> Beware of later version control mechanism if only Zimbra Desktop is
> published as Display Name.

or:
  <check type="uninstall" condition="versionequalto" path="Zimbra Desktop" 
value="2.0.0"/>

to only accept this very version or with condition="versiongreaterorequal" to 
accpet newer versions, too (but then, no one except WPKG should be allowed to 
install software anyway, right?)

Kind Regards,
Malte

> 
> Regards - Martin :<)
> 
> Am 22.06.2011 11:44, schrieb Maurizio Marini Gmail:
> > thsi is very lam but i cannot go on, i am stuck here ;(
> > 
> > i am trying to install zimbra desktop, and until here nothing of new
> > 
> > i have already instalaed it and i searched on regedit to find regitry
> > information needed, here they are
> > 
> > [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion
> > \Uninstall\{82498B8A-649C-4828-9CC0-1F4DD007ED7E}]
> > "AuthorizedCDFPrefix"=""
> > "Comments"=""
> > "Contact"=""
> > "DisplayVersion"="2.0.0"
> > "DisplayName"="Zimbra Desktop"
> > 
> > then i coded this check:
> >                 <check
> >                 
> >                         type="registry"
> >                         condition="equals"
> > 
> > path="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVe
> > rsion\Uninstall\{82498B8A-649C-4828-9CC0-1F4DD007ED7E}\DisplayName"
> > 
> >                         value="Zimbra Desktop"
> >                         />
> > 



More information about the wpkg-users mailing list