yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] RoryB:
Here is a sample. I believe you have to state "makedir" even though it already exists.

<wap-provisioningdoc>
<characteristic type="FileOperation">
<!--Create folder in Programs called "Navigation" and move shortcuts into it-->
<characteristic type="%CE2%\Start Menu\Programs\Navigation" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Google Maps.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE2%\Start Menu\Programs\Google Maps.lnk" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
[Windows Mobile Software Development] techman28:
Do I need to add in the indents and extra spaced before the </characteristic> or are they not necessary?

Thanks for the quick reply with the example.

Edit: And this may sound stupid but, am I actually supposed to add in "<!--Create folder in Programs called "Navigation" and move shortcuts into it-->" or did you just add that in to tell me what it is doing?

Thanks again.
[Windows Mobile Software Development] RoryB:
None are needed. Indent helps me track close for each open. Comment line helps me find an operation in a group of several operations.
[Windows Mobile Software Development] techman28:
I got my provisioning XML to work and its awsome, gunna save loads of time with it. I would like to have it do a few other things but I don't know how.

What I want it to do is disable "Touch Response Settings", which is now included in NATF's rom. How would I go about doing that? How do I figure out what the registry settings or whatever are?

Is there some program that can find out the registry settings to put in my provisioning.xml?

Thanks.
[Windows Mobile Software Development] doedoe:
This is a bug with my code, the app only looks at one case (upper or lower) - Fixed in the next release. ;)
[Windows Mobile Software Development] Blitzed26:
For the life of me I can't get this to work. For some reason it keeps giving me the error that \storage card\cabs\"MyFileName.cab" cannot be found. They are all there though??
[Windows Mobile Software Development] Sleuth255:
don't put the cab name in double quotes would be my guess.
[Windows Mobile Software Development] Blitzed26:
Actually I didn't do that in the actual sdconfig.txt file. It reads:

\Storage Card\Cabs\filename.cab

The only think i don't have is the lock, show, or hide commands. (I am just not sure what these are for.)

Thanks for the help in advance!
[Windows Mobile Software Development] Noonski:
I think so

http://xdaforums.com/showpost.php?p=1911082&postcount=43

I have only tested it with files but it seams you have to use the right syntax.

So no backlsahs behind the end directory but the original needs a backslash.

Happy Testing.
[Windows Mobile Software Development] Moe5508:
...if you use WinCE Cab Manager you can pre-set your cabs to install to \Storage Card\Program Files\... instead of device memory...

It takes time to customize but it allows you to specify the location of shortcuts as well, eg to install to sub-folders in \Program menu especially for those who like grouping their shortcuts into sub-folders like \Apps, \Multimedia, \Connectivity...etc, and you only have to do it once...EVER...

If the sub-folder does not exist yet on your device, the cab installation procedure will create it for you...
[Windows Mobile Software Development] Moe5508:
You need those commands...they basically lock/unlock your device screen into/out of SDConfig mode and show/hide the user input prompts...

Please see here...LOCK, SHOW, HIDE COMMANDS
[Windows Mobile Software Development] neptune:
Great work you guys....really looking forward to this on device version also.
[Windows Mobile Software Development] anichillus:
First, big THANKS !

Second, sorry i didn't had time to read all the thread but i just wanted to say this :

You can build the cab and make it automatically install to Storage Card. That way you don't pressure the AutoRun and you still have free memory on your device.

It's pretty easy. I use WinCE Cab Manager. Just open your CAB file and re-select it's destination for the install.

Cheers !
[Windows Mobile Software Development] Blitzed26:
Thanks i understand how they work now. For some reason though I keep getting Abort: File not found.

Is there a chance that the rom isn't loading the storage card driver prior to running this? Since SDconfig.txt is on the storage card I am assuming the answer is no. The line in my .txt file reads:

CAB: \Storage Card\Cabs\livesearch.cab

Sorry for all the questions, but I can't seem to get this to work.

Thanks,
[Windows Mobile Software Development] Sleuth255:
the specific message "Abort: <cab filename> not found" comes from SDAutorun.exe when it parses SDConfig.txt for the purpose of setting RO attributes on CAB: files.

This means a lot:

1. SDConfig.txt was found and read on \Storage Card, so the \Storage Card path itself is valid.

