yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] Skrobel:
Dear serfer222,

Thank you for this excellent tool! It's awesome. I play with it for a few days but I'm still unable to finish some of the tasks. Pehaps you will be able to help me.

First of all I configured the Groups (what a brilliant feature this is!!), and everything seems working fine however I have problems to execute mortscript and provxml files

The mortscript files I use just to distribute links to installed programs around the Start Menu in the ROM. There are some programs to which I don't want to modify original cabs so I prepared myself a small mscr file which does something like:

Rename("Windows\Start Menu\Programs\Total Commander.lnk", "\Windows\Start Menu\Programs\Narzędzia\Total Commander.lnk")
Rename..........
.....
....
Vibrate(30)

another mortscript I use to delete whatever favorites are cooked in the ROMs (then I replace them with my own using PIM Backup):

Delete("\Windows\Favorites\*.*")
Vibrate(30)

Both files can be executed manually without problems and they work what they should, but when I use UC_NET to execute them, they throw a Win32Exception. This smells for me like file not found or file access denied. But why I can execute it manually without errors?

Another problem is with my provxml file. I have my e-mail settings enclosed in a provxml file. Up to now I used this file in the cab file's post-xml and it worked fine. Now, when I used UC_NET I thought I can use the provxml normally. But it throws an Error Code #: 2147500037. This is no biggie as the e-mail configuration doesn't change over time, so I can still use it in cab. But just for curiosity I thought I'd ask here.

EDIT: if about the mscr, perhaps I should experiment with the errorlevel at the beginning of my scripts...

EDIT2: Yepp, setting ErrorLevel("syntax") did the trick. The scripts now work as designed. I havent found any solutions for provxml though...
[Windows Mobile Apps and Games] wapvirus:
HTC diamond has Internal storage and no SD Card so your app won't search there and every time I start the app I have to show it to the uc_xda folder in internal storage is there a way to make this app search internal storage instead ???

reg setting or xml ??
[Windows Mobile Apps and Games] serfer222:
you can use

/base parameter in your command line.

for example /base="\XDA_UC"
[Windows Mobile Apps and Games] wapvirus:
Thanks for your help but I am a beginner to this and mortscript :confused:

but thanks for your quick answer
[Windows Mobile Apps and Games] Manicat:
No offense to webpatrick, but automatic Google translations can hardly be relied upon (I speak from experience).

I find the program very powerfull and usefull, but the Dutch translation very annoying, if not almost impossible to understand.

I have therefore made an improved Dutch translation, this time "by hand".
[Windows Mobile Apps and Games] Willy89:
Hi.

First of all: Wonderful application, really amazing!!!

It works very well.

I have a question : how can i made UC_NET install programs in my SD Card or in Mystorage instead of the internal memory of the phone ( i mean the memory signed with the / symbol)?

Thx to all
[Windows Mobile Apps and Games] {SBR}_L3GION:
it would be awesome if you could make an option to run on second boot so that I could leave first boot for carrier provisioning and runcc.
[Windows Mobile Apps and Games] b4u2:
I am not quite understanding the shortcut creation....
[Windows Mobile Apps and Games] serfer222:
i created small tutorial on this

HOWTO create shortcuts
[Windows Mobile Apps and Games] jonhdoe11112:
After running the portable version (with portable checked in right softkey menu) I'll get a 2147479552 error with the net cf apps. There's not a single error in the logfile. After running XDA_UC, I performed the requested soft reset and when I open some app's the error occurs.

I never had this with the mortscript version of XDA_UC. Any idea how to resolve this?

My structure:

Storagecard/XDA_UC/:

FS_TaskMgr.exe

PPCPimBackup.exe

latest.pim

my-personal-cabs.cab

owner.xml

It doesn't matter if I run from storage card or from devices main storage, both time I'll get the error described above.
[Windows Mobile Apps and Games] serfer222:
it's strange. can you please upload UC_NET_LOG.txt file.

