yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] RoryB:
I did not see those in my files, but now I know it can be very subtle. I'll have to do more review of my files.

UPDATE: Still cannot get it to work. The xml file works if I run it through regedit "install provisional XML" feature, but not through sdautorun as XML: \filepath\filename.xml.
[Windows Mobile Software Development] sevenalive:
I got mine to work with rapiconfig. I used rapiconfig to query all of the registry changes, email, wifi. it created a config of all the data i wanted. I made a few changes and applied it with rapiconfig and the changes worked.

Now i just hope the file operations i made will also work.
[Windows Mobile Software Development] equinox2355:
I am trying to figure out how I can put exchange settings into my Provisioning XML file. Thank you in advance!
[Windows Mobile Software Development] sfxc13:
check out this post:

http://xdaforums.com/showpost.php?p=2139553&postcount=550
[Windows Mobile Software Development] RoryB:
RapiConfig and CERegistryEditor with rgu-2-xml are useful tools. All right here.

http://xdaforums.com/showpost.php?p=1899755&postcount=17

http://xdaforums.com/showpost.php?p=1976062&postcount=211

http://xdaforums.com/showpost.php?p=1976062&postcount=211

http://xdaforums.com/showpost.php?p=2069284&postcount=475
[Windows Mobile Software Development] equinox2355:
Thanks so much! this is exactly what I needed.
[Windows Mobile Software Development] phr0zthae:
Thanks for this guide. I've always wondered what they ment with UV..

Now I know, so thanks!
[Windows Mobile Software Development] srulikuk:
Creating CAB file for instlation directory

Hi,

I followed your advice and installed WinCE CAB Manager, however i never created a cab file before, i tried to edit the instllation directory but it only shows some tree without option for Storage card! please see thescreen shot in the below and let me know if you can help me! (there is a option for 'Hard coded Path' but checking that does not give any other options to put in a direct path!)

Many Thanks
[Windows Mobile Software Development] sfxc13:
You can either write in the hard path for the directory you want or click new folder and create the directory you want. Storage card is usually \Storage Card\ but check your phone before setting it up
[Windows Mobile Software Development] RoryB:
Start where you are in the image above. Select "New Folder" and type "Storage Card" without quotes. Then select "Storage Card" and click "New Folder" to add the subfolder. Repeat to get the file path you want.

You may be asked if you want to hard code path or it may say something about storage card, but it is okay. I do not remember right exactly what it says.
[Windows Mobile Software Development] srulikuk:
tnx for your replies sfxc13 & Rory B

sfxc13

the 'hard coded path' does not allow me to type in a dir!

Rory B

thanks for that! i tied to follow the instructions from http://xdaforums.com/showthread.php?p=2073456&highlight=directory#post2073456 looks lik eits the same effect but the long way around!

i will test it tomorrow and update you how it goes.

once again thanks for the replies!
[Windows Mobile Software Development] slydog43:
why PPCPimbackup won't run

anyone know why UC wont run the PPCPimbackup program. it says something about Storage, but everthing else works fine.

Code:

LOCK:Enabled

CAB: \Storage Card\Disks\Utils\galarm_1.0.3.cab

LOCK:Disabled

HIDE:Enabled

EXEC:\Storage Card\Disks\PPCPimBackup.exe

HIDE:Disabled

LOCK:Enabled

XML: \Storage Card\SDSProvisioning.xml

LOCK:Disabled

RST: Reset
[Windows Mobile Software Development] l3v5y:
It'll probably say "\Storage not found". No idea why it pops this, but ignore it and all should run fine.
[Windows Mobile Software Development] Noonski:
Use a Copy command to copy PimBackup to Temp Folder in Phone memory and then execute it from there.

The EXEC: doesn't always like spaces in the path
[Windows Mobile Software Development] slydog43:
ppcpimbackup

that was it, but still can't runa restore from UC as I can't tap the OK button in the upper right corner (it hidden) any ideas?
[Windows Mobile Software Development] Noonski:
Use the Pim.vol Copy trick for Contacts and Agenda.

