[Windows Mobile Software Development] kurniawan77:
Some noobieness....

Usually my rom (for HD2) used to startup with RunCC, this installs cab files that was configured in config.txt. After this Oobe wil run..and so on.

But now i would like to have XDA_UC run at first boot installing my cabs to be found in the ROM, after this oobe must run. Once Oobe is finished, then user customisation...

So i have deleted the RunCC package, placed Visual_XDA_UC in. In my cook.mscr i have

Run("\Windows\Welcome.exe")
Run("\Windows\htcOOBE.exe")

if (FileExists( "\Windows\AutoVer.exe" ))
RunWait( "\Windows\AutoVer.exe" )
Else
EndIf

enabled.

On startup there was no oobe...only thing i saw was wizard setup in the taskbar but no gui. (Also found out that my lockscreen isn't working at all). I did saw that the cab files were installed and the cab's (just testing) on my storage card so that part is working fine.

Wondering what RunCC was suppose to run i looked into runcc.lua. this is what i see:

runcc.lua

chk = oem.checkfileexist("[URL="file://\\windows\\config_operator.txt"]\\windows\\config_operator.txt[/URL]")
if chk == 1 then
runcc.addrun("RunDefault", "run", "[URL="file://\\windows\\config_operator.txt"]\\windows\\config_operator.txt[/URL]")
end
chk = oem.checkfileexist("[URL="file://\\windows\\config_PT.txt"]\\windows\\config_PT.txt[/URL]")
if chk == 1 then
runcc.addrun("RunExtra", "run", "[URL="file://\\windows\\config_PT.txt"]\\windows\\config_PT.txt[/URL]")
end
chk = oem.checkfileexist("[URL="file://\\windows\\config_AP.txt"]\\windows\\config_AP.txt[/URL]")
if chk == 1 then
runcc.addrun("RunExtra", "run", "[URL="file://\\windows\\config_AP.txt"]\\windows\\config_AP.txt[/URL]")
end
chk = oem.checkfileexist("[URL="file://\\windows\\config_end.txt"]\\windows\\config_end.txt[/URL]")
if chk == 1 then
runcc.addrun("RunDefault", "run", "[URL="file://\\windows\\config_end.txt"]\\windows\\config_end.txt[/URL]")
end
chk = oem.checkfileexist("[URL="file://\\windows\\config.txt"]\\windows\\config.txt[/URL]")
if chk == 1 then
runcc.addrun("RunCustomer", "run", "[URL="file://\\windows\\config.txt"]\\windows\\config.txt[/URL]")
end
chk = oem.checkfileexist("[URL="file://\\SP_ROM\\config_SP.txt"]\\SP_ROM\\config_SP.txt[/URL]")
if chk == 1 then
runcc.addrun("RunCustomer", "run", "[URL="file://\\SP_ROM\\config_SP.txt"]\\SP_ROM\\config_SP.txt[/URL]")
end

What can i do with this file? Can i let cook.mscr run these .txt fles???

For the moment i found a temp solution but it works...

Kept RunCC in, edited the lines in XDA_UC.mscr:

If (FileExists( "\Windows\RunCC.exe" ) OR FileExists( "\Windows\Autorun.exe" ))
runCustomization = BOOT_COUNT eq 1
deleteStartupScript = BOOT_COUNT eq 1

and set "timing" just before

# Give XDA_UC & MortScript Disclaimer

in cook.mscr i have placed # in every line.

This way RunCC wil do it's work while XDA_UC waits (timing = 50000). If Oobe is setted on time i''d see the XDA_UC popup dialog or else i can use taskmanager to bring it up. It works!

But what i really, really want is to dump RunCC, let XDA_UC do the first (chefcustomization) job, meanwhile or after that startup Oobe and when Oobe is finished with settings, no matter how long it takes, then start User customization. Same thing like i'did with "timing" but then with something like "wait/sleep till Oobe = finished...:confused:

Would be great if someone can show me the way...

regards kurniawan77