Can Someone Look At This RGU File And Tell Me Why I'm Getting An Error While Cooking?

brandontowey

Senior Member
Mar 10, 2009
220
90
48
I keep getting an error in reference to the Google Maps rgu file while in BuildOS. I'd appreciate it if someone took a look and figured out the syntax error. I've tried remaking the package a couple of times, using different cabs but no dice. I would just install after cooking but GoogleMaps is something I want in all of my ROMs so I'd rather have it cooked in. Thanks.
 
Last edited:

aruppenthal

Senior Member
Dec 9, 2006
3,687
6
0
Parkersburg
[HKEY_CLASSES_ROOT\kmz\Shell\Open\Command]
@="Program Files\\GoogleMaps\\GoogleMaps.exe""" -KMZ_FILE """%%1"

[HKEY_CLASSES_ROOT\kml\Shell\Open\Command]
@="Program Files\\GoogleMaps\\GoogleMaps.exe""" -KML_FILE """%%1"

[HKEY_CLASSES_ROOT\gmml\Shell\Open\Command]
@="Program Files\\GoogleMaps\\GoogleMaps.exe""" -GMML_FILE """%%1"

Verify the correctness of these keys and report back.
 

eras2r

Senior Member
Oct 8, 2007
410
1
0
Chicagoland
Those keys should look like this:

[HKEY_CLASSES_ROOT\gmml\Shell\Open\Command]
@="\"\\Windows\\GoogleMaps.exe\" -GMML_FILE \"%1\""

[HKEY_CLASSES_ROOT\kml\Shell\Open\Command]
@="\"\\Windows\\GoogleMaps.exe\" -KML_FILE \"%1\""

[HKEY_CLASSES_ROOT\kmz\Shell\Open\Command]
@="\"\\Windows\\GoogleMaps.exe\" -KMZ_FILE \"%1\""

The Package Creator program failed to escape the characters properly.
 

aruppenthal

Senior Member
Dec 9, 2006
3,687
6
0
Parkersburg
Those keys should look like this:

[HKEY_CLASSES_ROOT\gmml\Shell\Open\Command]
@="\"\\Windows\\GoogleMaps.exe\" -GMML_FILE \"%1\""

[HKEY_CLASSES_ROOT\kml\Shell\Open\Command]
@="\"\\Windows\\GoogleMaps.exe\" -KML_FILE \"%1\""

[HKEY_CLASSES_ROOT\kmz\Shell\Open\Command]
@="\"\\Windows\\GoogleMaps.exe\" -KMZ_FILE \"%1\""

The Package Creator program failed to escape the characters properly.
Yes :p

There are several other times package creator will fail you. I highly recommend everyone starting of cooking learn to make a package or two by hand. That way when things like this happen they will know why :)

Not to mention they will respect the time tools such as package creator save compared to doing it by hand.
 

brandontowey

Senior Member
Mar 10, 2009
220
90
48
Thanks, guys. I'm cooking another ROM now due to a huge newbie mistake(GSM on CDMA, oops). I'll report back in a little while as soon as I'm done. Thanks again.

*EDIT - I'll take a crack at making a package manually as soon as I flash my first working, custom ROM. I've been at this for about 12 hours, with 6 hours in the middle to sleep, so I'm in full OCD mode and need to get this done. Thanks for the advice.
 
Last edited:

irus

Senior Member
Jun 29, 2007
1,950
3
0
I keep getting an error in reference to the Google Maps rgu file while in BuildOS. I'd appreciate it if someone took a look and figured out the syntax error. I've tried remaking the package a couple of times, using different cabs but no dice. I would just install after cooking but GoogleMaps is something I want in all of my ROMs so I'd rather have it cooked in. Thanks.
also another thing you can do is make the package without the rgu file then recook the rom then dump it, don't use packagetool, just leave it in the dump folder and modify the hive files with the reg settings from the rgu.
 

brandontowey

Senior Member
Mar 10, 2009
220
90
48
I got another error with GoogleMaps though I don't remember which so I just left it out. I made the ROM lite to keep any problems to a minimum and it came out pretty well. I'm doing a crap load of research on a lot of stuff before I cook again so hopefully I can figure it out. Next ROM I make, I'll try GoogleMaps again and report back the error I get or if it works.

I haven't dumped a ROM yet. What's the benefit in doing that? I didn't really understand the instructions you gave in regards to dumping and making the package without the RGU. What happens if I do that?

Thanks again.