yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] webleeper:
What am I doing wrong?

Any help would be appreciated. My ultimate goal is to create the shortcuts on the start menu

<characteristic type="FileOperation">

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

<characteristic type="MakeDir" />

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

<characteristic type="Shortcut">

<parm name="Source" value="\Windows\Camera.exe" translation="install"/>

</characteristic>

</characteristic>

<characteristic type="Live Messenger.lnk" translation="install">

<characteristic type="Shortcut">

<parm name="Source" value="\Windows\WLMMessenger.exe" translation="install"/>

</characteristic>

</characteristic>

</characteristic>

</characteristic>
[Windows Mobile Software Development] mfphoto1:
Ok I have read through all 73 pages of this thread several times, printed it out and even marked pertinent sections. I am still lost. Can someone please give me an outline of what order everything should be down in and which programs should be used to accomplish each step.

Basically I want to have my programs load on my SD card and register themselves. Have my owner info fill in and have all of my customization settings load up.

I get lost trying to figure out how to change my cab files so that they install on my SD card. When I try to find things in my registery I can't make sense of it.

Basically I'm one lost puppy.
[Windows Mobile Software Development] swanlm:
Whoa! Slow down! :)

1. There's an answer in the first couple of pages (post #10) which shows you can't install cabs on SD card. Try out Sashimi (I think), not sure if it supports this.

2. Start off slow - try do a SDConfig.txt which installs your favourite cabs and then build from there.

3. You need to reread the first couple of posts - all the tools are there to get started.

4. Search, rather than read 73 pages (!!!).

5. Then if you have specific questions raise them.

Good luck!
[Windows Mobile Software Development] kareeem:
So this is the only way to make it install to the storage card? I have a whole bunch of cabs and editing all of them isn't going to be lovely :-\.
[Windows Mobile Software Development] l3v5y:
I think there is a tool for doing the changing quickly...

Or, SASHIMI uses mortscript to achieve something like this...
[Windows Mobile Software Development] KwestJones:
Retards Like Me

Are there any other retards like me who can't/doesn't understand how RapiConfig works.

Here's what I did:

Exported my Owner Info from the Registry used Task Manager. I might as well put both paths that i followed cuz neither one worked...

Path 1....

i used reg-2-xml to make the exported Registry info an xml file

I put the xml file into the same directory with Rapiconfig

I ran rapiconfig: RapiConfig.exe /p goodowner.xml

And it just sits and sits....

path 2...

I put the reg file into the same directory with RapConfig

I put the xml file into the same directory with Rapiconfig

I ran rapiconfig: RapiConfig.exe /p goodowner.xml

And it just sits and sits....

My RapiConfigIn.xml looks like so:

<wap-provisioningdoc>

<characteristic type="Registry">

<characteristic-query type="HKCU\ControlPanel\Owner" recursive="true"/>

</characteristic>

</wap-provisioningdoc>

MY RapiConfigOut.xml looks like so:

<wap-provisioningdoc>

<characteristic type="Registry">

<characteristic-query type="HKCU\ControlPanel\Owner" recursive="true"/>

</characteristic>

</wap-provisioningdoc>

I know what ur thinking because I am thinking it too. This is not that difficult....however, it is what it is and its definitely a PITA to put owner info everytime.

Thanks for any help you decide to give.

Signed,

KwestJones....and I got alot of um...

I won't get into my default keyboard issues :confused:
[Windows Mobile Software Development] pvs:
KwestJones,

AFAIK, RapidConfig is used to GET the values from your phone, not to take XML and load the values it contains into your phone. One uses RapidConfig to find out what's in the registry (or elsewhere) for a given batch of settings.

The resulting output file is then used when cooking a ROM, or thereafter, in the UC stages of initial setup to put those settings back into place. This is done by editing the provxml files (cooking) or by using autorun to install the XML files.

HTH,

-pvs
[Windows Mobile Software Development] KwestJones:
Thanks

Thanks for the reply. I do know what its used for. I don't know how to use it though. I guess I need to know what that xml file is after the '/p' and what it contains, where Rapiconfig should be run from where it pulls the registry values from. I know its basic but I am missing something.

Apologies for any typos.....I'm one of those txtrs (or posters) and drivers.
[Windows Mobile Software Development] DaveShaw:
xcopyce 0v02

Hi All,

I have updated xcopyce with the following changes.

Any more bugs/requests and I'll create a new thread for this.

