[wpkg-users] Strange bug found in WPKG client

Rainer Meier r.meier at wpkg.org
Fri Apr 17 10:12:24 CEST 2009


Hi Luca,

luca_manganelli at comune.trento.it wrote:
> Attached the regedit screenshot.

Thanks.


> It is comparing the "DisplayName" entry?

Yes.

What I see from the screen shot is that your entry looks quite different than my
GIMP installer (I am using GIMP Windows installer from
<http://gimp-win.sourceforge.net/stable.html>, 32-bit only).

However the registry path on my machine points to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\WinGimp-2.0_is1
well, the Wow6432Node tree is because of Vista x64 registry mapping
So the 32-bit path should be
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinGimp-2.0_is1

Looking at the log below I am absolutely sure that WPKG finds a DisplayName
entry within the uninstall locations which carries the string "GIMP 2.6.5".

Probably try searching further.


> DEBUG LOG:
> 
> Going to install package 'GIMP' (gimp), Revision 2605, (execute flag is '',
> notify flag is 'true').
> Package 'GIMP' (gimp): Not yet processed during this session.
> Checking existence of package: GIMP
> Reading variables from package GIMP
> Reading variables from profile[s]
> Getting profiles which apply to this node.
> Applying profile: gimp
> 1 profiles apply to this host.
> Reading variables from profile gimp
> Reading variables from host 17C04
> Uninstall entry for GIMP 2.6.5 was found: test successful
> Package 'GIMP' (gimp): Already installed. Skipping.
> Saving sorted settings to 'C:\WINDOWS\system32\wpkg.xml'.
> Adding settings node: 'GIMP' (gimp), Revision 2605
> Saving XML : C:\WINDOWS\system32\wpkg.xml.dryrun
> 
> 
> -------------------------------------------
> 
> XML FILE OF GIMP:
> 
> <?xml version="1.0" encoding="UTF-8"?>
>  <packages>
>   <package
>      id="gimp"
>      name="GIMP"
>      revision="2605"
>      reboot="false"
>      priority="20">
> 
>             <check type="uninstall" condition="exists" path="GIMP 2.6.5"/>
>         <install cmd='"%programfiles%\GIMP\setup\unins000.exe" /VERYSILENT
> /NORESTART'><exit code="any" /></install>
>             <install
> cmd='"\\w2srv17\gposhr$\WPKG\graphics\gimp-2.6.5-i686-setup.exe"
> /VERYSILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"'/>
> 
>             <upgrade
> cmd='"\\w2srv17\gposhr$\WPKG\graphics\gimp-2.6.5-i686-setup.exe"
> /VERYSILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"'/>
> 
>             <remove cmd='"%programfiles%\GIMP\setup\unins000.exe"
> /VERYSILENT /NORESTART' />
>       </package>
> </packages>

I cannot see a problem here. WPKG clearly says that your registry contains an
entry with a DisplayName of "GIMP 2.6.5". Try looking for that string within
your whole registry.

br,
Rainer



More information about the wpkg-users mailing list