yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] nelsonw:
I Have the same problem Noonski, i think is because it loads .pib before everything... how i can provision xml email settings before .pib? or is possible to change this order and send import .pib on last step? or after reboot? maybe add script for look for email.xml before load .pib..

i didn't found here a solution... sorry total noob here... Hope you understand... my english is bad...
[Windows Mobile Apps and Games] vipmann:
@toucan

yes thanks -

although I was looking for a more complete one with cabs installed to the SD card as well as Folders transferred.

Which program you use to make the PhoneSetup.cab file?
[Windows Mobile Apps and Games] Noonski:
PimBackup starts early because it takes a long time to finish, during which the rest of UC can continue.

I have my XML setup after pimbackup and it works for me.

You could try to add the .xml to the sdconfig.txt method to get it parsed earlier.
[Windows Mobile Apps and Games] toucan:
At this point I don't install anything to the SD card - in fact, I have never installed anything to my SD card - only to the device.

As for creating the PhoneSetup.cab file, it is much more of a process than a program. :D

I have yet to fully document it, but I can give you a quick rundown of what I do.

I downloaded and installed CERegEditor. Using that I can export stuff from my phone registry. Once exported I can open the file again using CERegEditor and then save it as an XML file. I then open that XML with Notepad.exe (I also tried TextPad and other text editors but those always ended in dismal failure - for whatever reason). I save the opened file as a Unicode encoded XML file with the name _setup.xml. I then use the program CABARC.exe to convert that XML file to a cab file.

Not necessarily a part of the above process but something that was posted elsewhere that I found to be a BIG help... there is another program called RapiConfig.exe that will extract keys from the phone. In some cases that is much easier than the above (for instance with my "Owner Info" file) because it can recursively get the registry details and puts them into a XML file. There may be a little editing to do with that (in Notepad) but for many keys that may be the ticket as it is a little less work than the above with the exception of editing the RapiConfigIn.xml file every time...

As I worked through the process, it seems that the cabs are created successfully with the name _setup.xml - I had tried other names but the cabs would never successfully install on the phone. As for any other issues in the process, I think that was the main problem early on.

I have read through all these pages for this thread and didn't really find any post that lays all this out - I admit that even this doesn't really lay it all out but it is a lot more information in one place than I have seen elsewhere (not complaining, though - I am a fan of research!) Many other threads and wiki's have pointed me to the above programs and led me to figure it out.

Anyway... hopefully this helps you and others out there wanting to start working on a good XDA_UC directory...

;)
[Windows Mobile Apps and Games] vipmann:
@toucan

wow ... thanks for this long message.

I will try to follow what you wrote. I don't know if I will get anywhere but I will let you know.

Thanks again for your help! I appreciate this.
[Windows Mobile Apps and Games] Noonski:
Another app to make Cab files with XML files

http://xdaforums.com/showthread.php?p=2851179

CabGen
[Windows Mobile Apps and Games] nelsonw:
OK, i'll try... Thanks! I Automatized almost 98%... There's a way to chose the theme Installed via .CAB?
[Windows Mobile Apps and Games] gexcube:
How can I backup my contacts with link to facebook. I exported registry keys to my login to facebook and it works but... ... For backing up contact I am using PIM Backup... is way to store it with this app or is some app with that can I backup my contacts with facebook links ? and then using XDA_UC put it back ?..

EDiT: I found a solution... I dont know if its very good but it works...

You must backup your \pim.vol and \facebookinfo.vol and after flash delete "old" and copy here yours... and I made 2 scripts... first for backup (that can store 2 backups... new and old:)..) and second for restore... when I edit it little bit I will post it here :) maybe someone will be helpful :)
[Windows Mobile Apps and Games] rjh1:
not installing...

has anyone seen the issue of some of the cabs not installing?? if I run them manually they work just fine, so there is no error in then.

seems to be the same files each time.

Rick
[Windows Mobile Apps and Games] mtorre5:
Need Help figuring this out

Hello everyone,

I been reading up on how to use this but serously need help. I just cant seem to grasp the idea.... I just backed up my registry and used pim to back up everything and put it in the xda_uc folder.... am I supposed to do this?

After creating the xda folder it said it was saving my setting but nothing is in the folder to edit.... Is that supposed to happen?

Also wut are some cool things to put in the folder?

I want to put auto shortcut key in but I dont know how to make the file etc etc...