See here for more information.

Change Log

0v01

- Initial Development.

0v02

- No longer requires the storage card to be called "\Storage Card".

Ta

Dave
[Windows Mobile Software Development] pvs:
I'm no expert, but I've figured out that RapiConfig works well when placed ito a folder with its associated Input.xml file. That file is used to tell RapiConfig what info you are looking to query your device for. In order to use it, you need to first connect your device to the PC using ActiveSync. Then, call RapiConfig, and it will dump the requested information into an Output.xml file. This resulting file can then be used in ROM Cooking (by adding parts of the output to an existing .PROVXML file) or after cooking, in developemnt of the UC routines.

Some useful INPUT xml's I've discovered are as follows:

CM_Mappings:

<wap-provisioningdoc>
<characteristic-query type="CM_Mappings" recursive="true"/>
</wap-provisioningdoc>

EMAIL2:

<wap-provisioningdoc>
<characteristic-query type="EMAIL2" recursive="true"/>
</wap-provisioningdoc>

GPRS:

<wap-provisioningdoc>
<characteristic-query type="CM_GPRSEntries" recursive="true"/>
</wap-provisioningdoc>

WiFi:

<wap-provisioningdoc>
<characteristic-query type="Wi-Fi" recursive="true"/>
</wap-provisioningdoc>

Proxy Entries:

<wap-provisioningdoc>
<characteristic-query type="CM_ProxyEntries" recursive="true"/>
</wap-provisioningdoc>

CMPlanner:

<wap-provisioningdoc>
<characteristic-query type="CM_Planner" recursive="true"/>
</wap-provisioningdoc>

I am sure there are many many others, and I have not even scratched the surface. I have had a limited amount of luck in figuring out how to use each of the resulting output files, but I HAVE made progress, just by playing around a bit.

I wish you good luck in your experimentation.

-pvs
[Windows Mobile Software Development] KwestJones:
Thanks

Thanks...

I finally got it..........after weeks....I didn't realize the Kaiser had to be connected to run it.

Now that it is it works like a charm...truly appreciate your help.
[Windows Mobile Software Development] marcy1987:
hi! first orf all congratulation for the idea.. it's genial!!!

I'm creating my own personal UC folder, and I have a question: is it possible to make the PDA install some CABs in the SD instead of the internal memory?? thanks!! :D:D
[Windows Mobile Software Development] lennysh:
Yes, that is very possible.

But...

You'd have to actually modify the CAB itself to only install on the SD Card, or turn off the hide during just those cab installs, that way you can pick where to install it. But that puts you having to do manual stuff during the UC Run.
[Windows Mobile Software Development] marcy1987:
uhm..

Ok I think I will install my cabs manually..thanks!!!
[Windows Mobile Software Development] totaliser:
Thanks Dave, it's working 100% on my Axim X51V running Lennys ROM A09.

It even created a full directory path which hadn't even been created. I accidently deleted the line in the UC that was suppose to install that cab and create that directory.
[Windows Mobile Software Development] nlarge:
is it possible to change this:

LOCK:Enabled

CAB: \Storage Card\program files\HTC Diamond Album 2.0.18152532.1.cab

CAB: \Storage Card\program files\WaitCursor.cab

CAB: \storage card\program files\tcpmp v0.81.cab

CAB: \storage card\program files\TCPMPflvplugin-v0.4.2.cab

CAB: \storage card\program files\atifix.cab

CAB: \storage card\program files\cleartemp.cab

CAB: \storage card\program files\groupsms_v1.4.1.cab

CAB: \storage card\program files\flashvideobundle.cab

CAB: \storage card\program files\pcmkeyboarden-0.14.cab

CAB: \storage card\program files\network.wizard.cab

CAB: \storage card\program files\t-mobile_network_customizations.cab

CAB: \storage card\program files\t-moblie_mms.cab

LOCK:Disabled

RST: Reset

to this:

LOCK:Enabled

CAB: \Storage Card\program files\*.*

LOCK:Disabled

RST: Reset

assuming all cabs you want installed are located on the storage card in a folder called program files?
[Windows Mobile Software Development] DaveShaw:
You can try it, but I don't think it will work. Sorry. :(

Dave
[Windows Mobile Software Development] Noonski:
Euh..

To copy complete folders.

Wouldn't it be easy to Just copy the mortscript to the windows folder, then run the Exec:\Windows\Myjustcopiedmortcopyscripttocopycompletefolders.mscr

