yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] somemorestuff:
As RoryB and I have been discussing (see posts 1465 and 1466 above) - it doesn't look like there's any clean way.

BTW RoryB - I've given up on this for now since I was having so many problems with EnergyROM I switched to RootROM (which doesn't have Bing installed & works great out of the box for SMS - and while it's non-ideal MMS works ok too--pictures aren't displayed in the thread, you have to click on them).

On another note, I am having problems installing galarm 2.1.2 or using PIMBackup as part of the script - galarm takes a "long" time to install and then has user interaction. By that point, UC has moved on to the next install - I basically have to ensure the lock is disabled for the rest of the UC file and hope I get lucky enough to hit the "finish install" button, and PIMBackup has the same issue trying to restore 1400 texts apparently doesn't make friends with UC (it usually reboots before PIMBackup is halfway done).

Can I ask for a feature to set the timeout for a particular install?

Oh, BTW - RootROM doesn't cook in SDAutoConfig - am I correctly using it by just clicking the executable after the initial boot?

Thanks!
[Windows Mobile Software Development] RoryB:
I am not aware of a pause in UC. You could remove the RESET from your config.txt file and reset the phone after you finish.
[Windows Mobile Software Development] somemorestuff:
Thanks RoryB - didn't know that was possible! I thought it might leave the phone in some weird state or something.
[Windows Mobile Software Development] RoryB:
I suggest you reset after you finish getting things set up. In case some of your installed programs, etc. need a reset after install.
[Windows Mobile Software Development] papichulothrawn:
Most Excellent

Took me 20 minutes to write the .txt and after the second pass (try), everything is installed. Thanks for this great time saver.

-R
[Windows Mobile Software Development] timolol:
Hey guys,

I'm having a few troubles setting my custom theme using autorun. I have added this line to my config.txt:

EXEC:\Windows\cusTSK.exe \Windows\HTC Black.tsk

On first boot, everything appears to go well and it says something like "running HTC Black.tsk". However, on reboot, the theme is still the default Classic Blue theme.

I'm running WM 6.5 build 23547. Is there something that I've done wrong? Perhaps there is a newer version of cusTSK.exe which i need to use? Or should I try using the "TSK:....." method instead of cusTSK. Has anybody used the TSK:... method before?

Thanks for your help!

Tim :D
[Windows Mobile Software Development] RoryB:
Does the tsk have registry settings in it to set theme in registry value?
[Windows Mobile Software Development] timolol:
Sorry, but I'm not quite sure what you mean by this. The tsk is a modified version of one of the default WM 6.5 themes (Rock and Republic black to be exact). :)
[Windows Mobile Software Development] RoryB:
tsk files are basically cab files with the theme images and registry settings in it. So I guess it would already have them in it. Are there multiple tsk files in your ROM?
[Windows Mobile Software Development] timolol:
Thanks for your help. I figured I better try using the "TSK: <tsk filename>" command - it worked beautifully :)
[Windows Mobile Software Development] Bib_x:
Hi, i have a german ROM on my HD2.

In german roms there are the following folders:

\Windows\Startmenü

\Windows\Startmenü\Programme

In wwe-roms these folders are called:

\windows\start menu

\windows\start menu\programs

How can i write the german names with "ü" in it. If i load the .xml-file in IE8, i get an error because of the "ü".

If i use %CE11% (\Windows\Start Menu\Programs) will it copy my files into the german called folder or into the folder with the wwe-name?
[Windows Mobile Software Development] yassero:
I am not concerned about settings. I only want to have my cabs installed. I have put the cabs of the apps, not requiring user intervention during their set up, in storage card\XDA_UC while the cabs of the apps, mandating user intervention during their set up, in storage card\XDA_UC\SD

I tried without SDconfig.txt & it did not do anything, only the standard ROM customization. I have then hard reset & added the attached SDconfig.txt to the storage card. It then installed the cabs in storage card\XDA_UC & neglected the cabs in storage card\XDA_UC\SD

