[wpkg-users] Strange bug found in WPKG client

luca_manganelli at comune.trento.it luca_manganelli at comune.trento.it
Fri Apr 17 08:51:39 CEST 2009


Rainer Meier <r.meier at wpkg.org> scritti il 16/04/2009 16.15.38

> Interesting, your description looks like absolutely correct output
> of WPKG if an
> uninstall entry "GIMP 2.6.5" would exist. Are you 100% sure (by searching
the
> System registry) that souch an uninstall entry does not exist? It might
not
> appear within the control panel but might be there in the registry.


Attached the regedit screenshot.

> WPKG is doing a simple string-comparison on all uninstall entries found
in the
> registry - so yes, I am quite sure your system already has an uninstall
entry
> called "GIMP 2.6.5".

It is comparing the "DisplayName" entry?

> If not, then please provide the full package XML file and also provide a
full
> debug log.

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>




(See attached file: regeditcapture.png)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regeditcapture.png
Type: image/png
Size: 3824 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20090417/b1ef3881/attachment.png>


More information about the wpkg-users mailing list