If someone can help a noob in a simple way itd be much appreciated thanks.
[Windows Mobile Apps and Games] foulke:
Hello. This looks great !

I can change the manila language with this simple file MUI.reg (exported from registry base) :

[HKEY_CURRENT_USER\MUI]
"CurLang"=dword:0000040c

This works well.

Then, I saved all my shortcuts to apps in SD card in \windows\Start Menu\Programs to my Sd card.

I created (with total commander : copy paste of the first .reg above) a shortcut.reg which contains :

[HKLM\Software\XDA\DirCopy]
"\\Windows\\Start Menu\\Programs"="\\Storage Card\\Save\\menu links\\Programs"

But it didn't did the trick. No shortcut copied after first boot.

Any idea ?
[Windows Mobile Apps and Games] deepankerjha:
I tried everything to cook a XDA UC rom.it complets the setup/configuration,asks wether i want to restart or not,but my cabs on SD card/XDA_UC never gets installed...clueless i am...any help?though af974 has helped a lot,still no luck
[Windows Mobile Apps and Games] aadadams:
Not so fast, says the latest rom flash to my proposed solution... I thought this was resolved but it is not.

I need help with parameters on my email config. I want to sync all mail from the prior two weeks with all complete attachments no matter the size. Right now, it only syncs the first 5k of emails by default. My xml is above, what needs to be modified? Any guess is appreciated. Between MSDN and XDA there has to be a way...
[Windows Mobile Apps and Games] deepankerjha:
just a few minutes ago with the help of af974 i cooked my first XDA_UC rom :)

regards
[Windows Mobile Apps and Games] tkedch:
I just recently found out about XDA UC config program. Could someone tell me the pros and cons of XDA UC as supposed to sashimi? I have sashimi pretty much lied out to a point, i don't need to do anything after flashing. I just want to know if this is an even better config program. I am always open to try the newer and better things.

Thank you very much.
[Windows Mobile Apps and Games] aadadams:
Sashimi is like XDA_UC on steroids, not literally, but you get the gist. If you have Sashimi configured then my advice would be to stick with it.
[Windows Mobile Apps and Games] tkedch:
OH........ that sux. hahaha

As a fellow NRG rom user, I just found out recently he included XDA-UC in his roms. Do you know a place where I can look over the tutorials like what sashimi has ? I know sashimi is really thorough but most of the "steroid" stuff aren't used by me anyway. If XDA-UC is indeed easier to set up and use with NRG roms, I am willing to try.

THank you.
[Windows Mobile Apps and Games] deepankerjha:
after all the hard work and not getting it done,i thought XDA_UC is not my cup of tea.but then with the help of af974,i got it done in a few seconds.its so simple,so calculative and so flawless....i would advise u to go ahead and try XDA_UC..cant say about ur specific device but since this app is not device specific,u will just love it

regards
[Windows Mobile Apps and Games] tkedch:
Thank you for the advice. Do you know where I can go to view setup tutorials? With the experience I have with sashimi, i don't think it will be too much of a problem to set up XDA-UC, but I just want to see some samples and guides first.
[Windows Mobile Apps and Games] aadadams:
The best sources are actually the first post of this thread and the original UC thread by Slueth. MSDN has a great deal of xml info as well. Within the UC thread there is a link to MSDN that gives great detail on xml. Oh, Check out mortscript too. All this can be found on xda...
[Windows Mobile Apps and Games] tkedch:
I have looked up those sources already. I was just thinking there would be something more put-together like what sashimi has. Thank you very much anyway!
[Windows Mobile Apps and Games] aadadams:
That is the point of XDA_UC, no huge manual or instructions. Create a couple folders, put in some cabs and maybe export a few reg entries. Additionally, you can do other things that work the very same way as they would with UC or Sashimi in terms of mortscript and importing xml and reg. Quick and dirty!
[Windows Mobile Apps and Games] goubda:
Rename a registry Key

Hi guys, anyone know how I use XML to rename a registry container.

Cheers
[Windows Mobile Apps and Games] lazyboy0172:
i've searched all over, but can't find a way to backup a start menu. is there a way using xda_uc to backup start menu organization? that's the most time-consuming part of my flashing process.
[Windows Mobile Apps and Games] foulke:
That's exactly what I asked a few post earlier.

I copied my windows\start menu\program shortcut in my SD card.

And using

[HKLM\Software\XDA\DirCopy]
"\\Windows\\Start Menu\\Programs"="\\Storage Card\\Save\\menu links\\Programs"

