[wpkg-users] lame question

Martin Tille edv at gruene.de
Wed Jun 22 11:57:05 CEST 2011


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.

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"
> "HelpLink"=hex(2):68,00,74,00,74,00,70,00,3a,00,2f,00,2f,00,77,00,77,00,77,00,\
>   2e,00,7a,00,69,00,6d,00,62,00,72,00,61,00,2e,00,63,00,6f,00,6d,00,2f,00,7a,\
>   00,64,00,65,00,73,00,6b,00,74,00,6f,00,70,00,00,00
> "HelpTelephone"=""
> "InstallDate"="20110621"
> "InstallLocation"=""
> "InstallSource"="\\\\fisico\\wpkg\\software\\zimbra\\"
> "ModifyPath"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,78,\
>   00,65,00,20,00,2f,00,58,00,7b,00,38,00,32,00,34,00,39,00,38,00,42,00,38,00,\
>   41,00,2d,00,36,00,34,00,39,00,43,00,2d,00,34,00,38,00,32,00,38,00,2d,00,39,\
>   00,43,00,43,00,30,00,2d,00,31,00,46,00,34,00,44,00,44,00,30,00,30,00,37,00,\
>   45,00,44,00,37,00,45,00,7d,00,00,00
> "NoModify"=dword:00000001
> "Publisher"="Zimbra"
> "Readme"=""
> "Size"=""
> "EstimatedSize"=dword:000373a9
> "UninstallString"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,\
>   78,00,65,00,20,00,2f,00,58,00,7b,00,38,00,32,00,34,00,39,00,38,00,42,00,38,\
>   00,41,00,2d,00,36,00,34,00,39,00,43,00,2d,00,34,00,38,00,32,00,38,00,2d,00,\
>   39,00,43,00,43,00,30,00,2d,00,31,00,46,00,34,00,44,00,44,00,30,00,30,00,37,\
>   00,45,00,44,00,37,00,45,00,7d,00,00,00
> "URLInfoAbout"=""
> "URLUpdateInfo"=""
> "VersionMajor"=dword:00000002
> "VersionMinor"=dword:00000000
> "WindowsInstaller"=dword:00000001
> "Version"=dword:02000000
> "Language"=dword:00000409
> "DisplayName"="Zimbra Desktop"
> 
> then i coded this check:
> 
>                 <check
>                         type="registry"
>                         condition="equals"
> 
> path="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{82498B8A-649C-4828-9CC0-1F4DD007ED7E}\DisplayName"
>                         value="Zimbra Desktop"
>                         />
> 
> but it fails, sadly:
> 2011-06-22 11:07:10, DEBUG   : Going to install package 'Zimbra
> Desktop' (zimbra-desktop), Revision 1, (execute flag is '', notify
> flag is 'true').
> 2011-06-22 11:07:10, DEBUG   : Package 'Zimbra Desktop'
> (zimbra-desktop): Not yet processed during this session.
> 2011-06-22 11:07:10, DEBUG   : Comparing version: '1' <=> '1'.
> 2011-06-22 11:07:10, DEBUG   : Checking existence of package: Zimbra Desktop
> 2011-06-22 11:07:10, DEBUG   : Package 'Zimbra Desktop'
> (zimbra-desktop): Installed but checks failed. Re-Installing.
> 2011-06-22 11:07:10, DEBUG   : Installation of references
> (dependencies) for 'Zimbra Desktop' (zimbra-desktop) successfully
> finished.
> 
> 
> i tried
> path="HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{82498B8A-649C-4828-9CC0-1F4DD007ED7E}\DisplayName"
> 
> 
> 
> some help? Gaio are u there? ;)
> 



More information about the wpkg-users mailing list