maybe you have replaced some NETCF runtime files in Windows folder?

or maybe you changed some NETCF registry keys?

I searched google for this error, and found this description:

"The application failed to load required components. If the .NET Compact Framework is installed on a storage card, please ensure that this card is in place and launch the application again. If this fails, a re-installation of the .NET Compact Framework is recommended. Support info: -2147479552 (80001000)"

And if it's possible, can you tell me if these your apps can run on clean ROM, if you do not run my program?

Maybe you are trying to install other .NET runtime?
[Windows Mobile Apps and Games] jonhdoe11112:
I think you're right. There were some reg files present in the XDA_UC folder. When I move these files to another folder, run XDA_UC portable and import the regfiles manually the error won't occur.

Strange thing is that I didn't change anything in the regfiles. Only difference is that I import them manually with resco file explorer (with registry addon).

Thanks for you support!
[Windows Mobile Apps and Games] serfer222:
can you upload these reg keys?

maybe i will find out what's wrong with them.
[Windows Mobile Apps and Games] jonhdoe11112:
You've got PM...
[Windows Mobile Apps and Games] serfer222:
I see...

I think you have a problem because you overwrite whole key

[HKEY_LOCAL_MACHINE\Software\Microsoft\.NETCompactFramework]

with a lot of Assemblies keys.

Why do you need this?

I suggest clean up your reg file and remove everything that overwrites NETCompactFramework.
[Windows Mobile Apps and Games] jonhdoe11112:
Lol.. I'm glad you found your way true it..

I was just testing to overwrite some settings from another custom rom. Stange that the problem won't occur since the NETCF regkey is present.

But thanks for helping me...
[Windows Mobile Apps and Games] serfer222:
update - UC_NET v0.6 is ready

- for chefs - new option to run on any boot with any folder selected

- for chefs - new option to display given message in any language when program autoruns

- for users - wildcards are supported for Delete command. for example

StorageManager.Profiles.SDMemory\_test_del\*.txt

will delete all txt files in my folder _test_del on storage card.

check attached readme.txt for details.
[Windows Mobile Apps and Games] b4u2:
If I use option 2 to make a shortcut will this line work? I want my links to go into specific folders.

Environment.SpecialFolder.Programs\Tools\7zFM.lnk="\Storage Card\Program Files\7zFM.exe"

Edit- I tried this out and it worked like I wanted it to. Nice work Serfer222
[Windows Mobile Apps and Games] serfer222:
good to hear that =)

and you can replace

"\Storage Card\Program Files\7zFM.exe"

with

"StorageManager.Profiles.SDMemory\Program Files\7zFM.exe"

This variable should work even if your storage card will have different name in your future ROM. For example, if I use Russian ROM, Storage Card is named "Карта Памяти", but I use the same command to create shortcuts.
[Windows Mobile Apps and Games] serfer222:
update: v0.7

+ new GUI is created using Sense Interface SDK v1.39.

+ delete command now can delete the specified directory and any subdirectories and files in the directory.

+ warning is displayed if pim.vol and PPCPimBackup are used at the same time

+ small fixes.
[Windows Mobile Apps and Games] b4u2:
Downloading and trying out now...

I just used v.7 and it is very nice!
[Windows Mobile Apps and Games] sergiorus:
Hi

First time tried this new application and would like to say that it is quite good.

Have one suggestion for now

Possible to increase font where i marked on screenshots? On QVGA display hardly readable text...

PS Program show me one error which i even didn't notice while installing through XDA_UC by Noonski. Cool application.

PPS There is an error in file PACKAGE_UC_NET_v0.7.zip/ChefCustomization_Autorun/E89***.rgu, line 9, missing second slash.