2. SDAutorun wasn't able to locate the file referenced in the CAB: statement.
[Windows Mobile Software Development] Sleuth255:
I just found that out here myself. Post modified.
[Windows Mobile Software Development] Blitzed26:
Ok, so for some reason \Storage Card\Cabs\filename.cab is missing something than? I am using this on the mogul, does it need anything in addition to the the following line:

CAB: \Storage Card\Cabs\Livesearch.cab (and livesearch.cab is in the \storage card\cab folder?)
[Windows Mobile Software Development] Sleuth255:
try putting the cab into the root directory (where SDConfig.txt is) then use:

CAB: \Storage Card\Livesearch.cab

Work?

edit: not sure if this is a typo or not from your last post:

but if it isn't, your error is right there. ;)
[Windows Mobile Software Development] Blitzed26:
I just realized that I had a typo in 1 of the cab files, i didn't realize that it would cause all of the cabs to come up not found. Anyway, sorry for wasting everyones time.

Good News, its working!
[Windows Mobile Software Development] Blitzed26:
typo, unfortunately.
[Windows Mobile Software Development] remlle:
will it create the new directory?
[Windows Mobile Software Development] Sleuth255:
SDAutoRun won't permit autorun to execute if all the CAB: statements in SDConfig.txt aren't correct. Glad you found the problem!
[Windows Mobile Software Development] Noonski:
Maybe this is something handy for new UC users.

It's hardcoded to install to SD\Cabs\ ands root.

And contains a blank pim.vol (to replace with your own)

And one Sample Cab (touchpal)
[Windows Mobile Software Development] stan23:
@Noonski:

what are the certificates for?
[Windows Mobile Software Development] RoryB:
I use CE Regedit. It can make a copy of your settings. Then you make your changes. Then you can run compare in CE Regedit to find the setting that changed. It will also export them as a reg file.
[Windows Mobile Software Development] techman28:
So I mostly got it to work now, just one last thing I need it to do. I used the file operations to move hTorch.lnk from Accessories to Tools but now I just have \windows\start menu\programs\accessories as a folder with nothing in it. How do I set it to delete the accessories folder?

Thanks.
[Windows Mobile Software Development] RoryB:
Not done myself, but have done similar to delete a file.

<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE2%\Start Menu\Programs\accessories" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
[Windows Mobile Software Development] techman28:
Is there anyway to add something into my provisioning.xml so that the weather editor will add my town to the tf3d weather database??? Currently after every rom flash I have to go into weather editor and add back my town to the database. I'm not sure if this is something that can be added to the provisioning.xml so I thought I'd ask.

Thanks.

EDIT: And also how do I set it up to add in my owner details??? I don't understand Slueths part about the owner details with the binary part. I added in my owner details in manually and then did a registry export, and most of the parts of it show up and I understand, such as Name, Email, Telephone, but I dont see my address that I typed in, unless that is the Owner one that seems to be in Binary?? And if it is how do I add that to my XML?

Thanks again!
[Windows Mobile Software Development] gunshy73:
Owner Info

My method of translating the owner into to Base64 for the XML file:

1) Browse to your HKCU\ControlPanel\Owner

2) Open up the Owner key and Copy the entire hex value

3) Goto http://www.paulschou.com/tools/xlate/

4) Paste your hex owner information into the "Hex" input box

5) Click on the Decode button.

6) Copy the information from the Base64 box for use in your XML document.

<characteristic type="HKCU\Control Panel\Owner">

<parm name="Owner" value="pasted base64 string from step #6" datatype="binary"/>

</characteristic>
[Windows Mobile Software Development] player911:
Help with something

Hey guys. I'm trying to accomplish something that I've been fooling around with and I can't get it to work properly.

I'm trying to delete the "My Documents" folder. Everything installs and all the registry takes but on a reboot the My Documents folder is back, which I have to still manually delete. Here is a portion of my file:
[Windows Mobile Software Development] RoryB:
I think WM creates the My Documents folder because that is the default folder for sync function. There are registry settings out there on another thread, but you would lose ability to sync.
[Windows Mobile Software Development] player911:
No because I'm renaming my Storage Card to My Documents using a registry hack... thus giving me 1 unified storage folder that is linked to my memory card.

The problem is when I do the registry hack, while there is ALREADY a folder called "My Documents"... it makes my microSD card come up as "My Documents 2".

The solution is to manually delete "My Documents" and USB into PC as Mass Storage, then unplug to "refresh" it... or simply reboot.