didn't work.
[Windows Mobile Apps and Games] Fat Boy:
I have copied a folder at \Storage Card\XDA_UC\manila\ with my custom manila files in it, but after 3 flashes it has yet to copy the manila files over to the windows directory, did I miss something?
[Windows Mobile Apps and Games] Noonski:
XDA_UC is not YET compatible with the HTC Sense name of Manila as home item ;)
[Windows Mobile Apps and Games] Fat Boy:
Thanks for the quick response, love the app and thank you!
[Windows Mobile Apps and Games] motisu:
I am a long time Sashimi user. I tried to use XDA_UC, and for the most part, it works very well. There are 2 functions that are missing from it, which are the reasons that I went back to Sashmi:

1.The ability to choose where the program's shortcut will be be placed.

2. The ability to install to SD without having to manually choose.

I have yet to find something that can be done in XDA_UC that can't be done in Sashimi, so I would agree with the previous poster who said that if you already are using Sashimi, stick with it. OTOH, XDA_UC is great for anybody who doesn't want to take the time to learn Sashimi
[Windows Mobile Apps and Games] GeSpot:
Just a quick follow up. I figured out what order things were loading. They were loading based on the modified date. NRG updated his XDA_UC files, so I decided to try out the newer build. I placed a few random cabs in the SD directory, and noticed that they were loaded in that order.

I just figured I'd let you know, in case you want to take a look at it, or if anyone else is wondering how to get them to load in order.

Once I copied each of the cabs to the folder in order, it started loading properly.
[Windows Mobile Apps and Games] Noonski:
RoryB has given me a simpler script then what Bengalih is using for the SD installs. I tested it today and it looks good.

Right now it's only been added to SDConfig.txt commands "SCAB:" to automate install to Storage sort of silently just like sashimi.

I thought the next update would be quicker, but because of so many suggestions and great code improvements from Serfer222 & Rory it''s taking a bit longer. But Installs to SD will be part of the update :)

But in theory there's not a lot that XDA_UC can do more then sashimi.
[Windows Mobile Apps and Games] motisu:
Great to hear this!! As Sashimi is really a dead tool and I am always worried that something will be changed and it will stop working.... Now if you could come up with a way to specify where to create the shortcuts, I would seriously consider giving up Sashimi.
[Windows Mobile Apps and Games] Noonski:
I which way do you mean this?

You can make shortcuts through registry settings or through a mortscript.

Or am I missing something your trying to do?

(might be that you have posted this before and i forgot about it:o, and i still need to look into the Copying from SD folders to Device Folders not working which i could not recreate)
[Windows Mobile Apps and Games] motisu:
This may be a feature of Sashimi which you don't know about. One of the .ini files that Sashimi uses is named "customlinks.ini". This file allows you to tell Sashimi where you want the program link to be created instead of in the root of the startup menu. I think that it is simply a Mortscript that moves the link but it is extremely useful. It saves a lot of time and headache every time I HR.
[Windows Mobile Apps and Games] Noonski:
You can make a .reg file with either:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\XDA\Write]
"\\Windows\\Start Menu\\Programs\\Tools\\MarketPlace.lnk"="99#\"\\Windows\\MarketPlaceRegionSwitch.exe\"?WMMarketplaceFullClient.exe,-IDI_APPICON"

(With empty new line at the end)

or

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\XDA\AutoShortCut]
"\\Windows\\Start Menu\\Programs\\Office Mobile\\Adobe Reader.lnk"="\\Windows\\AdobeReaderLE.exe"

(With empty new line at the end)

or

Make a .mscr in XDA_UC folder

