Re: Request for small bit of mentoring

2007-04-18 Thread Detlef Riekenberg
On Mo, 2007-04-16 at 16:44 -0500, Tom Spear wrote: I took lines 196-197 and duplicated that, changing HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER, and You can move most of the code from FetchUninstallInformation() to a seperate function and use the rootkey as Parameter.

Re: Request for small bit of mentoring

2007-04-18 Thread Tom Spear
On 4/18/07, Detlef Riekenberg [EMAIL PROTECTED] wrote: On Mo, 2007-04-16 at 16:44 -0500, Tom Spear wrote: I took lines 196-197 and duplicated that, changing HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER, and You can move most of the code from FetchUninstallInformation() to a seperate function and

Re: Request for small bit of mentoring

2007-04-18 Thread Tom Spear
Looking a bit more into the lstrcpyW and lstrcatW situation, the reason it appears to be done is because if you add the slash directly to PathUninstallW, then for some reason, the uninstaller shows no entries, even when there are some. Part of the reason I duplicated code in the original patch

Request for small bit of mentoring

2007-04-16 Thread Tom Spear
I found a small bug in the uninstaller program, and would like to write the fix myself. I have a working copy in my local tree, but it duplicates code. Basically I found that uninstaller does not scan the uninstall registry entry of HKEY_CURRENT_USER. I took lines 196-197 and duplicated that,

Re: Request for small bit of mentoring

2007-04-16 Thread Tom Spear
On 4/16/07, Briareos [EMAIL PROTECTED] wrote: Am Montag, 16. April 2007 22:35 schrieb Tom Spear: I found a small bug in the uninstaller program, and would like to write the fix myself. I have a working copy in my local tree, but it duplicates code. Basically I found that uninstaller does