CPY1:\Storage Card\Cabs\pim.vol

CPY2:\pim.vol

Then only use PimBackup for the SMS and Mails.
[Windows Mobile Software Development] slydog43:
shortcut moving

having trouble with

<wap-provisioningdoc>

<characteristic type="Registry">

<!-- Custom Menus -->

<characteristic type="%CE2%\Start Menu\Programs\Media" translation="install">

<characteristic type="MakeDir">

<characteristic type="BT Audio.lnk" translation="install">

<characteristic type="Move">

<parm name="Source" value="%CE2%\Start Menu\Programs\BT Audio.lnk" translation="install"/>

</characteristic>

</characteristic>

</characteristic>

</characteristic>

</characteristic>

</wap-provisioningdoc>

trying to move short from \windows\startmenu\programs to \windows\startmenu\programs\Media

any ideas or samples that work, thanks
[Windows Mobile Software Development] DaveShaw:
Try the FileOperation Characteristic instead of registry.

<characteristic type="FileOperation">

I have a Registry and a FileOperation Chracteristic in my ProvXML File :)

<wap-provisioningdoc>
<characteristic type="Registry">
<!-- Reg Stuff -->
</characteristic>
<characteristic type="FileOperation">
<!-- File Stuff -->
</characteristic>
</wap-provisioningdoc>

Ta

Dave
[Windows Mobile Software Development] RoryB:
Also you need the end slash: <characteristic type="MakeDir" />

My example:

<wap-provisioningdoc>

<characteristic type="FileOperation">

<!-- Create folder in Programs called "Explorers" and move shortcuts into it -->

<characteristic type="%CE2%\Start Menu\Programs\Explorers" translation="install">

<characteristic type="MakeDir" />

<characteristic type="Opera Mini.lnk" translation="install">

<characteristic type="Move">

<parm name="Source" value="%CE2%\Start Menu\Programs\Opera Mini.lnk" translation="install" />

</characteristic>

</characteristic>

</characteristic>

</characteristic>

</wap-provisioningdoc>
[Windows Mobile Software Development] ticktock:
Help?

Anyone spot my error?

For reference this is what I am testing now...

from SDConfig.txt

LOCK:Enabled

CAB: \Storage Card\Install\Cabs\FreeCaddieWM.CAB

XML: \Storage Card\Install\Cabs\make.xml

LOCKisabled

RST: Reset

from make.xml

<wap-provisioningdoc>

<!--Move Shortcut-->

<characteristic type="FileOperation">

<characteristic type="\Windows\Start Menu\Programs\Golf" translation="install">

<characteristic type="MakeDir" />

<characteristic type="FreeCaddie.lnk" translation="install">

<characteristic type="Move">

<parm name="Source" value="\Windows\Start Menu\Programs\Freecaddie.lnk" translation="install"/>

</characteristic>

</characteristic>

</characteristic>

</wap-provisioningdoc>
[Windows Mobile Software Development] DaveShaw:
My changes in Bold and red :p

Dave
[Windows Mobile Software Development] Noonski:
Why not just add the reg settings to a Cab ;)

Missed your previous post, long time no see.
[Windows Mobile Software Development] ticktock:
Tried making your suggested changes, Unfortunately it still is not working. FreeCaddie gets installed just fine, then it kicks off the make.xml and doesn't work. The strange thing is, that if I remove the move command and just leave the MakeDir in, it seems to work fine, however of course only the folder gets created. Is there another way to test the xml updates besides clear-ing storage everytime?
[Windows Mobile Software Development] DaveShaw:
schaps advanced config will let you import prov xml files and test them.

Ta

Dave
[Windows Mobile Software Development] ticktock:
Thanks for the info. I appreciate your help. :D
[Windows Mobile Software Development] ticktock:
Woot I got it... Thanks.
[Windows Mobile Software Development] slydog43:
thanks for UC moving menus