REGEDIT4
[HKEY_LOCAL_MACHINE\Software\XDA\AutoShortCut]
"Environment.SpecialFolder.Programs\\UC_NET Customize.lnk"="\\Windows\\UC_NET.exe"
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\UC_NET Customize.lnk]
"Icon"="\\Windows\\Start_Icon_UC_NET.png"
[HKEY_LOCAL_MACHINE\Software\XDA\ChefCustomization]
"BootCount"=dword:00000001
"DelaySec"=dword:00000020
"Folder"="StorageManager.Profiles.SDMemory\[COLOR="Red"][B]\[/B][/COLOR]XDA_UC"
"Portable"=dword:00000000
[Windows Mobile Apps and Games] lutanica:
Hi chief,

One question: is it really impossible to make this app install some .cabs on the device's main memory and some on the Storage Card on silent mode? That would be fantastic.
[Windows Mobile Apps and Games] serfer222:
for auto-install to SD with current version - try to read here:

Jul 18th Duttys Leo Nu Era V2 discussion.

I'm going to release next version and support more languages.

If someone want to translate the strings in other languages - download attached UC_NET_Resources.zip, open it with good text editor (Notepad++ for example) and translate values. Search for

<data name="String_Button_Browse" xml:space="preserve">
<value>Select another folder...</value>
</data>

to find first string, that needs translation.

Replace "Select another folder..." with new text.

Do the same for all values.

Save file and attach it to this thread.

I will include your translations in the next version.

If someone want to fix my English - go for it =)
[Windows Mobile Apps and Games] serfer222:
[2010/07/22] UC_NET v0.8.1

(W)VGA improvements

Russian localization ready, read here to add more languages

for chefs - option to disable Exit in menu.

you can add your own message to UC_NET_WelcomeMessage.txt and save put it to your folder. message will be shown when you select this folders. (For example, imagine you have one folder for games, one for GPS and so on).

small tweaks here and there. =)
[Windows Mobile Apps and Games] hav0c:
Usefull app. Thanks!
[Windows Mobile Apps and Games] mailto_alex:
Feeds

Thanks boss.

Everything is nice, but complicated for average user . Well i don't understand a thing what you did here with all those scripts and hacks but yeah! Will try to get through all that maze :) Spasibo!
[Windows Mobile Apps and Games] AbdullahSZ:
Arabic Translation

Arabic translation is attached :cool:
[Windows Mobile Apps and Games] serfer222:
thank you for translation =)

If someone wants to test it -

http://www.4shared.com/file/3VHuiwjD/UC_NET_v083_ar.html

I don't have ROM with Arabic fonts.

And there are 2 more strings to translate for next version.

String_SecurityIsNotRelaxed

String_SecurityResetNow

(updates Resources.resx is attached as well)
[Windows Mobile Apps and Games] traianescu:
sorry, i don't understand one thing: if i have portable mode "ON" , will not install the .reg files from the xda_uc ? :confused:
[Windows Mobile Apps and Games] serfer222:
No,

it will install all reg files,

but

it will not read arguments from registry keys

[HKEY_LOCAL_MACHINE\Software\XDA\AutoShortCut]

[HKEY_LOCAL_MACHINE\Software\XDA\Delete]

[HKEY_LOCAL_MACHINE\Software\XDA\FileCopy]

[HKEY_LOCAL_MACHINE\Software\XDA\DirCopy]

Original XDA_UC uses these keys - when user wants to copy folder or create shortcut he adds keys to registry to tell XDA_UC what to do.

These registry keys are processed every time XDA_UC runs.

I added "portable" mode - you can only run commands from given folder.
[Windows Mobile Apps and Games] traianescu:
now it's clear, thank you.. :D
[Windows Mobile Apps and Games] {SBR}_L3GION:
I get this error message.
[Windows Mobile Apps and Games] serfer222:
there is [details] button at the bottom of the screen - if you click it, there will be a call stack. It's very helpful - I can see what caused the error.

Maybe you replaced SenseSDK dll files with older versions?