Or use the

CPY1:\Storage Card\Cabs\CleanOEM.mscr

CPY2:\Windows\CleanOEM.mscr

CPY1:\Storage Card\Cabs\CleanOEM.exe

CPY2:\Windows\CleanOEM.exe

CPY1:\Storage Card\Cabs\Mortscript.exe

CPY2:\Windows\Mortscript.exe

EXEC:\Windows\CleanOEM.exe

Trick,

and then make the mortscript delete itself and the Exe.

Fot those not flashing to a rom without mort allready cooked as it shouldn't be. ;)

Don't have that specific
[Windows Mobile Software Development] DaveShaw:
Good ideas.

I didn't really explore all the alternatives on how this can be done. Like most things there is more than one way to 'skin a cat'. This was just my contribution, it can work independantly of the UC process and will run on any ROM with .Net 2 in it.

I believe Sleuth is working on FCPY UC commands as well.

EDIT: BTW Grats on becoming a Mod (you have just become one right...? :confused:, I'm sure you were a Senior Member this morning.)

Dave
[Windows Mobile Software Development] nostabo:
Can't set Bluetooth on during setup

I am trying to turn on Bluetooth connectivity during the setup process, but it doesn't seem to work. I've created a cab from my xml file (as suggested by sleuth) and it runs fine. But Bluetooth is still off after the setup finishes?

Here is the snippet:

<!-- Turn the Bluetooth radio ON -->
<characteristic type="Bluetooth">
<parm name="BtMode" value="1"/>
</characteristic>

Any ideas?
[Windows Mobile Software Development] TraderStav:
I just flashed the new official rom for my Touch and had a fully working SDUpdate config file and provision for use with custom roms. How can I use those files with the official roms? I see mention of changing some registry entries to autoruncfg and the like but can't seem to get that to work and beginning to suspect that's only for cooking a new rom. I tried converting the xml into a cab but it won't work, even though it works flawlessly with SDUPdate and a custom rom.

Thanks, great tool!
[Windows Mobile Software Development] uzziah0:
The ROM has the be built with UC in it, otherwise it would be a no go.

That is why ROMs from manufacturers won't work.
[Windows Mobile Software Development] TraderStav:
Thanks, anyway to manually do it after, not an automatic load after hard reset? Just run something and it kicks it off?
[Windows Mobile Software Development] jacky_zhuxg:
Could anyone help to solve my provisioningxml problem?

below is the content in xml

<wap-provisioningdoc>

<characteristic type="Registry">

<!-- Silent Keyboard Sliding Sound -->

<characteristic type="HKLM\Software\HTC\SlidingSound">

<parm name="ActiveSlidingSound" value="0" datatype="integer"/>

<parm name="SlidingSoundEffect" value="0" datatype="integer"/>

</characteristic>

</characteristic>

</wap-provisioningdoc>

Finally I only put above in my xml file, but it still doesn't work, then I changed it to _setup.xml, creat a cab file only included _setup.xml and installed it , FAILED!!!

Could you tell me what's wrong? I'm crazy on it!
[Windows Mobile Software Development] Radimus:
can multiple XML files be applied during UC... or must it be one big one?
[Windows Mobile Software Development] stan23:
multiple.

I have one big provXML for my personal settings, one for Email and WiFi, and one for each CAB to customize :)
[Windows Mobile Software Development] Noonski:
TNX

Yeah the good old days of just being a senior.

Now i have to act like i know what i'm doing.

(still a little fidler)

As for the mort method i should have mentioned that it would need the extra autorun.exe from the mort.cab to work. And as i found out later It won't copy to folders that don't exist. But i got around that by using mort to unzip a zipfile with a directory structure.

But i'm still pushing the combination of cooking Mortscript and UC together.

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

Extends what you can customize and gives an easier way to change registry keys or re-arrange Start menu to your liking etc etc
[Windows Mobile Software Development] bengalih:
I don't want to thread hijack, but I took a brief look at your development here...

If people are wanting to cook mortscript into the ROM to extend UC then there is obviously

alot