Thanks, got all my UC stuff working, even moving shortcusts around

here it is if anyone needs (change BT Audio.lnk etc)

<wap-provisioningdoc>

<characteristic type="FileOperation">

<characteristic type="%CE2%\Start Menu\Programs\Media" translation="install">

<characteristic type="MakeDir" />

<characteristic type="BT Audio.lnk" translation="install">

<characteristic type="Move">

<parm name="Source" value="%CE2%\Start Menu\Programs\BT Audio.lnk" translation="install"/>

</characteristic>

</characteristic>

</characteristic>

</characteristic>

</wap-provisioningdoc>
[Windows Mobile Software Development] bronko_1993:
hey, i made up a SDConfig.txt, but it seems that when i put it in my storage card and hard reset my device, the pocket pc freezes when customizing itself, exactly when the text shows "Running SDAutoRun.exe ..."

i made up mine like this :

LOCK:Enabled

CAB: \Storage Card\My Documents\Program PDA\fp7_ppc_en.cab

CAB: \Storage Card\My Documents\Program PDA\RSSHub-storage card.cab

CAB: \Storage Card\My Documents\Program PDA\HTCDiamond CommManager.cab

CAB: \Storage Card\My Documents\Program PDA\GoogleMaps_compressed.cab

LOCK:Disabled

RST: Reset

does anybody can explain to me why my phone freezes? i really confused about this. thanks.
[Windows Mobile Software Development] Noonski:
Are the cab files set as read only?

Or Try a path with less spaces, like the suggested \storage Card\Cabs.
[Windows Mobile Software Development] bronko_1993:
oh, does the cab files need to be set as read only? i didn't know that. my bad :p

alright, i guess i'll give a shot later on. thanks anyway.
[Windows Mobile Software Development] ticktock:
hmmm

Interesting issue here, When I Clear-Storage, my XML file to move icons does not work, however when I fire up advanced config and import the XML file it works like it should. I can see UC execute the xml, so I know the path is right, and I know the XML is right thanks to advanced config. Any ideas?

For reference here is my xml:

<wap-provisioningdoc>

<!-- Moving the Icons -->

<characteristic type="FileOperation">

<characteristic type="%CE2%\Start Menu\Programs\Tools" translation="install">

<characteristic type="MakeDir" />

<characteristic type="Total Commander.lnk" translation="install">

<characteristic type="Move">

<parm name="Source" value="%CE2%\Start Menu\Programs\Total Commander.lnk" translation="install"/>

</characteristic>

</characteristic>

<characteristic type="PHM RegEdit.lnk" translation="install">

<characteristic type="Move">

<parm name="Source" value="%CE2%\Start Menu\Programs\PHM RegEdit.lnk" translation="install"/>

</characteristic>

</characteristic>

<characteristic type="TickerTape.lnk" translation="install">

<characteristic type="Move">

<parm name="Source" value="%CE2%\Start Menu\Programs\TickerTape.lnk" translation="install"/>

</characteristic>

</characteristic>

<characteristic type="Simple TipCalculator (Active).lnk" translation="install">

<characteristic type="Move">

<parm name="Source" value="%CE2%\Start Menu\Programs\Simple TipCalculator (Active).lnk" translation="install"/>

</characteristic>

</characteristic>

</characteristic>

<characteristic type="%CE2%\Start Menu\Programs\GPS & Nav" translation="install">

<characteristic type="MakeDir" />

<characteristic type="FreeCaddie.lnk" translation="install">

<characteristic type="Move">

<parm name="Source" value="%CE2%\Start Menu\Programs\FreeCaddie.lnk" translation="install"/>

</characteristic>

</characteristic>

</characteristic>

<characteristic type="%CE2%\Start Menu\Programs\Online" translation="install">

<characteristic type="MakeDir" />

<characteristic type="PocketPuTTY.lnk" translation="install">

<characteristic type="Move">