Also I believe that UC has installed the apps to the device memory & not the SD.

Anyone can help ?

LOCK:Enabled

CAB: \Storage Card\XDA_UC\KamilM Sudoku Mobile 0.8a.cab

CAB: \Storage Card\XDA_UC\MusicID_by_FuNKeY.cab

CAB: \Storage Card\XDA_UC\Qibla_VGA.cab

CAB: \Storage Card\XDA_UC\Skype.cab

CAB: \Storage Card\XDA_UC\SMSREPORT.cab

LOCK:Disabled

HIDE:Enabled

CAB: \Storage Card\XDA_UC\SD\ARA_patch.PPC_V1.0.cab

CAB: \Storage Card\XDA_UC\SD\MOBiDIV Customization_NOI.Cab

CAB: \Storage Card\XDA_UC\SD\Mobidiv_417_EN_TSD_May26.cab

CAB: \Storage Card\XDA_UC\SD\MOBiDIV_PrayerTimes_Diamond2_B15_TSD_Jun1.Cab

CAB: \Storage Card\XDA_UC\SD\NLS _Support_ARB_P1_NOI.Cab

CAB: \Storage Card\XDA_UC\SD\SetupInit.CAB

CAB: \Storage Card\XDA_UC\SD\phoneAlarm_Pro.cab

CAB: \Storage Card\XDA_UC\SD\MobilityClient612.WM50ARMV4I.cab

CAB: \Storage Card\XDA_UC\SD\Sametime.cab

CAB: \Storage Card\XDA_UC\SD\BacklightHotfix.cab

CAB: \Storage Card\XDA_UC\SD\LumosSetupV10RC2.CAB

CAB: \Storage Card\XDA_UC\SD\tacchan23 Dusk Taskbar VGA wm6.5.cab

HIDE:Disabled

LOCK:Disabled

RST: Reset
[Windows Mobile Software Development] zukers:
I would like to create reg file which change for me default timezone in my phone can anyone help me localise this setting in registry?
[Windows Mobile Software Development] ccezar2004:
is it possible to make some sort of an exe file to run after a hard reset in order to do what UC is doing?... for the roms that are not UC coapable...
[Windows Mobile Software Development] aro:
Internet Connetion Settings via UC?

Hi,

I have UC set up for installing my cab files, and set some of my settings like backlight, user information, notification,...

One thing I can not manage is the set up of my internet connection.

In fact, after flash, my rom does an auto set up for my provider (Softbank Japan).

Unfortunately the auto set up is setting an access point, username and password, which would cause me very hight cost, as it is not utilising the flatrate I subscribed for with Softbank.

I would like to keep the name of the connection which is created by auto set up (the conenction is simply called "Softbank") but I would like to change the access point, user name and password for that connection.

Anyone knows how to put that into a xml file?

I know, UC runs before the provider auto set up.

In fact I am using Sashimi, which I run manually after first boot.

Thanks in advance for any tips.
[Windows Mobile Software Development] gln003:
you could try this table http://biega.com/special-char.html

so the

&#252

would be ü.

But you can check yourself (like proposed at the beginning of the thread). Build a cab-file with cabarc.exe eg and try to execute this. Like this:

named _setup.xml and then cabarc n test.cab _setup.xml

<!--Create "Simpleconnect" shortcut from mcsr on storage card and copy it into Startup folder-->

<characteristic type="%CE2%\test" translation="install">
<characteristic type="MakeDir" />

<characteristic type="Simpleconnect.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="\Speicherkarte\Mort\Simpleconnect.mscr" translation="install"/>
</characteristic>
</characteristic>

</characteristic>

Unfortunately I don't have an UC capable ROM but I will :)