BUT I'd like to be able to automatically delete the "My Documents" folder through my XML file, reboot, and have it setup.

I've also tried other variations which range in success. The code above makes my whole XML file be dismissed since it must not recognize the "delete" and "force" values.

This seems to halfway work... based off the first post:

At this point it accepts my XML file as other configs are installed... all except I have "My Documents" and "My Documents 2" folders which I have to attend to.
[Windows Mobile Software Development] RoryB:
Okay, I have seen elsewhere about you need to rename My Documents to MyDocs or so. Then you can create the My Documents (storage Card). I am not sure if you can delete MyDocs afterward or not.
[Windows Mobile Software Development] player911:
Renaming would work. I just need to get rid of "My Documents"........

I haven't seen anywhere where we can rename folders (although I wasn't looking hard). I'll try it and check back.

[EDIT] I don't see anything about renaming folders using the XML. I see "Copy" but not renaming. This given I'd be able to remove it later anyway.
[Windows Mobile Software Development] skyfox99:
Owner Info

I have been trying to get this one part of UC and can't figure it out. Could some one post a step by step of creating an XML for adjusting the Complete owner info settings? I know it has something to do with base64 and binary and unicode... but that is like speaking three different types of languages to a drunk guy who is trapped in a room using paint thinner while mixing bleach and ammonia. I need the settings for

Name:

Company:

Address:

Telephone:

E-Mail:

and the notes tab

I have tried so many different things, but ALWAYS get squares boxed in the owner info after UC finishes and re-boots...
[Windows Mobile Software Development] techman28:
Follow the steps from the quoted post below. I was having a lot of trouble with owner info as well and gunshy's post finally allowed me to get it right. And incase its not clear, you can use CERegEditor to get the hex value talked about below. There is a link in the first post of this thread to get CERegEditor.

Hope this helps.

EDIT: You can also use CERegEditor to turn your Owner Info into a CAB and then add that cab to your SDConfig.txt so that UC will install it after a hard reset. I tried this way also and it seems to work.
[Windows Mobile Software Development] techman28:
Is it possible to use "Delete" and "ForceDelete" on a folder? Or is "Delete" and "ForceDelete" only for files? So would I have to use "RemoveDir" to delete a folder?

Thanks.
[Windows Mobile Software Development] skyfox99:
Wow, that worked... thanks! I tried CEReg to export the reg and then do it that way, but I couldn't get it to work, it only did the owner name, nothing else. Man that was wasy. I also found a very very easy way to do it now.

Someone else pointed me in this direction, a newer version of SDConfig builder has the interface right in it.

I wish I found this earlier!

http://rapidshare.com/files/130141981/SDConfig.Builder.v0.7.85.PE.rar
[Windows Mobile Software Development] RoryB:
I am not sure you can completely remove it. Also, I don't think you can sync with the My Documents (sdcard).

http://xdaforums.com/showthread.php?t=298210

http://xdaforums.com/showthread.php?t=452594

http://xdaforums.com/showthread.php?t=259823

Better stop here to keep from hijacking this from being a UC sdautorun thread.
[Windows Mobile Software Development] RoryB:
as I said Not done myself, but have done similar to delete a file. I should have said it was a guess. I have not seen a list of commands for wap provisioning. I'll have to huunt it down when I have time. I just saw in a _setup.xml the registry settings included nooverwrite="1" whatever that means.
[Windows Mobile Software Development] karatche:
Would someone point me to a good step by step explanation and walk thru of creating a uc for my fuse.
[Windows Mobile Software Development] PTzero:
Can someone point me to a working example of a Wi-Fi provisioning XML file? Thanks.
[Windows Mobile Software Development] RoryB:
Easiest thing to do is set it up on your phone once and then run rapiconfig as described here.

It will regurgitate your settings, that way you can get what you need especially if you have WAP keys, etc.

Maybe read this too.
[Windows Mobile Software Development] PTzero:
Thanks. That was very helpful.
[Windows Mobile Software Development] 4D3:
Hi,

I just stumbled across this thread, would i be correct in thinking that this performs the same functions as SASHIMI?

Which is more efficient? I ask as i have been using SASHIMI for a while now and it is quite slow, is this faster?

Also can this perform copy actions, i.e. if i had a bunch of mp3's on my storage card that i wanted to copy into My Documents\Ringtones on my device. Is this possible?