CreateShortcut(SystemPath("ProgramsMenu") \ "GPS\StraatAtlas.lnk" , "\" & SDF & "\MobileNavigator\RunNav.exe")

Where SDF stands for your storage Card independent of the language of the rom and SystemPath("ProgramsMenu") is the programs menu independent of the rom language.

or

CreateShortcut("\Windows\Somewhere\GPS\StraatAtlas.lnk" , "Storage Card\MobileNavigator\MobileNavigator\RunNav.exe")

The registry will then be checked at the end of XDA_UC and the shortcuts will be created. (or the mortscript will be run.

Beats me why some people are trying to copy over the shortcuts instead of doing it this way.
[Windows Mobile Apps and Games] Noonski:
Fur future Reference XD_UC Version 2 (Now in the Beta's)

Commands that will work in SDConfig.txt

Be aware that for commands with only three letters there needs to be a space between the : & \

XML: \Storage Card\Cabs\Personal.xml

XML: \Storage Card\Cabs\Personal.provxml

(To parse provisioning .xml or .provxml files Saved to ANSI)

REG: \Storage Card\Cabs\G-Alarm.reg

(To parse registry files in Windows Registry Editor Version 5.00 format)

CPY1:\Storage Card\Cabs\pim.vol

CPY2:\pim.vol

(To copy over one file, and if pim.vol is found in Cabs folder, Cprog.exe will be shut down first)

MOV1:\Storage Card\Folder

MOV2:\Windows\Folder

(Aplied to latest Beta's, but this will copy over folders and it's subfolders overwriting any existing files)

SC1: \Storage Card\Program Files\GoogleMaps\GoogleMaps.exe

SC2: \Windows\Start Menu\Programs\Google Maps.lnk

(Simple Shortcut creation)

WR1: \A File.txt

WR2: The Text That Goes Into the File

WR1: \Windows\Start Menu\Programs\Tools\Another App.lnk

WR2: 99#"\Windows\SuperApplication.exe"?AnotherAppWithIcons.exe,-IDI_APPICON

Yes for the Advanced Users. It removes Files Attributes from possible target file then deletes it before writing a new one.

Note that there needs to be a space before the written text starts! (Special NoPrize for the one that knows which file was originally under "AnotherAppWithIcons.exe")

CER: \Storage Card\Cabs\Work.cer

(Install certificates)

CAB: \Storage Card\Cabs\098MSN.CAB

(Cabs that can be installed silently without user intervention)

SCAB:\Storage Card\Cabs\098MSN.CAB

(Cabs that you want installed to Storage Card)

MCAB:\Storage Card\Cabs\098MSN.CAB

(Cabs that you want installed with full user interaction)

EXEC:\Storage Card\Cabs\something.exe

EXEC:\Storage Card\Cabs\mortscript.mscr

EXEC:\Storage Card\Cabs\Or A Link.lnk

EXEC:\Storage Card\Cabs\Or A Even a document.doc (consider this to be a regular Open or Run file as long as the file is known by system but that can be set be doing a .reg first with the file open registry settings)

KILL:AutoVer.exe

(to close running open apps, be aware there is no Slash needed)

DEL: \My Documents\Picture\leaf.jpg

(Remove read write permissions then try to remove the file, will of course not work on ROM/Windows files)

CER: \Storage Card\CompanyX.cer

Install certificate

TSK: \My Cool Theme.tsk

Apply Theme

RESET

Reset's the device be cautious as this will also kill the rest of XDA_UC. It will make a shortcut to run XDA_UC manually and also set the registry accordingly.
[Windows Mobile Apps and Games] Zepiii:
You did it ! <3 !

Will it be working too if we put our CAB in XDA_UC\SCAB folder ?
[Windows Mobile Apps and Games] Noonski:
I will get rid of the SD folder and go for a simple and clear name for the new folders as the Easy configuration needs to stay as clear as possible (as opposed to the more advanced SDConfig.txt method)

Still open for suggestions in the simple category for these folder names:

"Storage"

&

"Manual"

In this Case it was RoryB that did it ! <3 !
[Windows Mobile Apps and Games] motisu:
I'll tell you why: It is a lot simpler to just edit a .ini file with the destination than it is to mess around with coding a reg entry. I agree with you that the UC method is more elegant, but the Sashimi method is much simpler. :D

Also, from what I understand, this will not delete the original shortcut created on installation in the main programs folder. You will still have to delete them manually.
[Windows Mobile Apps and Games] Noonski:
Good, next command to also add to SDConfig.txt, is going to be

DEL:\Somefile.lnk

The reg creation method will overwrite already present links.

But then again it does not remove read write permissions so it can run into problems.

(Note to self, add permissions change to Shortcut creation just in case)(Check,Done)

I will also be looking into simple shortcut creation through SDConfig.txt, just added the commands to a few posts back.

In the beginning i chose to stay away from the .ini method as already having mortscript and registry support for these made any extra .ini method redundant.

And now i'm more for expanding SDConfig.txt functionality because it's the age old method for most.

I hope that all these new functions don't scare people as the old and simple/initial method is still available for novice users.

(Drop stuff into a folder and your done)
[Windows Mobile Apps and Games] motisu:
This sounds really good: simple for those who want it, feature rich for those who want it and are willing to invest the time to learn it. If you are interested in having someone to help in beta testing, feel free to contact me.
[Windows Mobile Apps and Games] Noonski:
I'll give you a heads up when the Standalone version (this also depends on the rest of XDA_UC)

And again you give me another idea for very a much needed small detail.

1. Call for Sashimi & PresetInstaller, so Flashing an XDA UC Rom doesn't force users switching their preferred UC Setup.
[Windows Mobile Apps and Games] motisu:
I'll be looking forward to it.:)

that sounds like and can have my cake full and still eat it!! Although I believe that once all your changes/additions are in V2, there probably will be no reason for anyone to continue using Sashimi. Although... one of the BEST reasons for using Sashimi is that it is completely independent of anything being cooked into the OS by the chef. XDA_UC ATM requires cooking by the chef to have it work....
[Windows Mobile Apps and Games] ElanMike:
OK, so I've read through this 3 times and still can't figure out how to do exactly what I want. I have Energy ROM with Manilla 2.5 and Cookie Monster. I upgrade when new rom's are available and want to automate the following so I don't have to do this manually for 2 hours every time.

1. Keep my same Manilla configuration.

2. Keep my weather and time cities as previous

3. Keep my stock lists

4. Keep the Cookie monster settings

5. Keep the same favorite people and home screen links in the same order.

6. Set up my exchange (reading some XML files on this, so maybe have this one)

The CAB install is easy of course.

What do I need to do to resolve 1 to 6? I'm guessing there are configuration files somewhere I should be copying but I can't figure out where.

Appreciate some help. Thx.
[Windows Mobile Apps and Games] Fat Boy:
I have pretty much the same needs
[Windows Mobile Apps and Games] Noonski:
I don't use all of the above.

But my tab settings and weather in Manila 2.1 where all set in the registry.
[Windows Mobile Apps and Games] SlyDogJeff77:
Still confused how to use xda_uc

OK so i saw a post on the homepage of xda today about a new tool to automate adding an email account when i flash. so AGAIN i tried to learn how to use the XDA_UC.. i tried to learn the sashimi and all the other automated install programs.

what to do..

So i have a new

JAKGmail.provxml

file ... hopefully that will setup my gmail for me.. but i dont see any option to store everything on the storage card.. like make an inbox folder for attachments etc.

i have spb wallet cab that i want to install every time.. i think i just dump that into the \\storage card\XDA_UC\ folder (i dont really care if it gets installed to the phone or the card... but i'd like it to install to the card and never have to worry about it again even if i flash!

but how about the camera... i like to have the time and date stamp infront of the file name and the only way to do that is a reg hack to save to the \\storage card\my documents\my pictures\ folder... but that's 2 settings.. so what do i need to do? make a REG file of some kind? how do i make it.. can i just use a txt editor like notepad? what should the contents of this reg file be... is there a better tutorial for this? it's been around for ever and all the cooks use it..

i've been flashing since Pocket PC 2003 but this makes me feel like an idiot.
[Windows Mobile Apps and Games] Noonski:
Just drop the .xml (rename from .provxml to .xml) file into the XDA_UC folder

Testing this tool now. Found It.

You need to open the exported file in notepad and save as ANSI.

By default the app saves it as UTF8 and DotFred Taskmanager likes them ANSI.

I have added .provxml to the Functions so you don't need to rename it for future version but it does need resaving.

Easiest way to learn registry files is:

On Windows Hold Down Windows Key+R

Type in regedit into Run box and Enter

Browse to HKLM (HKEY_LOCAL_MACHINE) >> Software >> 7z-Zip (or any other key)

Rightclick folder and choose export.

You can open the file in Notepad and edit/add it with registry keys exported by Dot Fed Taskmanager but always start with

Windows Registry Editor Version 5.00

And always leave a blank line at the end.

You can also use total Commander to edit and copy registry keys in the correct format (those folders)

@TheRest Update

Finished all the new Commands for SDConfig.txt users for V2

http://xdaforums.com/showpost.php?p=6189291&postcount=233

SDAutorun on Steroids For the Control Freaks.

Be sure to give a heads up if you think there's something really important missing.

And find more new changes for v2 in the green zone

http://xdaforums.com/showpost.php?p=3993471&postcount=4

I'll be implementing some of the new stuff to Simple User configuration tomorrow.