I find this mechanism very useful and thrilling.
[Windows Mobile Software Development] fwt:
Do you mean something like "SASHIMI".
[Windows Mobile Software Development] RoryB:
Do you mean you have a ROM on your phone that does not have UC of any form built into it and you want to have your own automated UC?

Sashimi is one I have seen, but never used. There are a couple others I think.

You could write a Mortscript to do the work for you.
[Windows Mobile Software Development] HTC_FUZE:
I have problem with UC. Once flashed and phone boots to today screen, then I have to wait for 5 minutes for UC to start. Is there any setting to change the delay time?
[Windows Mobile Software Development] Austin519:
Has anyone figured out where the Facebook/Twitter/Youtube etc. settings are? Or passwords for other installed programs for that matter? It would be extremely nice to be able to export these to a cab rather than having to type them in manually.

I could find out myself, but I can't seem to find a registry program that will let me do a before and after comparison. If someone knows of a registry program that does this, please let me know. I seem to remember people talking about one awhile back but can't for the life of me find it...

Austin519
[Windows Mobile Software Development] ccezar2004:
yes... there is somewhere arround here something in the registry but it is not working...

my opinion is that we need some xml provisioning... with the registry it is not enough...
[Windows Mobile Software Development] Vernox701:
just tried a new sys 23563 and it breaks my UC i have been using sashimi. the program installs but it doesn't run. Where are places that I can look to see what has changed. Previous sys (28002,23559..etc) all work fine
[Windows Mobile Software Development] nelsonw:
I have this on my sdconfig.txt im using XDA_UC

REG: \Storage Card\xDA_UC\XML\connections_off.reg

XML: \Storage Card\xDA_UC\XML\gmail.xml

CAB: \Storage Card\xDA_UC\XML\Condor.cab

TSK: \windows\Condor GT Black Edition.tsk

Reg, cab and tsk not working... what is wrong?
[Windows Mobile Software Development] fuze_freak:
Dont know all but at least on the .tsk you have:

TSK: \windows\Condor GT Black Edition.tsk

and it should be like this:

"TSK: \windows\CondorGTBlackEdition.tsk" (no space between words)

edit it, rename it that way. It will work

and for the rest try to rename your folder from "xDA_UC" to "XDA_UC"

aee if that works
[Windows Mobile Software Development] ::indie:::
indie ::HTC HD2 Rom:: series

Thank you for your great work

I included UC in my Roms

http://xdaforums.com/showthread.php?t=692763
[Windows Mobile Software Development] :
quick question: software that require a reboot (eg. windows live) should be put inside HIDE?
[Windows Mobile Software Development] wbrown5:
Could someone check these two files to make sure they are formatted correctly? The "blank.txt" should be named "blank.xml" but I had to rename to upload. Also, where should I place the "blank.xml" file on the SD card?
[Windows Mobile Software Development] rgb-rgb:
I might be wrong, but I think you are going to need a couple of lines in the blank.xml file Highlighted in blue.

<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="accesspoint">
<parm name="DestId" value="{6343d267-19cd-4f5c-8dda-c9a248dc06f4}"/>
<parm name="Encryption" value="0"/>
<parm name="Authentication" value="4"/>
<parm name="Hidden" value="0"/>
<parm name="KeyProvided" value="0"/>
<parm name="NetworkKey" value="0000000000"/>
<parm name="KeyIndex" value="1"/>
<parm name="Use8021x" value="0"/>
</characteristic>
</characteristic>
[COLOR="Blue"]</Characteristic>[/COLOR]

<!-- Power/Backlight Timeout Preferences -->
[COLOR="blue"]<characteristic type="Registry">[/COLOR]
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="BatteryTimeout" value="240" datatype="integer"/>
<parm name="ACTimeout" value="360" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\Control\Power\Timeouts">
<parm name="ACSuspendTimeout" value="300" datatype="integer"/>
<parm name="BattSuspendTimeout" value="180" datatype="integer"/>
</characteristic>
</characteristic>