Thanks for your help in advance.

MG
[Windows Mobile Software Development] RoryB:
I believe I saw earlier in this thread that it is similar to SASHIMI, but I do not know about the relative speeds.

You can copy files with CP1:/CP2: function on first pages, or you can copy folders with xcopyce referenced in this thread too.
[Windows Mobile Software Development] player911:
I've been using this My Documents=SDCard trick for years. That is NOT the issue.

My QUESTION was "How to use UC to delete the My Documents folder". Plain and simple. If there is not a way to delete the folder labeled "My Documents" in the root path, no biggie.
[Windows Mobile Software Development] m00moo:
my .xml doesnt seem to work at all. loaded it up on IE and it parse's fine in the browser.

ANybody can knock up the code for show 4 icons in programs and settings for diamond?

thanks
[Windows Mobile Software Development] RoryB:
My point with the information in the links was that I do not think you can delete My Documents on your device, only rename it. In reading through the links myself, I came across this statement:
[Windows Mobile Software Development] m00moo:
ok, the provisioning.xml seems to not work 100%.

did a lil test.xml and it did not work, so i copy and pasted a sample code from here which worked (weird because it is identical coding to mine). I added another few lines and again it didnt work. Tried to go back to the start and copied and paste again and this time it dont work. I repeated the same process many times and sometimes the copy and pasted code works and not works.

:(
[Windows Mobile Software Development] Bouloama:
Please post your XML.. I think your XML contains a small syntax error somewhere.

Greetz,

Boulo
[Windows Mobile Software Development] m00moo:
thing is all im doing is copying and pasting from this thread and i still get the error?

1st try - paste = works

2nd try - paste same code = not work
[Windows Mobile Software Development] m00moo:
ok i managed to get it working - kind of. I re-wrote the script by hand (zzzz) and it worked twice via advanced config so im assuming it should work now.

Just wondering does anybody know how to set the registry to control menu's? eg. settings>menu's> untick or tick etc

Also for file operations anybody know how to hide shortcuts?

thanks to all who contribute to this thread!
[Windows Mobile Software Development] RoryB:
HKLM\Software\Microsoft\Today\Items has keys for each today item. You set Enabled key to 0 to remove or 1 to add to your menu.

File operation xml can move shortcut to a different folder from any folder under start menu and it will be "hidden". You can also delete the file if you want it completely gone. See this and this.
[Windows Mobile Software Development] m00moo:
thanks for the reply. I am using a HTC diamond atm, and i think i didn't explain it too well. On the diamond i want the folders/shortcuts from the start menu gone. This is done usually by me navigating to Settings>Menus> then i would untick those i want gone.

So i would like to find that in the registry if anybody know's where its located at so i could add it to my xml.

Thanks once again
[Windows Mobile Software Development] RoryB:
Should have said

Accessories is a folder and Auto Clean! is a single item.

<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\Shell\Start Items" translation="filesystem">
<parm name="Accessories" datatype="string" value="\Windows\Start Menu\Programs\Accessories"/>
<parm name="Auto Clean!.lnk" datatype="string" value="\Windows\Start Menu\Programs\Auto Clean!.lnk"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
[Windows Mobile Software Development] m00moo:
thankyou for the help! but i dont see any "start" or "start items" in the given registry location. i get to HKLM\Software\Microsoft\Shell and theres no start or similar.

Also sorry to be a brat lol but any idea's where to find the global settings, system font sizes?

Thankyou for the help once again! appreciate it!!!
[Windows Mobile Software Development] RoryB:
If you have CERegeditor you can make a backup of your registry and then make the changes through settings. Then run the compare feature in CERegeditor and maybe you can find them that way.

We have different phones, but mine are under

[HKEY_LOCAL_MACHINE\System\GDI\SYSFNT]

[HKEY_LOCAL_MACHINE\System\GDI\V1\FontAlias]

[HKEY_LOCAL_MACHINE\System\GWE\OOMFnt]

[HKEY_LOCAL_MACHINE\System\GWE\Menu\PopFnt]

[HKEY_LOCAL_MACHINE\System\GWE\Menu\BarFnt]
[Windows Mobile Software Development] m00moo:
thanks mate! managed to delete the menu shortcuts via file operations.

will try the font/global settings!

i shall bother you no more lol but as mentioned thanks v much! :)
[Windows Mobile Software Development] m00moo:
hi everyone, as mentioned before does anybody have the registry key to alter the font size? I have those above but i believe ther must be some other reg value as i dont see those listed change when i alter the settings manually,