Can you please unzip program as it is in a folder on your storage card and then run the exe file. Does it give you the same error?
[Windows Mobile Apps and Games] {SBR}_L3GION:
i will rebuild the ROM and give you the details. If that doesnt work I will try the storage card.
[Windows Mobile Apps and Games] serfer222:
make sure you have only latest v1.39 SenseSDK in your ROM.

StedySoft.SenseSDK.dll

SenseSDK.Resources.QVGA.dll

SenseSDK.Resources.VGA.dll
[Windows Mobile Apps and Games] AbdullahSZ:
lokin' good

Hello serfer222!

Arabic is looking good :). One issue is that Arabic is a RTL language. So I have switched around some words in attempt to make it more readable. Sometimes the date/time gets mixed up with the words and I need to skip a line to separate them. Would /n skip a line?

Updated Resources.ar.resx is attached.

Screen shots are also attached. :D
[Windows Mobile Apps and Games] serfer222:
[2010/07/27] UC_NET v0.9

New presets system - more flexible customization.

You can sort you programs and tweaks and install only part of them! (And install another part later)

=)

Arabic localization is ready (thanks to AbdullahSZ)

Check if ROM security is relaxed (and fix it if needed)

DisableFinalMessage - new option for Chefs. Use it if you want to disable "...Reset Now?" dialog.

You can use comments in your portable commands. Any line that starts with a #, ; or // is a comment.

UC_NET_presets_template.zip is included to help you start use this feature
[Windows Mobile Apps and Games] {SBR}_L3GION:
all i did was change boot count to 2
[Windows Mobile Apps and Games] serfer222:
I think you have old version of SenseSDK dlls.

Maybe you have them in other packages, or you install some program that installs old version of SDK.

Can you, please, verify that these 3 files in your ROM are from the attached UC_NET package?

Does program run, if you start it from folder on storage card?

Can you, please, copy these 3 files from your windows folder and upload them here so I can check them?

Hope we will solve this soon =)
[Windows Mobile Apps and Games] serfer222:
Just found small bug:

If you have more than one Copy2Root folders only first was copied.

FIXED.

[2010/07/27] UC_NET v0.9.1

Fixed bug with Copy Folders. (thanks to log file =)
[Windows Mobile Apps and Games] {SBR}_L3GION:
alright that fixed I set in my kitchen for your program to have priority over all other packages and that fixed it thank you very much for the update its working great so far.
[Windows Mobile Apps and Games] jkolner:
Realy great app - makes flashing a new ROM much easier with the extra options compared to Tom's Autoinstall.

But i'm missing one thing. Is it possible to determine the order of installation of .cab''s?

When i install e.g. SlideIT, you have to installe SlideIT befor the Danish language file.
[Windows Mobile Apps and Games] serfer222:
You have two options:

1st option. All files processed in strict alphabetical order.

Rename your cabs like this

before

SlideIT.cab

Danish.cab

after rename

1_SlideIT.cab

2_Danish.cab

2nd option. Program will first search and use XDA_UC\1, XDA_UC\2, … XDA_UC\99 folders (1-99 in alphabetical order), before using base XDA_UC

You can create folders

XDA_UC\1

XDA_UC\2

and so on...

XDA_UC\99

and put your files to these folders to control order of installation.

each of these folders is processed like XDA_UC folder - you can have many files in each folder, Manual and Copy2Root folders and so on.

please, read first post for more information.
[Windows Mobile Apps and Games] jkolner:
Ups... didn't read it carefully enough...

Thanks ;-)
[Windows Mobile Apps and Games] jsmccabe78:
which folder would be installed first?

XDA_UC/1 or XDA_UC/Manual ?

thanks...and sorry if it has been answered. have not found it!
[Windows Mobile Apps and Games] serfer222:
XDA_UC/1

XDA_UC/Manual

all folders 1...99 will be installed before root folder.

and these folders processed as usual XDA_UC folder - so you can have

