Jesse Allen wrote:
> On Thu, 10 Mar 2005 22:20:27 -0700, Tony Lambregts
>
>>Index: tools/wine.inf
>>===================================================================
>>RCS file: /home/wine/wine/tools/wine.inf,v
>>retrieving revision 1.28
>>diff -u -r1.28 wine.inf
>>--- tools/wine.inf 6 Jan 2005 20:42:10 -0000 1.28
>>+++ tools/wine.inf 11 Mar 2005 05:11:40 -0000
>>@@ -112,6 +112,7 @@
>> HKLM,%CurrentVersion%\Setup,"SharedDir",,"%25%"
>> HKLM,Software\Microsoft\Windows NT\CurrentVersion\Fonts,,,""
>> HKLM,Software\Microsoft\Windows NT\CurrentVersion\Hotfix\Q246009,"Installed",,"1"
>>+HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders, "Programs",,"c:\\windows\\Start Menu\\Programs"
>>
>> [Debugger]
>> HKLM,Software\Microsoft\Windows NT\CurrentVersion\AeDebug,"Debugger",,"winedbg %ld %ld"
>>
Jesse Allen wrote:
>
> That's wrong. Here's is a better example of the registry entry we need:
>
> [HKEY_USERS\jesse\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
> Folders]
> "Programs"="C:\\windows\\profiles\\jesse\\Start Menu\\Programs"
>
> From my understanding, Shell Folder entries for the user profile are
> automatically created when requested -- except this one.
I think [HKEY_USERS\jesse\] translates to [HKCU].
Paul Vriens wrote:
>
> Should we hard-code "c:\\windows" ?
>
> Apart from that, when I look at my WinXP system the entries are in:
>
> [HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
>
> So there is probably more to it.
>
Well, this patch was more or less a "ping" to see if I was headed in the right
direction. 8^)
I put together the following patch which is closer but still not exactly right,
since it hard codes to the C: drive.
I am beginning to I suspect it should really go in dlls/shell32/shellpath.c in
PathSetDlgItemPath().
help!
Index: tools/wine.inf
===================================================================
RCS file: /home/wine/wine/tools/wine.inf,v
retrieving revision 1.28
diff -u -r1.28 wine.inf
--- tools/wine.inf 6 Jan 2005 20:42:10 -0000 1.28
+++ tools/wine.inf 11 Mar 2005 16:36:38 -0000
@@ -123,6 +123,7 @@
HKCU,%Desktop%,"SmoothScroll",1,00,00,00,00
HKCU,%Desktop%,"UserPreferencemask",1,00,00,00,00
HKCU,%Desktop%,"LowPowerActive",,"0"
+HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders, "Programs",,"c:\\windows\\Start Menu\\Programs"
[Metrics]
HKCU,%Metrics%,"ScrollWidth",,"16"