Doesn't matter where you place the blank.xml file on the SD card, but when you add it to the config.txt file you just need to have the correct path to find it.
[Windows Mobile Software Development] wbrown5:
Thanks for the reply. I will check out your suggestions shortly. On the part where you stated to make sure the path is correct in the "config.txt" file, are you referring to my "sdconfig.txt" file?
[Windows Mobile Software Development] rgb-rgb:
Yes, I meant SDConfig.txt

Sorry
[Windows Mobile Software Development] b4u2:
My XML I wrote does not work for some reason...

<wap-provisioningdoc>

<characteristic type="FileOperation">

<!--Create “7zip” shortcut from exe on storage card and copy it into Tools folder-->

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

<characteristic type="MakeDir" />

<characteristic type="7zFM.lnk" translation="install">

<characteristic type="Shortcut">

<parm name="Source" value="\Storage Card\Program Files\7-Zip\7zFM.exe" translation="install"/>

</characteristic>

</characteristic>

</characteristic>

</characteristic>

</wap-provisioningdoc>
[Windows Mobile Software Development] ectoric:
i am new to this UC..

would like to ask,

the cab installation is auto installed to storage card or program memory?

is both is able to , then how to create to make

Cab A to program memory

Cab B to Storage card memory

Thanks
[Windows Mobile Software Development] xda-developers1974:
when i created folders in XDA_UC (like XDA_UC/Start Menu/GPS) and add a .ink is created a shortcut there in my GPS folder but also one on my main menu. Is there a way to make XDA_UC only put a shortcut where I want it and not in 2 locations
[Windows Mobile Software Development] mccune:
@xda-developers1974

This is normal behavior actually. Because the GPS link was probably already in the Start Menu when you boot the device. The second icon is actually the icon YOU created.

To solve this you could use an XML file to delete the shortcut from you Start Menu.

There are XML examples on the first page of this topic.
[Windows Mobile Software Development] manski83:
Installing cab not working (nor does anything else)

I'm new to UC and gave it a try today but after two hours of working I couldn't get it working. Problem might be that I'm using a German ROM where "Storage Card" is called "Speicherkarte", but I'm not sure whether this is the actual problem.

Basically I have the following structure on my storage card:

SDConfig.txt
xda_uc\exchange-security-policy\StayUnlock.cab

The file "SDConfig.txt" contains the following content (only one line to keep it simple for starters):

CAB: \Speicherkarte\xda_uc\exchange-security-policy\StayUnlock.cab