<parm name="Source" value="%CE2%\Start Menu\Programs\PocketPuTTY.lnk" translation="install"/>

</characteristic>

</characteristic>

</characteristic>

</characteristic>

</wap-provisioningdoc>
[Windows Mobile Software Development] RoryB:
I do not know why, but I have not gotten my file operation xml to work in UC, so I just run it after I run UC.

I just thought of something I am going to try next time I get a chance. I am going to copy the xml file to the device's root directory like xcopyce is done and then use this short clean path for the xml and see if that works.

Did not work. Xml files just don't work for me unless I run them through regedit or advanced config.
[Windows Mobile Software Development] ticktock:
Well, i've got an extremely ugly hack, I added an XML file for each shortcut I needed to move and that seems to work. For all the files that are moveable on startup, apparently some files are locked until reset? Can anyone confirm?
[Windows Mobile Software Development] patterns:
hi guys,

ive read the first page and several pages a few times now and still cant get my head round this

can anybody be kind enough to explain an idiot proof way of UC? sdconfig.txt - i must create this? then copy to my storage card?

im really confused
[Windows Mobile Software Development] l3v5y:
You need to create the sdconfig.txt with the links to cabs via CAB: \... and XML files via XML: \... and have it end with RST: RESET, then copy that to the root of your storage card (\Storage Card\sdconfig.txt) and then you need a UC compatible ROM.

To just install cabs, the following would suffice.

CAB: \Storage Card\Cab1.cab
CAB: \Storage Card\Cab2.cab
RST: RESET
[Windows Mobile Software Development] stoker:
How I copy entier folder

Hello,

I have a folder with a lot of manila files (64 files) modified and I need to copy in

windows folder

how I copy all files from \Storage Card\Install\Windows to \Windows directory ?

I tried

CPY1: \Storage Card\Install\Windows\ (is my path to my manila files)
CPY2: \Windows\