more power to be had. All respect to UC, but one of the main reasons it is so popular is that it was first out there and people integrated it into the ROM (which was seamless being as the whole idea of it is based on sleuth's Autorun code which is available from MSDN.).

I have been developing SASHIMI for a couple of months based off Mortscript. I have even included some ("beta") options of integrating into ROMs that don't support Mortscript. As for the idea of combining Mortscript and UC... SASHIMI does that as well by basically initiaiting UC after SASHIMI is done running.

UC, as I have always said has a big advantage that it is integrated into most ROMs. Since it is simpler (read: less options) it can also be less error prone. SASHIMI's growing popularity has shown me that many people are interested in having more functionality at the risk of one or two extra screen-taps rather than the fully automated UC.

If you haven't looked at SASHIMI yet you should take a look. I say this not to advertise but more so that you don't duplicate your efforts too much as to what is already available out there. You will see that SASHIMI offers the ability to use "plug-ins" through the custom menu. Perhaps some of your scripts would be good plug-ins for SASHIMI?

In any event, just wanted to make you aware if you weren't already.

As far as UC, it looks like you guys have been doing some nice additional development (full xcopy, etc). Keep it up, as I can tell you that there is definitely interest in automating these things within the community.
[Windows Mobile Software Development] wmn79:
If you copy SDautorun on your storagecard and run it manually after a hardreset then the rom doesn't have to be UC
[Windows Mobile Software Development] Noonski:
Wasn't aware of Sashimi.

Will delve into that to ;)

But at the moment still exploring what i can do with mort While actually cooking.

Now i have to even learn more :mad:!

Heck maybe one day i'll actually give up and start learning some propper programming.
[Windows Mobile Software Development] AlexVallat:
SDConfigGen - a tool for automatically creating SDAutorun configurations

You might be interested in a new tool I've just written - SDConfigGen is a command line tool for the PC which inspects a collection of files to be installed, then produces an SDConfig.txt and other associated scripts and provisioning files to allow SDAutoRun to automatically install them.

For more information, see the SDConfigGen thread.

Perhaps it could be added to the helpful list of related tools in the first post?

Alex
[Windows Mobile Software Development] Radimus:
if I wanted to manually import/provision an XML file, how would I do so?

I keep seeing all these tools from multiple developers coming out but is seems that they are making the system more complex rather than easier.

all that REALLY needs to be done is:

* Auto install all cabs in the UC cabs folder

* import all REG or XML in cabs folder

* copy all files from cabs\files to root (including subdirs)

all the SDconfig generator tools and such are just making things more complex... prep work before reset. Just Point it to the cab folder and have it enum the cabs and regs and such and do it.

I suppose if you wanted to be full service, I could see backing up:

* Owner Settings

* Notification Settings

* Today Settings

But really, that should be done prior to the hard reset and isn't part of the UC process itself.
[Windows Mobile Software Development] DaveShaw:
If your wanting to manually run your Prov XML import, try Schaps advanced config.

SASHMI is an alternative to UC that offers more options without tweaking. Other than that, Sleuth is busy with other projects, but he will be looking at folder copy stuff later, I believe.

Thanks

Dave
[Windows Mobile Software Development] Radimus:
OK, Dotfred's Task Manager will do it.

/provxml filepath: install/process a provisionning xml file (v2.9)

OK... now to make a few mortscripts to enum cabs and install them, to install the XMLs, and then xcopy files.

The tricky part will be to get a mortscript to make the location setting to install a cab that hasn't been UC readied (and press OK)
[Windows Mobile Software Development] bengalih:
I really hate to keep advertising in the UC thread... but it sounds like what you are looking for is SASHIMI. Check out the videos and you will see it is very simple to use especially for the basic features you mention. Some of the advanced features require a little more configuration, but it is pretty straightforward.
[Windows Mobile Software Development] Radimus:
I looked at sashimi, and while it does what is needed, it does too much for UC

The whole point for UC is add your cabs and ignore it.

Perhaps sashimi lite would be sufficient

auto the UC cabs

auto the XML

auto the reg

auto xcopy

for those that want to chain manual installs, then sashimi is OK

I could see a PRE reset app, that would grab some user environment and reg it, for purposes of backup/hard reset. like Owner info, today items, notifications, alarms

I could see an app that would generate mail acct provisioning XML and save them to the UC folder
[Windows Mobile Software Development] bengalih:
I guess you didn't really look too far into it then.

It's silly to say it's too much when you can pick and choose which, if any of the features you want to use.

If you just want to install CABS, XMLs, REG files, and copy files/folders (a la xcopy) then just put all the files you want into the proper folders and click "Auto" and it installs them all with no further intervention.

Sashimi only chains manual installs when you run it in manual mode.