Phone is HTC Diamond and the settings is listed under Settings>Screen>Font

Thanks
[Windows Mobile Software Development] jctn93:
Getting Started with Customization

Hi all,

I just got an ATT Fuze. It is my first smart phone.

I want advice on how to start customizations and where

to go to get them. The big deal seems to be dealing with

default ROM that is provided which many say is sluggish.

Also, I want to put music on the phone for using the

mp3 player.

This is the first time that I have done anything like this

with a phone so I am a little intimidated by it.

Thanks for any help that you can provide.
[Windows Mobile Software Development] idenkilla:
It wont work

<wap-provisioningdoc>

<characteristic type="Sync">

<characteristic type="Connection">

<parm name="Domain" value="fhs"/>

<parm name="Server" value="mail.fhsx.com"/>

<parm name="User" value="vshah"/>

<parm name="SavePassword" value="12345 />

</characteristic>

<characteristic type="Mail">

<parm name="EmailAgeFilter" value="5"/>

<parm name="Enabled" value="1"/>

<parm name="MailBodyTruncation" value="5120"/>

<parm name="MailFileAttachments" value="0"/>

</characteristic>

<characteristic type="Calendar">

<parm name="CalendarAgeFilter" value="0"/>

<parm name="Enabled" value="1"/>

</characteristic>

<characteristic type="Contacts">

<parm name="Enabled" value="1"/>

</characteristic>

</characteristic>

</wap-provisioningdoc>
[Windows Mobile Software Development] edge540T:
Sorry, wrong posted, delete please
[Windows Mobile Software Development] donzx6:
UC conflicting with connection setup

Hi, everytime I try and flash/use UC, the device seems to launch teh connection wizard halfway through the customisation process. The device just loops/hangs from that point so that currently UC is unusable.

Anyone know how to fix it?

Thanks
[Windows Mobile Software Development] strifej:
Hi,

I did a search for ae button, ok button not working, close install and nothing came up, so I'll ask believing the info isn't here :)

SDConfig.txt works for all the unmanaged installers, but when it gets to the HIDE section for CABs that require input, I'm hitting an annoying problem.

For example, changescreen_beta (search on xda) - It'll install fine, then it'll pop up the Config Screen. At this point, the top bar (Start button and Ok/X buttons) are disabled. If I click them, I get a beep from the system.

It is NOT a problem with the HIDE uc command. I am able to click on the screen in the main area. It's just that the top bar is disabled, so I can't click Ok to close the window and handle the next managed program.

Any suggestions?

Here's my SDConfig.txt:

LOCK:Enabled

XML: \Storage Card\Installers\blackstone prov.xml

CAB: \Storage Card\Installers\sdkcerts.cab

CAB: \Storage Card\Installers\Advanced_Configuration_Tool_v3.3.cab

CAB: \Storage Card\Installers\Flashlight.CAB

CAB: \Storage Card\Installers\HD Tweak 00.5.4_English.cab

CAB: \Storage Card\Installers\rotator v4.20.CAB

CAB: \Storage Card\Installers\SIPChange.CAB

CAB: \Storage Card\Installers\total commander pocketarm 2.51.cab

CAB: \Storage Card\Installers\VolSysTab.cab

LOCK:Disabled

HIDE:Enabled

CAB: \Storage Card\Installers\changescreen_beta.cab

CAB: \Storage Card\Installers\galarm_1.4.1.cab

CAB: \Storage Card\Installers\GoogleMaps_compressed.CAB

CAB: \Storage Card\Installers\HTC Top bar.cab

CAB: \Storage Card\Installers\Pamas Transparant Slider.CAB

CAB: \Storage Card\Installers\NoCurtains.cab

HIDE:Disabled

LOCK:Enabled

XML: \Storage Card\Installers\galarm.xml

LOCK:Disabled

RST: Reset
[Windows Mobile Software Development] garyfunk:
Is there a size limit on the XML file that SDConfig can have?
[Windows Mobile Software Development] wolframio74:
i got a spanish rom, so my storage card its on folder "\Tarjeta de almacenamiento\" how i do to read all cabs in my SD card? (program say "SD not found")