in SDConfig.txt but not work :(

Thanks!!
[Windows Mobile Software Development] DaveShaw:
XCopyCE FTW!

Ta

Dave
[Windows Mobile Software Development] stoker:
Thanks!!!!!!!
[Windows Mobile Software Development] bigray327:
Does Outlook store email/text signatures in the registry? If so, where? I looked in HKLM/Software/Microsoft/Inbox and HKCU/Software/Microsoft/Inbox with no luck.

Thanks much,

- Ray
[Windows Mobile Software Development] RoryB:
I could not find one in my googling. I even tried ceregeditor backup and compare to see if anything changed in the registry.

I also tried sorting files by date after changing the signature to see if I could find a file recently changed in windows as well as other directories.

The only thing I found, but I do not speak the language.

http://blogs.msdn.com/windowsmobile...t-setting-properties-on-message-accounts.aspx

If you find it, you have got to share.
[Windows Mobile Software Development] snugboi:
wireless for hp ipaq hx2790b

HI I currently own an hp ipaq hx2790b I have it currently upgraded it to wm6. Everything works fine but the wireless part of it. Now the reason I have upgraded to wm6 was because in windows mobile 5 prmeium the wireless stopped working. I noticed that in the wirless settings it said that the driver was not loaded and it says the same thing in wm6.. Is there a specific driver for the wireless device or should it be included in the os? Thank you in advance
[Windows Mobile Software Development] thafath:
Install a Cab to the storage card

Thank you very much for the great tool.

I used the information on this post to automate some task on my Diamond (emails, wifi, regional setting, ...), but I was using Sashimi. Everything is working fine.

I'm looking to switch to UC, and I want to know how we can install the cab to the storage (If possible). I searched the post and looked on the wiki, can't find.

Thank you.
[Windows Mobile Software Development] DaveShaw:
Short answer, you can't.

Long answer, you have to change the CAB (using WinCE CAB manager or similar) to install to the Storage Card by default.

Thanks

Dave
[Windows Mobile Software Development] RoryB:
When you want automatic cab install to install the program to your SD card you need to edit the cab file to change the default install directory.

Use a program like WinCE Cab Manager to edit your cab file.
[Windows Mobile Software Development] thafath:
Thank you very much Dave.

Thank you very much RoryB.

I will try WinCE CAB Manager.

Thanks.
[Windows Mobile Software Development] psychoholica:
This is a noob question im sure but its driving me nuts. I bought a program and want to enter a registry key to set the serial number when I flash my rom.

The key doesnt exists so I need to create it, what am I doing wrong?

My SDConfig.txt looks like this and installs CABs just fine:

LOCK:Enabled

CAB: \Storage Card\XXXXXXXXX.cab

XML: \Storage Card\_setup.xml

LOCK:Disabled

RST: Reset

My _setup.xml sets exchange settings just fine after the final </characteristic> I have the following to hopefully create the registry key:

<characteristic type="Registry">

<characteristic type="HKCU\Software\SOFTWAREAPP">

<parm name="Serial" value="XXXXXXXX1" datatype="integer"/>

</characteristic>

</characteristic>

I load the _setup.xml in IE and it throws no errors but it wont create the key for me.
[Windows Mobile Software Development] RoryB:
Try adding this I added to your quote.
[Windows Mobile Software Development] psychoholica:
Thanks for the help, I tried added that but Im still not getting the key added. In fact, even though I see a lot of activity with _setup.xml during the later stages of the ROM flash none of my exchange server settings are being added either. If I remove the new part of the xml that adds the key my exchange settings will be added. Im screwing something up with this bit of code, any idea what it is? By deleting the bold code everything works, with it in place none of this gets added.

Thx!

<wap-provisioningdoc>
<characteristic type="Sync">
<characteristic type="Connection">
<parm name="Server" value="XXXXXX"/>
<parm name="User" value="XXXXXXX"/>
<parm name="Domain" value="XXXXX"/>
<parm name="Password" value="XXXXXXX"/>
<parm name="SavePassword" value="1"/>
<parm name="AllowSSLOption" value="1"/>
<parm name="useSSL" value="1"/>
</characteristic>
<characteristic type="Settings">
<characteristic type="PeakDays">
<parm name="Sun" value="0"/>
<parm name="Mon" value="0"/>
<parm name="Tue" value="0"/>
<parm name="Wed" value="0"/>
<parm name="Thr" value="0"/>
<parm name="Fri" value="0"/>
<parm name="Sat" value="0"/>
</characteristic>
<parm name="PeakStartTime" value="0800"/>
<parm name="PeakEndTime" value="1800"/>
<parm name="PeakFrequency" value="-1"/>
<parm name="OffPeakFrequency" value="-1"/>
<parm name="SyncWhenRoaming" value="1"/>
<parm name="SendMailItemsImmediately" value="1"/>
<parm name="ConflictResolution" value="1"/>
<parm name="BodyTruncation" value="1024"/>
</characteristic>
<characteristic type="Calendar">
<parm name="Enabled" value="1"/>
<parm name="CalendarAgeFilter" value="0"/>
</characteristic>
<characteristic type="Contacts">
<parm name="Enabled" value="1"/>
</characteristic>
<characteristic type="Mail">
<parm name="Enabled" value="1"/>
<parm name="EmailAgeFilter" value="5"/>
<parm name="MailBodyTruncation" value="5120"/>
<parm name="MailFileAttachments" value="0"/>
</characteristic>
</characteristic>
[B]<characteristic type="Registry">
<characteristic type="HKCU\Software\gMeterCar" translation="filesystem">
<parm name="Serial" value="XXXXXXXX" datatype="integer"/>
</characteristic>
</characteristic>[/B]
</wap-provisioningdoc>
[Windows Mobile Software Development] RoryB:
Have you tried running them as two separate xml files with or without what I added?
[Windows Mobile Software Development] TVDinner:
So I have been putting off and putting off setting this up and every time I flash a new version of NATF's ROM I curse myself for not setting it up already. I have read the first 20 or so pages of this thread and much of it is very confusing for me since i am not a full time coder, lol

My question is this. If I JUST create the SDConfig.txt file like the one shown below, will all the cabs I put on the list install automatically when I put the memory card into the FUZE after flashing a new ROM?
[Windows Mobile Software Development] techman28:
So I just started using UC and I love it. No more installing one by one of all

my cabs when I flash a new rom. One thing I was wondering about is, is

there a way to have the UC script move files from one location to

another? I know about CPY1 and CPY2, and I use it for pim.vol,

but it copies files, doesn't move them. What I want to use it for

is once it installs all my cabs it doesn't always put them in the

right folders under Programs. Usually it puts them just under

Programs and not in specific folders like Games, Tools, etc. So I

was hoping there was a way to move them in a similar way to how

CPY1 and CPY2 works. Can anyone help me out with this?

Thanks.
[Windows Mobile Software Development] suntopper:
Skyfire cab

I've also just started. I've been able to install all my cabs except Skyfire. It installs and asks to press "next" to continue. Problem is there are no softkeys displayed. Anybody have a solution to this? It's not that much of an issue because one cab to install is better than 12!

Now it's on to registry settings!:D

Edit: Guess I should mention I have an xv6900 running NFSFAN's manilla 2D ROM
[Windows Mobile Software Development] RoryB:
User Customization runs after the ROM's customization after every hard reset. So you have to have your card in before the hard reset gets done with the ROM's customization.

Oh yeah, this assumes your ROM is UC ready.
[Windows Mobile Software Development] RoryB:
Use file operation type xml. Take a look back at the beginning and read about that.
[Windows Mobile Software Development] TVDinner:
rory, thanks for the response. I am using NATF's ROM which is UC ready.

So is this correct?

1) make the file as instructed and put on memory card as instructed