However, running UC (my ROM (would like to post the link but I'm not allowed to :mad:) has a start menu shortcut for this) doesn't install the cab. (UC seems to run however, as I briefly get the message "Importing CER files" on my screen.) I've also tried to replace the word "Speicherkarte" in "SDConfig.txt" with "Storage Card" but with the same result.

Any hints on this?

And:

Will UC create some sort of log that can tell me what I'm doing wrong?

Is there any way to figure out which version of UC I'm using (if there are actually versions of this software out there)?

Thanks
[Windows Mobile Software Development] wergor:
i can't get my SDconfig.txt file to work. :( i tried to place it in /Storage Card/ and also tried /Storage Card/XDA_UC/ but it won't work, not a single cab file is installed and no files are copied. i'm using the latest energy rom. solution anyone?
[Windows Mobile Software Development] Nehomar_C:
Greetings from Venezuela, I am a novice cook HTCSPAIN not know if the topic is still active, but I wonder if someone can help me install a CAB that during the normal installation asks me to accept the license agreement and select a default theme to use, I want to install from the autorum but since this I blocked the interaction during the install that file I find it impossible to install in this way, but I can not install as a package from EXT, OEM.

Sorry for my English grammar but it is not my native language
[Windows Mobile Software Development] ayyu3m:
you can allow interaction with installation by the following tags before and after the cab you want to interact with

as an example

HIDE:ENABLED
CAB: \Storage Card\Interact_With_This_Cab.cab
HIDE:DISABLED
[Windows Mobile Software Development] wq200407831:
A very good training lessons. Thanks a lot!
[Windows Mobile Software Development] spam.anonym:
hi!

i have a problem. i created a .xml file to order the start menu. but it dont works :(

can someone pls check the file?

maybe i have understand something wrong.

sry for my bad english.

k.r.
[Windows Mobile Software Development] dan1967:
If one is using the same SDCard all the time, I see little sense in installing something to storage card again after a flash when you already have it there. You may need just some shortcuts or regs at the right place and edited accordingly.

There is no need for even that many times as I found out. Just look & browse for the .exe on the SD and once you launch it everything gets done. Or simply make a file cab containing all the shortcuts

As for .XML vs. CAB I am pro XML. I was using in the past one or two cabs with all the reg tweaks, but I had difficulties locating which/what inside the file (a lot of stuff in there!!). Than what I did I extracted the cab with WinZip and found a ready made provisioning file _setup.xml that just needed a little bit of cosmetics and adding some comments. Beside the (BIG) advantage of adding comments into it you can basically change the xml file anywhere & anytime, even on your ppc, while with the cab (wince made) is not that handy.
[Windows Mobile Software Development] agarcia18:
Codyppc: I suposse you have used the DoeDoe's utility... It is not perfect yet, and it includes some space and tabs after the [name].cab files. Remove all those spaces and tabs (the lines should end with ---.cab), and I think it will work ;)

Cheers
[Windows Mobile Software Development] codyppc:
i think it was two things that gave me the problems...

1. the spaces after the names

2. i had "HIDE: Enabled" in stead of "HIDE:Enabled"

notice the space between the ":" and the "E"

thanks, now today i learn the SML part. lol. fun fun

cody
[Windows Mobile Software Development] hakushox:
Anyone have any Idea why the below will not work? I have taken out all of the spaces, saved in ANSI format. Not sure what else to try. Thanks in advanced for any insight on what I might be doing wrong.

LOCK: Enabled

CAB: \Storage Card\Cabs\NoData.cab

CAB: \Storage Card\Cabs\PhotoContactsPro_ppc_v508_full.cab

CAB: \Storage Card\Cabs\Sprite.Backup6.10.cab

CAB: \Storage Card\Cabs\Tilt keyboard fix.cab

CAB: \Storage Card\Cabs\WiFiFoFum.cab

CAB: \Storage Card\Cabs\WM5torage_18.cab

CAB: \Storage Card\Cabs\wmwifirouter.cab

CAB: \Storage Card\Cabs\Resco.Keyboard_MUI.ARM.cab

LOCK: Disabled

RST: Reset
[Windows Mobile Software Development] Sleuth255:
If you could attach your actual SDConfig.txt file I could take a look at it for you. Also, what does "will not work" mean? Are you getting file not found errors?
[Windows Mobile Software Development] hakushox:
Yes that is the exact error that I am getting. It's driving me nuts. I have written the file by hand and also tried that sdconfig tool as well to no avil. Thanks for taking a look at this.
[Windows Mobile Software Development] Sleuth255:
ok, write down the names of the cabs that threw the not found error (there will be a seperate dialog box for every one). SDAutoRun will not let autorun start unless all cabs are found. Now change the names of the cabs listed to remove spaces and special characters & re-run. Tilt Keyboard fix.cab looks especially suspicious because it has spaces embedded in the name.
[Windows Mobile Software Development] hakushox:
Every single one threw out an error :), Oh my gawd hot did I miss that space, Thanks for pointing that out. Will try again now.
[Windows Mobile Software Development] hakushox:
Ok re-ran and now it can't find WM5torage_18.cab. The file is there and matches case as well.
[Windows Mobile Software Development] hakushox:
Thanks for the help Sleuth255 I was able to get this working by removing those 2 spaces and deleting and re-coping the WM5storage cab back to my sd card. I guess that file was corrupted.
[Windows Mobile Software Development] JoelC:
SDConfig.txt - please help!

Hi,

I've just cooked a WM6.1 ROM for Wizard and made it UC compliant. Cooked AutoRun.exe into windows and this then runs SDAutorun, also in Windows.

So far so good - it parses the SDConfig.txt file (which has no strange tabs or spaces after the lines!), doesn't run any of the XML statements, executes JFC_OwnerInfo.cab without any problems, and then always bombs out on the line that sets the theme, with an Error messagebox saying "\Storage does not exist!"

Two of the XML filenames previously had spaces in; I've removed the spaces and updated SDConfig.txt to reflect the changes. I've tried saving the SDconfig.txt file as ANSI or UTF-8 without any luck.

I really can't see what's causing these two problems... I've attached the SDConfig.txt, maybe someone has some ideas? I'm pulling my hair out and didn't have a lot to begin with!

EDIT: One of the problems is now solved... I set the .xml files on the Storage Card to read-only, that worked! The error message when installing the theme still exists, but as a temp workaround I am running the cusTSK from \Windows\config.txt...
[Windows Mobile Software Development] Sleuth255:
Issue with Wizard cusTSK.exe: Looks like cusTSK.exe doesn't understand spaces in the path.... because it died with a message saying "\Storage does not exist". Did you try enclosing the theme in quotes? ie:

EXEC: \Storage Card\cusTSK.exe "\Storage Card\Earth_theme.tsk"

If that doesn't work, try lifting cusTSK.exe from a different device.

Also, why not combine all your XMLs into one and use comments to delineate the various sections. I'm not sure why setting RO would make any difference but it must be related somehow to the Wizard's autorun.exe :confused: SDAutoRun doesn't check files in the XML: statement.
[Windows Mobile Software Development] Sleuth255:
How UC works

Here's a quick block layout of SDAutoRun's logic for those of you trying to debug:

(Start Here)
set failure flag to false
Look for \Storage Card\SDConfig.txt
If found
{
read a line on SDConfig.txt looking for CAB: statement
if CAB: statement is found
{
attempt to set RO flag on file
if not successful
set failure flag to true
post dialog box showing the file that failed
}
go back up to read another line unless end-of-file
}
else
{ (no SDConfig.txt found)
set failure flag to true
}
(common logic)
if failure flag is true
{
create \windows\SDConfig.txt containing one "RST: Reset" line
else
copy \Storage Card\SDConfig.txt to \windows
}
set up \HKLM\comm to point to \windows\SDConfig.txt
execute \windows\AutoRun.exe
(End Here)
[Windows Mobile Software Development] JoelC:
Thanks, I'll try a different cusTSK - although the one I'm using in Windows (which works from the Windows config.txt) is exactly the same file that, copied to \Storage Card and run from sdconfig.txt, fails...
[Windows Mobile Software Development] tsperez:
UC Stuff

Am I missing something here??? I tried reading all 16 pages of UC stuff so that I don't have to reconfigure my applications every time I flash a new ROM but I still don't know what I have to do. I think it takes me about 15 minutes to configure all my stuff on my phone (not counting re-syncing all my Outlook stuff that takes hours).

Or is it as simple as creating the SDConfig file on the storage card and the ROMS or Update programs do their magic?

TIA,

tsp
[Windows Mobile Software Development] udK:
Hi Sleuth,

My ROM (WWE) are UC compatible, can I be added to the list please?

Thanks!
[Windows Mobile Software Development] ser00405:
newbie-question:

How can select where to install the cab file when the option to choose is given (eg. device or storage card)?

thanx!

EDIT: Sorry, just found it in post # 10... :o

sometimes one let oneself be hypnotized by a text... and just don't unstand the written....
[Windows Mobile Software Development] NexVision:
UC compliant - http://xdaforums.com/showthread.php?t=364043