PDA

View Full Version : USB to PC settings shortcut location?


ADB100
06-03-2008, 04:15 PM
I have been attempting to re-cook a ROM (famewolf's latest) and for some reason I keep getting the 'USB to PC' icon in Settings\System as opposed to Settings\Connections. I thought it was a HTCCPL issue (with provxml and/or registry settings but I am not sure now. What is the actual application that starts when you click this icon so I can attempt to locate which file is causing it to appear where it is?

Thanks

Andy

ADB100
06-03-2008, 07:28 PM
OK, fixed it. For some reason it looks like there is a typo in one of the .RGU files. This is in the there:[HKEY_LOCAL_MACHINE\ControlPanel\PC Connection]
"Group"=dword:2

However the space between the PC and Connection needs removing:[HKEY_LOCAL_MACHINE\ControlPanel\PCConnection]
"Group"=dword:2

Now if I could work out how to get Button 4 to launch Voice Command I would be sorted....

Currently my .RGU file that installs the registry entries for Voice Command contains this:[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\4 0C4]
@="\"\\Windows\\AppButtons\\Voice Command.lnk\""
"Name"="Button 4"
"Icon"="\\windows\\voicecmd.exe, 0"
"ResetCmd"="\"\\Windows\\AppButtons\\Voice Command.lnk\""
"Flags"=dword:00000000

In re-cookings of other ROMs this has worked fine. With famewolfs latest the entries in the registry are not there. I have tried creating a 'provxml' which is half working, what I can't get it to do is include the quotation marks when the settings are added to the registry. Does anyone know how? Doing this via a .RGU file you need the extra '\', but this doesn't seem to work with a provxml file.

Any takers?

Andy