2) flash new rom with memory card in phone

3) new rom is installed and the cabs will also be installed

is this correct?
[Windows Mobile Software Development] RoryB:
Two choices.

1) Edit CAB file, but am not sure how to get rid of the "next" request.

2) Make that your last CAB file and add HIDE:Enabled and LOCK:Disabled on the two lines before it. This should let you see the "next" statement and select it.
[Windows Mobile Software Development] RoryB:
Some say not to flash with the card in so what I have done is insert the card after the ROM is staarted and before it gets to customization. Usually while it is asking me to calibrate the screen.
[Windows Mobile Software Development] TVDinner:
sweet and thanks. I will try this before the next time I FLASH Natf's ROM
[Windows Mobile Software Development] metal450:
Apologies if this has been mentioned - I did search around a bit but to no avail...

I've gotten pretty much everything I want setup via UC, with just one exception: the following setting doesn't seem to be in the registry, nor could I find an option for setting it in the doc describing how to provision Email accounts with XML:

Options->(account)->Send/Receive Schedule->Advanced Settings->"Send/receive when I click send" and "Keep them on the server"

Anyone know where these options are stored??

Thanx :)
[Windows Mobile Software Development] psychoholica:
Ok so I created a second file, _serial.xml. After _setup.xml executes I can see that _serial.xml runs. However, if i look in the registry the key does not get created. The _setup.xml does install my exchange server settings so I know that is working. This is all the code for _serial.xml. All Im looking to do is create a key.

<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\Software\Appname" translation="filesystem">
<parm name="Serial" value="XXXXXX" datatype="integer"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>

Thanks
[Windows Mobile Software Development] RoryB:
May be minor detail, but I've seen some change the order in the parm as I did above. I do not know if it will make a difference, but anything that works would be great. Good luck.
[Windows Mobile Software Development] techman28:
Can you, or someone, write up in a reply post the script to move Google Maps.ink from \windows\Start Menu\Programs to the \Windows\Start Menu\Programs\Navigation folder which is already created, so I can see how to write an xml to move shortcuts and stuff?

I am trying to learn how to write my own Sluethprovisioning.xml but it is pretty complicated.

Thanks.