WM_BackupLauncher - Autorun EXE file from Storage Card - Windows Mobile Development and Hacking General

Hello all. I developed a custom Titan Build 21042 ROM kitchen, and one of my initial primary goals was to have the phone first boot with the radio off (details here) and then automatically restore my backup. The backup is stored on the Storage Card. Well, I have come to find out that Autorun can NOT run an EXE with a space in the path (as is the case with \Storage Card\).
I wrote this little piece of software to work around the issue. It will only run 1 EXE. A future version may run multiple commands (if I get enough requests).
The file "\Storage Card\WM_BackupLauncher.txt" tells the program what EXE to run. If you wish to run an EXE from the Storage Card in your Autorun, simply put the whole path to the EXE in "\Storage Card\WM_BackupLauncher.txt" and call WM_BackupLauncher.exe from your Autorun. This EXE must be cooked into your ROM. I have attached a ZIP'd copy of my OEM package for this program (In my Titan kitchen, I included this file in my "dj13241_UCAutorun_radioOff" USER_OEM package).
WM_BackupLauncher.exe will just exit if "\Storage Card\WM_BackupLauncher.txt" doesn't exist or the EXE referenced in the TXT file doesn't exist. If you wish to use the auto-restore functionality, create the file, and put the full path (without quotes) to the exe used to restore your backup.
SPB Backup WM_BackupLauncher Instructions:
-Copy your latest backup file to \Storage Card\SDConfig_Files\LatestBackup.exe
-Create \Storage Card\WM_BackupLauncher.txt with (no quotes):
"\Storage Card\SDConfig_Files\LatestBackup.exe"
-Follow normal restore procedure. I always click Customize Restore, uncheck System Data, click Next twice, click Options, check Force ROM upgrade mode, click Done, click Next, Select ROM Upgrade Mode on the dropdown, and uncheck Overwrite existing items, keep clicking Next until restore process starts.
PPCPimBackup WM_BackupLauncher Instructions:
-Copy PPCPimBackup.exe to \Storage Card\SDConfig_Files
-Create \Storage Card\WM_BackupLauncher.txt with (no quotes):
"\Storage Card\SDConfig_Files\PPCPimBackup.exe"
-Follow normal restore procedure
Please let me know what you think, as well as any bugs (which I don't think exist).

Related

Autoinstall a set of CABs (possible?)

Hi, i have updated my device to the mr. clean image.
Now i have to install all software. So i create a folder on my storage card with all necessary cab files.
Is there a possibility to have them all be installed with one click? For example to create a Batch to install them one after another?
Hope not to ask silly questions.
TheGulOfDedra
try this;
example;
This '\Storage Card\2577\autorun.exe' is an official M$ way of autolaunching programs from SD card, well described in MSDN...
If you put calc.exe into this folder and will rename it to autorun.exe, it will be automatically launched upon inserting this SD card in. So your calculator will pop up...
make a folder in the root of the sd card called [2577] put the cab files into the folder ,reboot the device .it should install,
alternative; use the autorun from the extended-rom to launch the files.you my need to do some editing intiothe config file.
Thanks - how can i "see" the extended rom? Editing a config file is no problem for me.
TheGulOfDedra said:
Thanks - how can i "see" the extended rom? Editing a config file is no problem for me.
Click to expand...
Click to collapse
use "TOTALCOMANDER"
download ,install then open the prog ,write the folowing in totalcomander,[extended_rom] now you should see the contents of the extendedrom,you can use totalcomander to copy any file to any location.
download from here; http://www.ghisler.com/ce.htm
thank you very much to all
Problem is...all your CABS will be installed to their default installation directory (mostly Main Storage).
What I would like to know is how to make all CABS install to the Storage Card or a directory specified in the config.text?

ReLoad v0.1 Beta

ReLoad
This is a MortScript script written to simplify reinstalling cab files, and restoring files back to the device from a zip file on the trinity.
More information about MortScript at http://www.sto-helit.de
-v.01 Initial Release
Known Issues
-Cab files that initiate the installation of another cab file ie.Wisbar Advanced
-How to setup:
1)Extract Reload.rar to your storage card.
2)Place cab files in the CabsAuto folder if you want to the cab to be automatically installed to the device (installation to automatically install to the storage card is currently not available).
3)Place cab files in the CabsManual folder if you want to be able to choose where to install the cab.
4)Place file in the Backup.zip file that you want to be restored.
ie. If you wanted example.jpg to be placed in the \Windows folder, place example.jpg in the Windows folder of the zip file.
*Please note that the cab files placed in the CabsAuto folder need to conform to only asking the user for the installation destination, then showing installation successful/unsuccessful. Otherwise you might encounter some
problems. You should place cabs that don't conform in the CabsManual folder, or adjust these cab files with programs such as WinCE CAB Manager.
-How to use:
1)In the Reload folder, execute Run1st. Click ok the the window that pops up. This just installs MortScript
2)Execute Run2nd. This will initiate the script that will first install the CabsAuto, then CabsManual, and finally restore the files in the zip file.
Use at your own risk.
Download
http://rapidshare.com/files/29964511/Reload.rar.html
Thx, that's a good idea.
is there a way to have it restore registry entries from a .reg file?
Is there a way to install certain cab files on RAMDisk/Storage card without individually clicking the install option??
@racerx_
Currently there isn't a way to restore the reg file directly. But you can create a cab from the reg file and then have that cab automatically installed.
MortScript wasn't able to read in the reg files i saved with resco explorer, so I gave up on doing it this way. For right now the easiest way is to create a cab file with WinCE Cab Manager.
@c_shekhar
The best way to install the program to the Storage Card, backup the reg (and any possible files installed on rom), then create a cab from this.
This post has alot of good information on this.
http://forum.xda-developers.com/showthread.php?t=277727
yeah, i've been trying like a madman to get win ce cab manager to make a cab of my .reg file.. but when i click on 'import' and try to grab the .reg file it tells me it's only for registered versions of the program.. is there another way i'm not seeing? cause right now the only other options i see for registry entries is to manually create them one by one which doesn't sound very exciting hah
thanks for the help..
@racerx
What OS and version of WinCE Cab Manager are you running. I heard of some problems with the newest version of WinCE Cab Manager with Vista. I am running version 2.1.0.35.
If that isn't it, you might have run the program past its initial trial use.
hmm.. Win Ce CabManager is 2.1.0.50 running on xp.. still got 17 uses left.. sigh..
Maybe i missed something. Just in case, what button or command are you using to get your .reg file into WinCE? I was using the 'file' 'import' command.
@racerx
That's the same way I do it. I would find an older version and try it again.
Reload V0.2
I made a couple of changes to the script for a rom we are going to be releasing soon...it checks if Backup.zip exists and only does the unzip if it does...I also added a SDBackup.zip for files to unzip to Storage card (specifically exe's and dll's I've already upx'd to shrink them but reinstalling the cabs replaced them again so this puts them back)....
#ReLoad
#v.02 Initial Release
#Use at your own risk.
#v.02 Extract files from SDBackup.zip to Storage Card
If(Question("Do you want to ReLoad?", "Reload 0.2", "YesNo")="No")
EXIT
EndIf
Run("Storage Card\ReLoad\Bin\Message_Running.mscr")
RegWriteDWord("HKLM", "Comm", "AutoRunFlag", "0")
RegWriteString("HKLM", "Comm", "AutoRunCFG", "\Storage Card\ReLoad\CabsAuto\Config.txt")
#Create Config File
Delete("\Storage Card\ReLoad\CabsAuto\Config.txt")
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "SHOW:\Storage Card\ReLoad\Bin\ReLoad.bmp^NL^")
ForEach x in files { "\Storage Card\ReLoad\CabsAuto\*.cab" }
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "CAB: ", 1)
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", x, 1)
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "^NL^", 1)
EndForEach
#CabsAuto Install
RunWait("\Storage Card\ReLoad\Bin\AutoRun.exe")
#CabsManual Install
ForEach x in files { "\Storage Card\ReLoad\CabsManual\*.cab" }
RunWait(x)
EndForEach
If (FileExists("\Storage Card\ReLoad\Backup.zip") )
#Restore files from zip to main storage
UnzipAll("\Storage Card\ReLoad\Backup.zip", "")
EndIf
If (FileExists("\Storage Card\ReLoad\SDBackup.zip") )
#Restore files from zip2 to storage card
UnzipAll("\Storage Card\ReLoad\SDBackup.zip", "\Storage Card\")
EndIf
KillScript("\Storage Card\ReLoad\Bin\Message_Running.mscr")
If(Question("Finished ReLoading.^NL^Do you want to reset?", "Reload 0.2", "YesNo")="No")
Exit
EndIf
Reset
Very good soft, it works nice !!
The only difficulty for the french users is to replace in the script "Storage Card" by "Carte de stockage"
Thx men for this !!!
Nice soft,
I could use FAMAN WM6 on my trinity now !
French translation and modification is (seem to be) ok.
Just wait the OK from the boss and I'll give you !
Edit : Why don't you use the LOCK:Enabled in the header and LOCKDisabled on the end of the config file ? Thxs in advance.
I use SettingsSavior on my Trinity mainly for its similar auto-install functionality
Hello,
Thank you for this very useful tool
My .cab are removed after using Reload. How can I keep my .cab on my SD after a new installation ?
Thank you for your help.
Guillaume
__________________
SPV M700
FAMAN 4.03.FR
1.50.08.11
2.79.7020.19H
can this software reinstall cabs, copy skin files in programs installation directory (eg pocketcm skin) and reconfigure mail and exchange accounts ?
OOPS delete this post.

real simple request for all developers out there...

So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
shogunmark said:
So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
Click to expand...
Click to collapse
And how much do you pay for it?
Here it is...
shogunmark said:
So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
Click to expand...
Click to collapse
Here it is...
The applications is a command line application an works with 2 paramenters. 1º is the full path of the file or files patter that want to copy, in your case "\Windows\PalmMsgV001", other examples could be "\Test\log*" or "\*.txt". 2º is the full path of the destination directory without the date directory, in your case "\Storage Card\Back_up\Palm_back".
In the attached zip I include the application (CopyBackUp.exe) and the shortcut (.lnk) with the parameters required for your case ('CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back_up\Palm_back"').
Just extract the .exe to the root folder ("\") and the .lnk wherever you want (ie. "\Windows\Start Menu").
Any small donation would be appreciated.
Enjoy...
finthamoussu said:
Here it is...
The applications is a command line application an works with 2 paramenters. 1º is the full path of the file or files patter that want to copy, in your case "\Windows\PalmMsgV001", other examples could be "\Test\log*" or "\*.txt". 2º is the full path of the destination directory without the date directory, in your case "\Storage Card\Back_up\Palm_back".
In the attached zip I include the application (CopyBackUp.exe) and the shortcut (.lnk) with the parameters required for your case ('CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back_up\Palm_back"').
Just extract the .exe to the root folder ("\") and the .lnk wherever you want (ie. "\Windows\Start Menu").
Any small donation would be appreciated.
Enjoy...
Click to expand...
Click to collapse
This worked perfectly.. and am more than happy to kick you a small donation!!! pm me and let me know where to send it!
and also as i am looking at the shortcut, it appears that in theory you could make this little exe copy whatever you want, just would have to edit the short cut.. interesting...
shogunmark said:
and also as i am looking at the shortcut, it appears that in theory you could make this little exe copy whatever you want, just would have to edit the short cut.. interesting...
Click to expand...
Click to collapse
Yes, it tried to make it a bit more generic that what you were asking for, so maybe it could be usefull to somebody else
CopyBackUp V1.1
Attached is the new version of the application.
The changes are:
The first 2 parameters still being the same.
The next parameters are optional, and works as follow:
New commands:
·-kb[List of processes to Kill Before the backup is made]
Kills the specified list of processes before the backup
·-rb[List of processes to Run Before the backup is made]
Runs the specified list of processes after the backup
·-ka[List of processes to Kill After the backup is made]
Kills the specified list of processes before the backup
·-ra[List of processes to Run After the backup is made]
Runs the specified list of processes after the backup
·-noui
Runs the application without showing windows messages (only “Invalid Arguments” is showed)
These commands can be used multiple times, are case insensitive, and before backup commands and after backup commands are executed as they appears.
Sample:
copybackup.exe “/Directory with spaces/*.log” /Test –rb /test/test.exe /test2.exe –ka test2.exe –kb aaa.exe –NoUI –ra “/dir dir/bb.exe” –KA b.exe
This will
1.1. Run /test/test.exe
2.2. Run /test2.exe
3.3. Kill aaa.exe
4.4. Perform the backup of “/Directory with spaces/*.log” to /Test/[Date]
5.5. Kill test2.exe
6.6. Run “/dir dir/bb.exe”
7.7. Kill b.exe
All this without Windows UI messages
The application will fail only if some of the processes to run is not found, It won’t fail it some process to kill is not found.
Enjoy.
well i did find error.. maybe..
If i use:
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup"
Then it does as mentioned before...
If i manually kill messagingapp.exe first and use this then it works, it will copy the file and run the app:
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup" -ra messagingapp.exe
But if i leave messagingapp.exe running it will not kill it or copy the file, just throws up an error box that says "error":
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup" -kb messagingapp.exe
and i did verify that the process is running
shogunmark:
Are you sure that have extracted both files in the same directory?
This problem looks like copybackup.exe is not finding in the same directory OpenNETCF.dll.
This dll is needed when you use -kb or -ka, as is used to enumerate running processes.
I have made the test copybackup.exe /*.log /test -kb iexplore.exe and it works perfectly (Kills Internet Explorer before)
Can you cheek this?
Cheers
Hi finthamoussu,
Your application sounds really cool. I can appreciate the running processes fuctionality as that is a little bit tricky in .net. Good work!
Regards,
Slither2006.
I think this is a really useful app. Forgive my ignorance but where do you run the exe on the PC or on the device?
If on the device do we need to copy OpenNETCF.dll there as well? Which folder?
Thanks
gekkkko said:
I think this is a really useful app. Forgive my ignorance but where do you run the exe on the PC or on the device?
If on the device do we need to copy OpenNETCF.dll there as well? Which folder?
Thanks
Click to expand...
Click to collapse
Hi, you need to copy both files to the device (to any folder you want).
An to use it just call the exe with the parameters you need (look at previous post).
Enjoy

sUC - suiller UC way [9 Feb 2010]

ABOUT
The purpose of this CAB is to reach a sort of UC way but with a very easy & friendly approach
HISTORY
I come from Diamond world, so because this CAB can be adapted for other platform/devices why not preparing a separate sUC.cab to use for enabling ALL the stuff (ramdisk, pimbackup,ram recovery,etc...) included in Dia Duit rom series?
what have I to do with this cab?? simply it will apply these features:
Latest stable MortScript is inscluded & ready to go, so no more needs to install as separate cab
Choose between 3 speed profiles: 1. fast (takes more ram & battery), 2. balanced (not heavy tweaked but not funny) & 3. untouched (default WM6 settings)
GPS profile: TomTom, iGO, Navigator or default WM6
Everyday auto recover RAM feature (at 4.30AM) + automatic sms/contacts/calls backup/fav manila people (trough pre-configured pimbackup app, PimBackup included)
Ramdisk (2Mb) feature (optional)
A new way for a fully automated CAB/REG/EXE/CPY installation/copy after every hard-reset/rom upgrade
UPX executable, compress (fully automated) exe files from fresh installed cabs, this saves space & gives faster app load times
Easy & fast tweaking method without 3rd part software: tweak registry scripts (with comments)
Tips enabled by default to preserve a bit more battery life (for ex 3 secs of led blinking instead 5, increased battery life counter,etc) + increased speaker sound volume + many example for setting automatic alarms, rings, etc...
Moved MAIL + Attachments folders from main memory (My Device) to external one (Storage Card)
3 / 4 rows configuration
This should work on every WM based rom, also because I added the auto recognition of "Storage" name... so should work without troubles also on NON WWE roms (except for CABi installation)
DOWNLOAD sUC.cab HERE
DOWNLOAD sUC_source.zip HERE
BEFORE INSTALL (mandatory)
create in your "Storage" (the BIG one) a folder called "Backup and Restore", then inside it a folder CAB (inside this another folder called CABi), then at the same level of CAB folder create a folder called CPY, then REG, then EXE
so practically your basic structure should be like:
Code:
Storage Card (or whatever name)
=> Backup and Restore (folder)
=> CAB (folder, put here all the cabs you want install on main memory)
=> CABi (folder inside CAB folder, specific for "must go into Storage", see notes)
=> REG (if present all reg files here will be joined to default WM registry)
=> CPY (if present all files here will be copied under their correspondent folders)
=> EXE (if present all .exe & .mscr files will be launched)
all files in the CAB folder will be installed (automatically) into "device", the ones in the CABi folder will be installed into "Internal Storage" (or whatever you have, always automatically), from REG folder all *.reg/*.rgu files will be loaded on the fly, from CPY all files will be copied (with overwrite) into correspondent folders (for ex useful for copying personal dlls, wav/wma/mp3 files or background, etc...), for finish from EXE folder will be launched your executables (personally never needed, but who knows?) & if present all *.mscr scripts... pay attention to exe files that needs user interaction
INSIDE THE CAB (a deeper explanation)
when your sUC cab is installed it simply creates a registry entry under [HKLM\init\]"Launch69"="2ndboot.exe", this permits the script 2ndboot.mscr (launched by 2ndboot.exe) to be loaded upon system reboot (just one time)
this script, if the structure mentioned above isn't found, it will create automatically all the folder & default reg files needed under your storage card, the name isn't important because it should guess itself its correct name, so don't care if your storage is called something like "MyBigStorageCard"
then it will ask you some questions... such as if you use ActiveSync, which GPS performance adopt, etc... all this info, which at 1st you'll pay high attention, will be stored under your storage card in a file called config.txt ...why?? simple... because next time you will flash or hard-reset your phone you wont have to push a button the script will found that previous stored config file & it will take all the info needed for final rom configuration to skip all annoying questions after every upgrade/HR
note: there is also an hidden option that should be used only by experts, to enable this option simply add by hand to your config.txt file the line: FastInstall=1
this will skip all countdown menu & messages... personally I use this option because flashing a lot this saves much time more
next it will look in the CAB folder for installing your CABs into "device" or main memory
next in the CABi folder for installing CABs into your storage card (you need to do this just 1st time, I'll explain later...)
next it will look at a file called upxlist.txt (must filled before), where simply you will specify all the *.exe file you want to compress after every cab installation... for example your upxlist.txt could look like:
Code:
\Program Files\Navigator\TomTom Navigator.exe
\Program Files\9.5 Beta\Opera9.exe
\Internal Storage\Program Files\Binaryfish\All Mobile Mines\All Mobile Mines.exe
note: every line for every EXE file, pay attention that you can compress just EXE files coming from extra CABs, because EXE files present in the rom are read-only
next it will copy a set of basic reg files with many tips/tricks/examples inside, useful for making many customizations
note: of course if you have previously prepared the folder structure & you have copied your REGs files under the REG folder they will be processed together the files above
next it will look in the CPY folder and will replicate the found folder structure (with files too), for example create inside it a folder \windows with some file inside & it will copy all found files under \windows on your device, or create \program files\myapp & it will create that folder structure in your device, of course it works also for Internal Storage even if it has no sense, anyway just a note it doesn't create empty folder, to create an empty folder just use a single .mscr script (something like: MkDir("\mydir") ) & copy it in your EXE folder
next it will look in the EXE folder & will launch all the exe files inside it, if found it will launch also all *.mscr scripts
next if found (you'll understand better upon an HR), it will ask you to restore your backed-up start menu, so you don't have to re-arrange your icons again
next if found, it will ask you to restore your last PIM backup & will reboot
notes:
right now CABi procedure works only on WWE roms (due to translations work to be finished), anyway there is a trick to skip CABi installation, or better make by hand just once (read few lines below)
installing cabs into Storage Card sometimes will fail, this simply because some cabs need confirmation/accept license & so on, so don't expect will work 100%, also many cabs require to be installed into main memory so NOT into Storage Card, for ex I use to install into Storage Card simple cabs such as games
sometimes pim backup restore can fail, try to restore by hand after installation; backup are divided into week days (monday, sunday, etc... "Last" is the last saved backup)
if you put sUC.cab in your CAB folder wont re-processed of course, useful if using sUC together with UC/UC2 installation method (see at bottom)
if you still use the 1st sUC release way your personal scripts still work like before, simply move them under EXE folder, or transport as reg entries directly into your personal reg file & copy it under REG folder, you can find on the same folder some examples (to clean all your old stuff simply empty the REG folder, modded REG files wont be touched on future upgrades)
you don't need to re-install every time your CABi, just install them once, then on next upgrade answer No or simply edit your config.txt & change the correspondent value; after CABi installation on a clean boot go with your explorer under "\windows\start menu" folder & re-organize your start menu structure (cut/past links, create/delete folders, etc...), remember to don't delete "Settings" folder even if empty, then go under sUC menu & backup your StartMenu, on next upgrade sUC will detect start menu backup & it will reinstall automatically... because the content of your storage card isn't erased after a rom upgrade/hard-reset your installed CABs will stay there untouched, so backed-up start menu has inside correct links
is possible to move TomTom, iGO, Navigon, etc... definitively into your storage card, so you don't need to install them every time: copy entire nav software folders from \program files to \internal storage\program folders, re-create icon shortcuts (copy/past as shortcut in your start menu), for iGO you have to edit sys.txt (under iGO folder) & change the path of base installation
in the same way is possible to skip for example FingerKeyboard installation from related cab, simply take a look at this short guide
INSTALLATION
note: to migrate in every new sUC version simply move your reg mods in your Personal.reg file, erase all the rest of reg files because they will be re-generated with the new ones, remember that on upgrades reg files wont be touched so pay attention on what you mod
if the rom is UC compliant simply create a called SDConfig.txt file in the root folder of your Storage Card, for example your SDConfig.txt could look like (pay attention to upper-lower case & no empty lines):
Code:
LOCK:Enabled
CAB :\Internal Storage\Backup and Restore\CAB\sUC.cab
LOCK:Disabled
RST: Reset
in this way at reboot will start standard sUC procedure (remember MortScript is included & also that sUC cab wont be re-processed even if present in CAB folder), instead if the rom isn't UC compliant simply install sUC as any normal cab, then it will ask to restart (or restart manually) & automated procedure will begin on reboot[/b]
bye,
davide
OK, that's all very nice, but WTF is it?
Wouldn't hurt to have an "about" section in the post for ppl who see this thing the first time in their life.
GENIAL !!!!!!
aiiro said:
OK, that's all very nice, but WTF is it?
Wouldn't hurt to have an "about" section in the post for ppl who see this thing the first time in their life.
Click to expand...
Click to collapse
yep... you right sorry, I'll correct soon...
suiller
OMG~ You finally made it available!!! I'm going to test it with my HD and will report back once everything is organised
I didn't mean to sound rude, sorry... Anyway, thanks for the addition, but still - what is UC? User Configuration? Could You post some screenshots too to make it more comprehensible for dumbusers like me?
jackkkkk said:
suiller
OMG~ You finally made it available!!! I'm going to test it with my HD and will report back once everything is organised
Click to expand...
Click to collapse
oh FRIEND! I found you
yep, I'm looking here around to see if my mad projects can be useful
the cab isn't still perfect but should work, of course I haven't a different device from diamond so all you will be a sort of beta tester
I've removed all specific diamond stuff, so it should work
Of course this is just a starting point, I'm dedicating much time to develop this small piece of "software", thx also to many other friends
You know as it works, so you should feel a bit like at home
aiiro said:
I didn't mean to sound rude, sorry... Anyway, thanks for the addition, but still - what is UC? User Configuration? Could You post some screenshots too to make it more comprehensible for dumbusers like me?
Click to expand...
Click to collapse
yep you are right... UserConfiguration, the only difference is that you don't need to write any config file, at least not as "normal" user, it's enough to copy under correct folders the CAB plus other stuff you want installed/loaded after every flash/hard-reset
I'll porvide soon a video-guide, so it will be for sure more clear
OK, OK, nuff with making fun of me Or were You seriuous with video guide?
Cos I just had a brilliant idea - I'll install the damn thing and look for myself
I think I should have done that in the first place. But still, I believe screenshots would save some time understanding what's it really about.
Yeah Screwed Up Click for life
no no I'm serious friend... but I'll suggest to wait a couple of days because I'm working on a new version where is possible to cut-off all the specific HTC/manila stuff & above all I'm re-commenting all the registry entries that interact with OS
no no I'm serious friend... but I'll suggest to wait a couple of days because I'm working on a new version where is possible to cut-off all the specific HTC/manila stuff & above all I'm re-commenting all the registry entries that interact with OS
Hi,
really don't want to be rude or offence, but ... isn't this something like SASHIMI????
If so ... where are sUC's pros?
kind regards
fwt
almost... but it's very very simple... I'm testing an heavy modified version able to run on almost every WM6.x base device
OK the CAB is ready for testing purposes... please re-read 1st post because I'm making a better, I hope easier, description of features... thx
bye,
davide
Mate, this piece of software is plain GENIUS!
So much easier than the UC thing, with all the boring scripting. This way you just place in folders, and you are (mostly) done! Amazing stuff!
I have some questions/requests for you though...
Is there a way to repeat the procedure (restore at 1/2 start up), at a later time? This could be useful, for example, if some files get corrupted, or you just want to revert back to default cabs/settings, etc. So I guess what is needed is a way to manually activate the procedure.
Second thing is regarding mail settings. Is there a way to back this up? My hotmail settings get destroyed after every HR.
Cheers.
Forgot to mention, a manual activation of this procedure would also help if (for example) you want to make multiple program installations. This way you could just use the folder CAB, without wasting time on every single program you are installing/testing...
Cheers
krale said:
Forgot to mention, a manual activation of this procedure would also help if (for example) you want to make multiple program installations. This way you could just use the folder CAB, without wasting time on every single program you are installing/testing...
Cheers
Click to expand...
Click to collapse
hmm... it could be a good idea... even if some phases can't be reverted, or better it's very complicated to "go back"... such as for ramdisk
anyway many phases are yet accessible as indipendant scripts just take a look under "\Backup and Restore\scripts" folder, of course other script could be extrapolated but I'll do probably on next version... let's say this is a testing purpose version because I have to "think" that this app must work on many (almost all I hope) wm6.x based devices
As one of the end (l)users who first saw this in Suiller's Dia Duit rom series, I can attest to this resolving one of the major grievances of Windows Mobile rom-upgrades. With some "smart" planning ahead, getting everything back can now be mostly scripted by simply placing the install file in the correct directory. Same with restoring data from your pimbackup, or adding registry settings. Once again we have a case where the xda-developers have surpassed the "offficial" roms in user friendliness.
I have since moved on to WM6.5 (still on my Diamond), but I sorely miss sUC from my later roms.
//Svein
updated sUC, corrected some small issues
I corrected some default/samples reg files, so I suggest to erase all default *.reg files under REG folder to update correctly
move your personalization to something like "MyRegPers.reg"
please reports here bugs/issues/suggestions or whatever... thx

[App]~Visual UC V1.0 Beta~(Update for little bugs)

Introduction
Visual UC is a small script based on MortScript.With it you can backup and restore your own settings easily.It can Automatically install cab files,import reg or xml files,copy files to destined directory and restore your PIM after a hard reset.This is similar to XDA_UC.However,it also provide a visual method to do this.Another feature is that you can use it to backup files,registries and PIM.
Functions
Code:
1.Install CAB files to device
2.Install CAB files to SD card(Not test on wm6.5)
3.Import and export REG files
4.Configure XML or PROVXML files
5.Copy files to Start Menu,StartUp and Windows
6.Define operation to restore or backup files
7.Restore and backup pim.vol
8.Auto restore if your ROM contain Visual UC as a package
9.Auo backup your defined operations
10.Support extra language pack([COLOR="Red"]Now only WWE and CHS available.Hope your help for translation[/COLOR])
Installations
1.Unzip the file to \Storage Card\My Document\Visual UC .VUC.mscr and ES.mscr must be placed in the root of Visual UC.
2.Use DotTaskMgr in Copy 2 Windows to import VUC.reg.
3.Copy all the files in Copy 2 Windows to \Windows.
How To Use
1.Folder Explanations
●Cabs for cab files.If you want to install them to storage,put them into "Storage".But I advised you don't do this,because sometimes it need you manually complete the task.
●Files for the files you want to copy.The subfolder name is the destined folder you want to copy to.
●PIM for PIM.VOL
●Regs for registry files.The regs in subfolder will be imported after a hard reset when the rom you use contain Visual UC as a package.
●Xmls for xml or provxml files.
2.Auto BackUp or Restore
●Auto Restore will conduct all the operations that is enabled in settings of Auto Restore
●Auto BackUp is disabled by default,you can use Add To Auto to include the operation in Auto BackUp.
3.Define Operations
●In BackUp Files or Define in Copy Files.Select Add to start an item.A name will be asked to input for the item firstly.Secondly,you can choose Select File to select the source file or Select Folder to select the source folder(Caution: All the files including subfolders will be copyed).Thirdly,select the target folder which the files are copyed to,you will be asked whether to create a subfolder to contain the source files(Do it and name the folder after source folder if the source folder is a program that you want to copy it to \Program Files).
●In BackUp Regs,a name is also required at first.Secondly,you can choose Select to select the path of a registry key(Cautionue to MortScript's max number of an array.In HKCR,some of the keys can not be displayed and DONE button is missed) or Input to input the key path(main key must be selected first and no "[]" in the path).Thirdly,choose the target folder for the registry files(Regs folder is recomended for later restore)
●You can rename,modify,delete the item.If you add the item to auto,it will be conducted in auto restore or backup.
4.Option
●In Change Path you can change the path of CAB REG FILE or XML folder,but I recommend the default Path.
●You can backup,restore or reset VUC settings in the Option.The backup file is named visual uc.reg and located in the root of Visual UC,the file will be imported first when it Autorun after a hard reset.
Extra Script Introduction
1.Auto BackUp.mscr can automatically backup files registries and PIM.VOL .However,you should define them first.
2.Load VUC.mscr is used to load VUC.mscr and run it to silently restore after you flashed a ROM that contain Load VUC.mscr.You must put Visual UC folder in either of the three path:\Storage Card\,\Storage Card\My Documents\,\Storage Card\Program Files\.
3.Cook.mscr.You can modify it or rename your own script to the name.The script will be run in auto restore.
4.ES.mscr is a component of Visual UC.It show the process of Auto BackUp or Auto Restore.
Credit
My thanks go to Mirko who develop MortScript which makes my script possible,Noonski whose XDA_UC inspires me and help me to solve lots of problems and Dotfred whose TaskMgr is a very powerful tool(the script use it to import or export registry files and Config provxml files).
If you want to donate,you can donate them.
Statements
You can freely use and modify the script.But I take no responsibility to the data lose the script may bring to you.MortScript and DotTaskMgr are also free software,before you use it you should read their legal statements first.
This is a beta version.So there may be some bugs.You can post the bugs on XDA or just send me an E-mail to let me know.I will be appreciate if you tell me your advice.
Reserved for future use
jent.le said:
Introduction
Visual UC is a small script based on MortScript.With it you can backup and restore your own settings easily.It can Automatically install cab files,import reg or xml files,copy files to destined directory and restore your PIM after a hard reset.This is similar to XDA_UC.However,it also provide a visual method to do this.Another feature is that you can use it to backup files,registries and PIM.
Functions
Code:
1.Install CAB files to device
2.Install CAB files to SD card(Not test on wm6.5)
3.Import and export REG files
4.Configure XML or PROVXML files
5.Copy files to Start Menu,StartUp and Windows
6.Define operation to restore or backup files
7.Restore and backup pim.vol
8.Auto restore if your ROM contain Visual UC as a package
9.Auo backup your defined operations
10.Support extra language pack([COLOR="Red"]Now only WWE and CHS available.Hope your help for translation[/COLOR])
Installations
1.Unzip the file to \Storage Card\My Document\Visual UC .VUC.mscr and ES.mscr must be placed in the root of Visual UC.
2.Use DotTaskMgr in Copy 2 Windows to import VUC.reg.
3.Copy all the files in Copy 2 Windows to \Windows.
How To Use
1.Folder Explanations
●Cabs for cab files.If you want to install them to storage,put them into "Storage".But I advised you don't do this,because sometimes it need you manually complete the task.
●Files for the files you want to copy.The subfolder name is the destined folder you want to copy to.
●PIM for PIM.VOL
●Regs for registry files.The regs in subfolder will be imported after a hard reset when the rom you use contain Visual UC as a package.
●Xmls for xml or provxml files.
2.Auto BackUp or Restore
●Auto Restore will conduct all the operations that is enabled in settings of Auto Restore
●Auto BackUp is disabled by default,you can use Add To Auto to include the operation in Auto BackUp.
3.Define Operations
●In BackUp Files or Define in Copy Files.Select Add to start an item.A name will be asked to input for the item firstly.Secondly,you can choose Select File to select the source file or Select Folder to select the source folder(Caution: All the files including subfolders will be copyed).Thirdly,select the target folder which the files are copyed to,you will be asked whether to create a subfolder to contain the source files(Do it and name the folder after source folder if the source folder is a program that you want to copy it to \Program Files).
●In BackUp Regs,a name is also required at first.Secondly,you can choose Select to select the path of a registry key(Cautionue to MortScript's max number of an array.In HKCR,some of the keys can not be displayed and DONE button is missed) or Input to input the key path(main key must be selected first and no "[]" in the path).Thirdly,choose the target folder for the registry files(Regs folder is recomended for later restore)
●You can rename,modify,delete the item.If you add the item to auto,it will be conducted in auto restore or backup.
4.Option
●In Change Path you can change the path of CAB REG FILE or XML folder,but I recommend the default Path.
●You can backup,restore or reset VUC settings in the Option.The backup file is named visual uc.reg and located in the root of Visual UC,the file will be imported first when it Autorun after a hard reset.
Extra Script Introduction
1.Auto BackUp.mscr can automatically backup files registries and PIM.VOL .However,you should define them first.
2.Load VUC.mscr is used to load VUC.mscr and run it to silently restore after you flashed a ROM that contain Load VUC.mscr.You must put Visual UC folder in either of the three path:\Storage Card\,\Storage Card\My Documents\,\Storage Card\Program Files\.
3.Cook.mscr.You can modify it or rename your own script to the name.The script will be run in auto restore.
4.ES.mscr is a component of Visual UC.It show the process of Auto BackUp or Auto Restore.
Credit
My thanks go to Mirko who develop MortScript which makes my script possible,Noonski whose XDA_UC inspires me and help me to solve lots of problems and Dotfred whose TaskMgr is a very powerful tool(the script use it to import or export registry files and Config provxml files).
If you want to donate,you can donate them.
Statements
You can freely use and modify the script.But I take no responsibility to the data lose the script may bring to you.MortScript and DotTaskMgr are also free software,before you use it you should read their legal statements first.
This is a beta version.So there may be some bugs.You can post the bugs on XDA or just send me an E-mail to let me know.I will be appreciate if you tell me your advice.
Click to expand...
Click to collapse
support you across the ocean...
wei2005yh said:
support you across the ocean...
Click to expand...
Click to collapse
Thanks Buddy !
jent.le said:
Introduction
Visual UC is a small script based on MortScript.With it you can backup and restore your own settings easily.It can Automatically install cab files,import reg or xml files,copy files to destined directory and restore your PIM after a hard reset.This is similar to XDA_UC.However,it also provide a visual method to do this.Another feature is that you can use it to backup files,registries and PIM.
Functions
Code:
1.Install CAB files to device
2.Install CAB files to SD card(Not test on wm6.5)
3.Import and export REG files
4.Configure XML or PROVXML files
5.Copy files to Start Menu,StartUp and Windows
6.Define operation to restore or backup files
7.Restore and backup pim.vol
8.Auto restore if your ROM contain Visual UC as a package
9.Auo backup your defined operations
10.Support extra language pack([COLOR="Red"]Now only WWE and CHS available.Hope your help for translation[/COLOR])
Installations
1.Unzip the file to \Storage Card\My Document\Visual UC .VUC.mscr and ES.mscr must be placed in the root of Visual UC.
2.Use DotTaskMgr in Copy 2 Windows to import VUC.reg.
3.Copy all the files in Copy 2 Windows to \Windows.
How To Use
1.Folder Explanations
●Cabs for cab files.If you want to install them to storage,put them into "Storage".But I advised you don't do this,because sometimes it need you manually complete the task.
●Files for the files you want to copy.The subfolder name is the destined folder you want to copy to.
●PIM for PIM.VOL
●Regs for registry files.The regs in subfolder will be imported after a hard reset when the rom you use contain Visual UC as a package.
●Xmls for xml or provxml files.
2.Auto BackUp or Restore
●Auto Restore will conduct all the operations that is enabled in settings of Auto Restore
●Auto BackUp is disabled by default,you can use Add To Auto to include the operation in Auto BackUp.
3.Define Operations
●In BackUp Files or Define in Copy Files.Select Add to start an item.A name will be asked to input for the item firstly.Secondly,you can choose Select File to select the source file or Select Folder to select the source folder(Caution: All the files including subfolders will be copyed).Thirdly,select the target folder which the files are copyed to,you will be asked whether to create a subfolder to contain the source files(Do it and name the folder after source folder if the source folder is a program that you want to copy it to \Program Files).
●In BackUp Regs,a name is also required at first.Secondly,you can choose Select to select the path of a registry key(Cautionue to MortScript's max number of an array.In HKCR,some of the keys can not be displayed and DONE button is missed) or Input to input the key path(main key must be selected first and no "[]" in the path).Thirdly,choose the target folder for the registry files(Regs folder is recomended for later restore)
●You can rename,modify,delete the item.If you add the item to auto,it will be conducted in auto restore or backup.
4.Option
●In Change Path you can change the path of CAB REG FILE or XML folder,but I recommend the default Path.
●You can backup,restore or reset VUC settings in the Option.The backup file is named visual uc.reg and located in the root of Visual UC,the file will be imported first when it Autorun after a hard reset.
Extra Script Introduction
1.Auto BackUp.mscr can automatically backup files registries and PIM.VOL .However,you should define them first.
2.Load VUC.mscr is used to load VUC.mscr and run it to silently restore after you flashed a ROM that contain Load VUC.mscr.You must put Visual UC folder in either of the three path:\Storage Card\,\Storage Card\My Documents\,\Storage Card\Program Files\.
3.Cook.mscr.You can modify it or rename your own script to the name.The script will be run in auto restore.
4.ES.mscr is a component of Visual UC.It show the process of Auto BackUp or Auto Restore.
Credit
My thanks go to Mirko who develop MortScript which makes my script possible,Noonski whose XDA_UC inspires me and help me to solve lots of problems and Dotfred whose TaskMgr is a very powerful tool(the script use it to import or export registry files and Config provxml files).
If you want to donate,you can donate them.
Statements
You can freely use and modify the script.But I take no responsibility to the data lose the script may bring to you.MortScript and DotTaskMgr are also free software,before you use it you should read their legal statements first.
This is a beta version.So there may be some bugs.You can post the bugs on XDA or just send me an E-mail to let me know.I will be appreciate if you tell me your advice.
Click to expand...
Click to collapse
buồn woa may oi xàm 1 lúc
punsking said:
buồn woa may oi xàm 1 lúc
Click to expand...
Click to collapse
I'm sorry I can understand you.Please use english.

Categories

Resources