Additionally, if you want to continue to use your UC file for CABS (or anything else), it allows that as well.
[Windows Mobile Software Development] Radimus:
what I mean is something like this mortscript

very light and simple once mortscript and taskmgr are registered... no more editing the sdconfig.txt, no dozens of dirs (except for the $oem$\*.*)

Very similar to: http://xdaforums.com/showthread.php?p=1744019#post1744019

(the above code is just pasted together and has not been tested... only present for purpose of making an example)
[Windows Mobile Software Development] AlexVallat:
Radimus - what you are asking for is very similar to what SDConfigGen actually does.

There are only a couple of differences, mostly in the names of folders I have chosen. First, rather than putting your cabs, xml and registry files all in the Cabs folder, you need to split out the cabs into the Cabs folder, and the xml and registry files into the Settings folder. I just found that separation tidier and easier to maintain, but if it's too difficult I could add a feature to allow them all to share the same folder.

Second, rather than being \Storage Card\Cabs, it's \Storage Card\SDConfig\Cabs. I use the storage card for other purposes too, so I prefer to have all the autorun stuff under a single folder.

Lastly, rather than \Storage Card\Cabs\$oem$, it is \Storage Card\SDConfig\Files that you need to put the files to xcopy into.

There are no options you need to choose, no further complications to take, just run SDConfigGen.exe and copy the contents of the Storage Card folder into your Storage Card ready for use.

If you don't use any scripts, you don't even need to have MortScript installed or included, it's all done through SDConfig.txt. No additional software on the device is needed, just SDAutoRun.

I suppose the only way I could make it simpler would be to automatically detect a connected device through ActiveSync and copy to the Storage Card automatically... I hadn't bothered as I always do the copying to the card by putting it in a card reader, otherwise it is so slow!

Alex
[Windows Mobile Software Development] Radimus:
I DLed that yesterday and started to look at it. It does seem very straight forward. It's only shortcoming in my opinion (believe me, I'm not trying to be difficult) is the same problem I'm having with SDConfig.txt.

It has to be maintained or it is out of date...

It relies on the same weak point as the current sdconfig process. The txt file contains all the instructions and if it isn't maintained, updated when a file is added or removed autorun will fail. It isn't such an issue for a planned reset or a ROM update, as it is connected to PC, therefore using the SDConfigGen is an easy way of creating/updating the txt file.

The solution that I am looking to, is completely dynamic, put the cab or reg or xml in the folder at any time and with no modification of any file at any time and it is ready to go.

I suppose I'm really looking for the best aspects of sdconfiggen and sashimi together.

The other issue with sdconfig.txt is the reliance on the cabs being prepped for non-interactive install (removal of setup.dll, do not choose destination, etc.) It isn't a hard process, it just requires planning ahead and maintenance.

a new version of google maps comes out and you have to prep the cab (if there are any uses of wincecabmanager left) copy to folder, remove the old one, edit the sdconfig.txt

I have been looking at some mortscripts that wait for the interactive windows and select the default buttons for cab installs for cabs that need it, so... I haven't tested them yet and I can't vouch for how reliable it is, but that is kind of what I'm looking at

hmmmm, this looks interesting

http://msdn.microsoft.com/en-us/library/ms933760.aspx

http://msdn.microsoft.com/en-us/library/bb158700.aspx

I'll need to look into the unsigned issue...
[Windows Mobile Software Development] AlexVallat:
I've found most cabs will install non-interactively without any modification. Google Maps does, at least for me. I just drop them in the Cabs folder. For those cabs which throw up custom UI dialogs (like license agreements), a couple of lines of MortScript usually does the trick, I've certainly never actually modified the contents of a cab file.

If you are going to do scripts for this without using SDConfigGen (which will automatically take care of this), remember to wait for the wceload process to exit before starting to install the next cab - that caught me out for a while!

Alex
[Windows Mobile Software Development] ryano2121:
Need to make sure I have this right

I have read everything I can find and I think I am ready to do this. But I want to make sure I have it.

1. I put all my cabs on my SD card. (I have modified all my cabs to install to the storage card).

2. I put the sdconfig.txt file on the root directory of the storage card.

3. I flash the new ROM.

4. I insert the storage card into the phone.

5. The cabs should install on their own.

Am I right?
[Windows Mobile Software Development] DaveShaw:
Sounds like it should work. Give it a go. You can always Hard Reset and try again :D

Dave