Manual and Copy2Root folders in each of these folders.
[Windows Mobile Apps and Games] jsmccabe78:
brilliant. thank you.
[Windows Mobile Apps and Games] ai6908:
Nice little app. I love it. Thanks for continuing XDA_UC development. Good job bro!

Thoughs:

1. Install mscrs last. I install cabs, and then move shortcuts using mscrs. Is there an option to change it?

2. SenseSDK dlls are used by various apps, while cooking, if not careful they all get overwritten. It can be a problem. (just food for thought)

3. Anyways to include a feature like run uc again 2nd time, and it doesnt install the same cabs, and regs again? (I think XDA_UC has this feature)

Overall, I love this, and glad to see XDA_UC getting developed.
[Windows Mobile Apps and Games] webpatrick:
Dutch translation + Translation TIP!

Hi there,

I did the Dutch (NL) translation in about one minute.

1. Opened the resource in Visual Studio

2. Copied the resources (name+value) to Excel

3. Copied the values to http://translate.google.com

4. Select the appropriate languages and click on the translate button

5. Copy the values back to Excel

6. Google accidentally translated the {..}, so replace the (0) by {0} and (1) by {1} and so on... NOTE: check the other (..) syntax, Google messed it up a bit.

7. Copy all the resources (name+value) back to the resource file

8. Save with the appropriate language extension (in my case nl-NL).

NOTE: I didn't check the grammar.

Add the file to this thread.
[Windows Mobile Apps and Games] webpatrick:
I read in a XDA_UC thread something about a "Storage" folder in the XDA_UC root.

But this doesn't work for me in XDA_UC_NET, can you confirm that?
[Windows Mobile Apps and Games] serfer222:
Yes, my program cannot install on storage card in silent mode.

It's on my TODO list and I'm working on this.

For now you can try this tip, follow link and find sashimi_sdautoinstall_(FIX ONLY).zip. But it works only on WVGA and doesn't work will all localizations.

Or you can read last version XDA_UC.mscr and create small script from the part that installs to SD.

Sub 2SD
WaitFor( Installation ,3 )
SendDown( Installation )
SendSPACE( Installation )
SendLeftSoft
While( WndExists( "Installing" ) )
Sleep(500)
EndWhile
SendOK( Installation )
EndSub

I think both ways are full of cheats =)

I'm looking for real and stable way to install cabs to Storage Card in silent mode...

Thank you for Dutch translation, I will include it in the next update soon.
[Windows Mobile Apps and Games] webpatrick:
Thank you for your quick reply. If I think I will wait for your solution, untill then I leave those CABs in the Manual folder, so I can choose where I want to install those.

I hope the resource file is OK, after my procedure. You could use the procedure yourself for other (popular) languages or (if resource is OK) add the procedure (and Excel file) to your HELP file ;).
[Windows Mobile Apps and Games] serfer222:
[2010/07/30] UC_NET v0.9.2

Presets from v0.9.1 are replaced with more powerful Groups. See attached QuickStart_XDA_UC_advanced_template.zip

Dutch translation - thanks to webpatrick

UC_NET Groups.

I want to introduce new feature - Groups.

I use this to structure my files.

Games

GPS

Contacts

and so on.

The programm will display the list of groups and let you choose what should be installed.

How to create new Group?

1. create folder in your XDA_UC folder. Choose any name you like. Groups processed in strict alphabetical order.

2. go to this new folder and add UC_NET_Group.txt file. That's it. But if you want to add some beauty - read next.

3. you can add custom name to group, it will be displayed in program. edit UC_NET_Group.txt. Fisrst line - name, second line - short description.

4. If you want to have this group "off" by default - add "off" on the 3rd line of UC_NET_Group.txt

5. Add custom icon file - UC_NET_Group.png if you wish.

Each group is processed as XDA_UC folder - you can have Manual, Copy2Root, 1, 2 and so on in each group.

And don't forget that 1, 2, etc. can have Manual and Copy2Root as well.

Play with it and organize you setup =)

