[wpkg-users] wpkg uninstall check subkey in registry

Rainer Meier r.meier at wpkg.org
Mon Jun 14 08:15:06 CEST 2010


Hi Mike,

On 29.03.2010 10:52, Mike Burgener wrote:
> Seems that uninstall check does not support sub keys of "Uninstall"
> 
> For example 
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\R
> ationalPlan\Viewer
> 
> See screenshot at http://tuxinator.org/wpkg-debug/


I just checked in an updated version of WPKG which supports recursive parsing
of uninstall registry settings. Probably you can verify that it's working with
your RationalPlan Viewer installation.

I did some tests with Windows XP and Windows 7 and found that none of them
supported uninstall entries defined in sub-keys within the registry. The items
put there simply did not appear within Control Panel > Software/Uninstall.

Nevertheless WPKG should now detect these entries and allows uninstall checks
for them.

Changes included in this commit:

NEW: WPKG now allows uninstall entries to be defined in sub-nodes of the
     uninstall registry key. I was unable to verify that Windows supports such
     entries but as reported RationalPlan Viewer seems to add such a sub-node:
     Uninstall\RationalPlan\Viewer.
     There might be other programs doing the same.
     During tests Windows XP and Windows 7 were ignoring such entries but now
     WPKG supports these entries now.
NEW: Enhanced wrapper to use sysnative directory. The sysnative directory
     allows 32-bit programs to access the 64-bit binaries within
     %SystemRoot%\system32\. This way it is not necessary any more to copy the
     64-bit version of cmd.exe to the 64-bit\ sub-folder since the wrapper can
     launch the locally available 64-bit cmd.exe.

As always the latest version of WPKG (1.1.3-RC4) can be downloaded here:

<http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.1/wpkg.js?view=log>


br,
Rainer



More information about the wpkg-users mailing list