PDA

View Full Version : BuildOS chokes on this RGU...suggestions?


akijikan
22-02-2008, 04:26 AM
I'm using DCD's new 2.3 Kitchen.

I created an OEM from a Mortscript install cab (ver. 4.1) using Ervius Package Creator.

When BuildOS compiles the registry I get an "error building defaul.hv and user.hv".

Checking the log comes up with this:

Failed to parse value name HKEY_LOCAL_MACHINE\Software\Spb Software House\Pocket Plus\11\Applications\MortScript.exe!!!
InitRegistry FAILED in file ".\Registry\3361ebcd-b637-423d-b96b-5d65fda26662.rgu" within a few lines of line 6.
ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\3361ebcd-b637-423d-b96b-5d65fda26662.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives

Here is the RGU. Line six seems to deal with the creation of a value, "window classes". Looking at a manual installation the value is supposed to be a Multi Line Value.

Here is what is in the RGU:
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Spb Software House\Pocket Plus\11\Applications\MortScript.exe]
"Enabled"=dword:00000001
"UserName"="MortScripts"
"WindowClasses"0x00010000SysListView32

[HKEY_CLASSES_ROOT\MortScript\Shell\Open\Command]
@="Windows\\MortScript.exe""" """%%1"

[HKEY_CLASSES_ROOT\MortScript\DefaultIcon]
@="Windows\\MortScript.exe,-130"

[HKEY_CLASSES_ROOT\MortScript]
@="MortScript"

[HKEY_CLASSES_ROOT\.mortrun]
@="MortScript"

[HKEY_CLASSES_ROOT\.mscr]
@="MortScript"

According to this (http://wiki.xda-developers.com/index.php?pagename=OEM%20Package%20Tutorial) guide the """ in line 9 is an error with Ervius Package Creator that should be changed to \" so I tried changing it to:

[HKEY_CLASSES_ROOT\MortScript\Shell\Open\Command]
@="Windows\\MortScript.exe\" \"%%1"
And I got the same error. Any suggestions are appreciated.