Extract QuickStart_XDA_UC_advanced_template.zip to your storge card, open it's XDA_UC root, click [Customize] and you will see this menu:
[Windows Mobile Apps and Games] serfer222:
You can use 1, 2 and so on folders, or you can use Groups from new v0.9.2.

If you extract XDA_UC_NET to separate folder it's not a problem.

If you are cocking it - watch carefully.

XDA_UC just writes filenames to registry and skips them if regkeys are found.

This works somehow, but you cannot control what will be skiped...

It's on my TODO list, I'm searching for better implementation.

Thank you
[Windows Mobile Apps and Games] ai6908:
Didnt think about that...nice tip.

Overwritting and sharing the sensesdk files between apps doesnt hurt anything...so its all good now.

Thanks for your tips.
[Windows Mobile Apps and Games] ai6908:
Just FYI. UC_NET has officially replaced XDA_UC in my ROMs now.
[Windows Mobile Apps and Games] AbdullahSZ:
Thanks a lot for the update! :)

Q: How to change the interface language?
[Windows Mobile Apps and Games] kurniawan77:
Nice stuff here!! Like it! Cooking this in my rom atm.

One little question..(maybe sound noobie):

- I have placed the UC_NET_ChefCustomizationNextBoot.lnk in startup folder and

[HKEY_LOCAL_MACHINE\Software\XDA\ChefCustomization]
"BootCount"=dword:00000001

It starts up fine but some options are disabled...

Where can i find the option to enable "select another folder"? I would like to have this option for the end user...
[Windows Mobile Apps and Games] benzouzou3:
Anybody have translate that wonderful App in French or other???

what's happened!

i'm going to test a translation in FR
[Windows Mobile Apps and Games] serfer222:
Change your Regional settings in Windows settings.

Program reads these settings on start up and search for localization resources.

Default language is English. It is used if there is no resources that match current regional settings.

This is how Microsoft implemeted localization for .NET applications on Windows Mobile.

You can translate it by yourself =)

There is UC_NET_Localization_SRC.zip file, and it comes with instructions and everything else you need to make your own translation.

Yes, many controls are disabled if program runs in special ChefCustomization mode. This is done to force user start customization with given chef's folder as a root.

Anyway if user run program later it will work in usual mode with all features enabled.

I do not use this special ChefCustomization mode in my ROMs. I think it's better to create shortcut in start menu and tell users that they can run program from start menu at any time they want. PACKAGE_UC_NET does it exactly this way.

Tell me if you need to add some options.
[Windows Mobile Apps and Games] kurniawan77:
Maybe in the future...

Just another small Q...: is UC_NET fully backwards compatible with XDA_UC?

edit: on more Q...

Is there a /MoveFiles too?
[Windows Mobile Apps and Games] serfer222:
I will add Move command in the next update.

UC_NET is somehow not almost compatible with original XDA_UC.

UC_NET doesn't support .xdas files - just because I didn't see any software that is distributed in that format. All programs here and everywhere use cab files or simple copy type of install.

UC_NET doesn't install files from SDconfig.txt - I see no reason to support this feature.

UC_NET doesn't depend on the existence of either RunCC.exe or Autorun.exe in rom - you can run it whenever you want.

UC_NET doesn't run Cook.mscr in Windows folder. It doesn't install all cab files from Windows folder. I think these are obsolete features.

UC_NET doesn't install tsk files.Almost all themes released for WM6.5 are in cab format.

UC_NET doesn't disable Sense, Manila or any other shell. It just tries to replace file and if it is in use UC_NET schedules action on the next boot. This strategy works with pim.vol and, I believe, works with any other file.

So, I think, UC_NET is more user friendly.

And XDA_UC has more features for chefs.

As I spent about year developing ROMs for Iolite, I believe that these XDA_UC features are almost unneeded. For example, what's the reason to put cab files in your ROM and then install them if you can convert them to packages and save space and time?