Related
Hi Folks,
i found a trick to make an autoinstall from strorage card (like from extended Rom)!
autorun.exe looks for the file config.txt on the place is in registry stored in:
"HKLM\Comm"
"AutoRunCFG" = "\Speicherkarte\Autoinstall\config.txt"
so i changed the registry entry and now i am able to put config.txt and the files to install on every place i want.
on windows Mobile 2003 devices this works wonderful!
on problem i have now with windows mobile 5 devices:
when installing a question appears where to store files (device or storage card)!
can anybody help me to get rid of this question during automatic cab install??
i want install all cab files to device without any questions!!
pbelcl: apologies for my ignorance, but is this very different to a 2577 folder?
with a 2577 cab we could use this info:
http://forum.xda-developers.com/viewtopic.php?p=225375#225375
and choose a default install folder I think for WM5.
V
Thanks for your quick answer!
i read the other tread and if i understood it right i have to remove the .dll file from my cabs?
i'll try this and tell you if it worked ....
I think the other way round.
I've never done it before, but you need to make a custom cab and .inf file, and specify the installation location in therere, and then the "choose a location" dialog doesn't come up. I'm not sure, I'll try this at home later.
V
vijay555 said:
...I'll try this at home later.
Click to expand...
Click to collapse
Thanks, that would be interesting for me because i cant generate cab files because i hav no developer software for this.
i also have access to a cab file manager (at a customer) where i can edit the cab files and change them as i need it.
if it is possible to generate an "empty" cab file for me that would be nice ....
pbelcl: I never use the cabwizard either, I use cab manager. To make an empty cab, take any normal cab (download one of mine?) and just remove all the files from it. That's what I always do!
V
vijay555 said:
.just remove all the files from it. That's what I always do!V
Click to expand...
Click to collapse
ok, this is also my way to get an empty cab file
there is one question interesting:
Sometimes there is a "CheckFile.exe" and a "CeSetup.dll" in the cab file.
Do i need them for any work during install this cabfile or can i delete them also?
I remove everything from my cabs, and then use cab manager and drag and drop stuff. So I've never used those files. I will have to read up on how to make a "normal", but I don't think they're necessary if you didn't put them in there!
V
Hi folks,
again my last problem with automatic install on WM5 devices:
when my automatism starts to install the cab files (from where ever) each time there comes a popup windows where to install the cabfile (storage card or device).
for my routines it is not important becaue most of my cab files only set some registry keys and dont install files on the device!
Does anybody know how i can get rid of this window and install the files to device WITHOUT question popup window??
Guys,
Enjoy the best breeds of PPC applications, now in one single click without installation. All of the applications will run directly from SD card.
Filename: VibranzePPCAppsV1.zip
Download URL: http://www.esnips.com/doc/52a3bbb4-97b1-4f7a-8643-0a72423f3c06/VibranzePPCAppsV1
MD5Sum: 614F6731BAE0246B455C199ECE627C53
Installation Instruction:
1. Extract the zipped file and move it to \SD Card\
2. Execute CeleSetup.exe
3. Soft Reset
4. Find the applications under "Start - Programs - Tools"
Note:
- If your SD card volume name is not "SD Card" then you need to edit the file CeleTool.ccs and CeleTool.reg and replace "SD Card" with the proper name, eg. Storage Card, etc.
- To not install the applications that you don't like, just delete the folder of the application name under \SD Card\Tool\.
- Do backup before you try.
- All the software provided is for educational purposes only, if you like it please purchase the copy from the original author.
Many thanks to Yonsm for creating this great tool!
Cheers,
Vibranze
Can't open the link. Maybe just because the campus network sucks!!!
Follow the steps and executed CeSetup.. somehow after restart couldn't see tools in Programs.. any idea why?
satriani25 said:
Follow the steps and executed CeSetup.. somehow after restart couldn't see tools in Programs.. any idea why?
Click to expand...
Click to collapse
Hi,
I'm not sure what happened with your installation, but make sure that under your Storage card you have the Tool folder and CeleSetup.exe like the one shown in attachment.
Cheers,
Vibranze
okies.. trying it now.. btw the file should be in .rar extension and not .zip extension right??
and with regards to editing the css file..
BEEP
IFEX %C\Jeodek
LINK %P\Tools\Java.lnk,%C\Jeodek\Jeodek.exe
IFEX
IFEX %C\ClearTemp
LINK %P\Tools\Clear Temp.lnk,%C\ClearTemp\ClearTemp.exe
IFEX
IFEX %C\Metro
LINK %P\Tools\Metro.lnk,%C\Metro\MetroSP.exe
should i replace all instances of %C and %P with "Memory Card"??
okies.. follow the steps and tried again.. this time it worked.. without editing the css file.. think the problem was i restarted the PPC even before i get any popout so this time i waited for a longer period of time till i get the popout. kudos to vibranze for this wonderful set of applications!
satriani25 said:
okies.. follow the steps and tried again.. this time it worked.. without editing the css file.. think the problem was i restarted the PPC even before i get any popout so this time i waited for a longer period of time till i get the popout. kudos to vibranze for this wonderful set of applications!
Click to expand...
Click to collapse
Side note.. if you have the same applications already installed.. it is preferred if u use the applications from the Tools folder.. The setup kinda deregistered some files in the original application installed thus resulting in it not working probably especially in TCPMP..
Regards...
Archive file is bad!! - Corrupted!!
gesamgr said:
Archive file is bad!! - Corrupted!!
Click to expand...
Click to collapse
Hi,
It's not corrupted as I downloaded it many times.
Anyway, here is the new version and the new link.
http://www.zshare.net/download/3943298f4821e7/
Cheers,
Vibranze
So here's the scoop. You got this killer rom, but it loads a whole bunch of stuff that you don't want. You get around this by resetting before the configuration starts after aligning the screen.
You might have a host of cabs that you always load, and after you flash you need to run each one. Every rom you use it's the same thing - flash the rom, then load all your cabs.
Or, you may have a program you want to execute, such as enabling SetHSDPA.
Here's a way to "automate" it so you can use the power and flexibility of the PreConfig funtion as an "after the flash" customization tool, and make subsequent installations much faster.
You'll need a folder on your storage card called CABS, and in that folder put the attached file called CFG.txt as well as the cabs / exe's etc (unless they're already in the ROM, then just point the config file to the correct path) that you want to run. The CFT.txt is the file that will tell it what to install, and is exactly like the PreConfig.txt file - see my extended rom thread for ideas on what you can do with it.
Basically, here's the contents of the CFG.txt file I attached:
LOCK:Enabled
CAB: \Storage Card\CABS\A2DPFix.CAB
CAB: \Storage Card\CABS\ATIFix.cab
CAB: \Storage Card\CABS\Cingular_WAP_MediaNet_MMS_Settingsv2_No_ICON_Change.cab
CAB: \Storage Card\CABS\Google Maps Cell.CAB
CAB: \Storage Card\CABS\Monopoly.cab
CAB: \Storage Card\CABS\NETCFv2.wm.armv4i.cab
CAB: \Storage Card\CABS\S2U2-0.72-WM5.cab
CAB: \Storage Card\CABS\Solitare.cab
CAB: \Storage Card\CABS\StartClean.cab
LOCKisabled
RST: Reset
Just list out your cabs or actions in this file - and be sure the files you are referring to are in the destination path.
To use this setup:
Edit the CFG.txt file and place in \Storage Card\CABS (if the folder isn't there, create it)
Copy your cabs/exes into this folder, being sure they are set to READ ONLY.
Install the attached cab, and after you reset it'll start the installation!
Once the installation is complete and the phone resets - you can remove the program from Settings-Remove Programs.
Important Notes:
Don't forget to make your CABs READ ONLY - or they'll delete after installing. YOU HAVE BEEN WARNED!!!
Ensure that the cabs you're installing does not require any user input. If it does, it will hang the installation process, you'll need to reset the phone, and not all of your stuff will get installed.
Known list of NOT COMPATIBLE files:
MS Reader
Sweet bro!!! I am all over it, will give it a go and let you know my results!!! Very cool stuff!
You Rock!
Downloading Now!
Can I put this on My Treo?
berdinkerdickle said:
You Rock!
Downloading Now!
Can I put this on My Treo?
Click to expand...
Click to collapse
sure, if it's WM5/6.
mattk_r said:
sure, if it's WM5/6.
Click to expand...
Click to collapse
Jokes on Me.
Seriously Though,
This is Great!
mattk_r said:
...clip...
Ensure that the cabs you're installing does not require any user input. If it does, it will hang the installation process, you'll need to reset the phone, and not all of your stuff will get installed.
Click to expand...
Click to collapse
We do want to be sure not to use apps that require a reset.
great! That's what I was looking for recently
Is there a way to get cab files to default to installing on a Storage Card? I'm trying to prevent it from asking me where I want to install it and thus causing this tool from hanging up.
Nevermind, I made a bad assumption (yes, I know what they say about assuming things) that the PreConfig Launcher would hang up waiting for input for where to install something. I just tested it out on a cab that allows a user to override the installation directory and everything worked fine.
Sorry.
kc_hubbard said:
Is there a way to get cab files to default to installing on a Storage Card? I'm trying to prevent it from asking me where I want to install it and thus causing this tool from hanging up.
Nevermind, I made a bad assumption (yes, I know what they say about assuming things) that the PreConfig Launcher would hang up waiting for input for where to install something. I just tested it out on a cab that allows a user to override the installation directory and everything worked fine.
Sorry.
Click to expand...
Click to collapse
You could edit your cabs and have them install to the storage card by default - or at least I think you could. I'm thinking something like %storage card%. If I get a chance I'll poke around WinCE Cab Manager and see if it's possible.
I just tested it by building a cab to install to the folder /Storage Card, and it worked fine.
mattk_r said:
I just tested it by building a cab to install to the folder /Storage Card, and it worked fine.
Click to expand...
Click to collapse
Matt,
While I'm not quite the noob the number of posts would indicate I am, I admit that I haven't done much w/ building cab's. In an attempt to build one to install directly to the storage card, I've used WinCE to alter the default directory and have altered _setup.xml file, both to no avail.
While my pride says not to ask you to tell me how you set the cab up to install to storage, I'm not above asking you to post the example you created to test this so that I can look it over and try to figure this out for myself.
Would you mind attaching a cab file that installs directly to storage for me? Please?
kc_hubbard said:
Matt,
While I'm not quite the noob the number of posts would indicate I am, I admit that I haven't done much w/ building cab's. In an attempt to build one to install directly to the storage card, I've used WinCE to alter the default directory and have altered _setup.xml file, both to no avail.
While my pride says not to ask you to tell me how you set the cab up to install to storage, I'm not above asking you to post the example you created to test this so that I can look it over and try to figure this out for myself.
Would you mind attaching a cab file that installs directly to storage for me? Please?
Click to expand...
Click to collapse
I could - but this is super easy. When you add a file, you get a window with three tabs, one being location. In that tab, you'll have the folder view. Click on the root '/' folder and press 'new folder'. Call it Storage Card.
That's it!
mattk_r said:
I could - but this is super easy. When you add a file, you get a window with three tabs, one being location. In that tab, you'll have the folder view. Click on the root '/' folder and press 'new folder'. Call it Storage Card.
That's it!
Click to expand...
Click to collapse
I must be an idiot to not have been able to figure that out (and my day job is computer programming, albeit on IBM Mainframes). Will work on this again once I'm back home. I'm sure big brother is already not too happy w/ all the time I spend on the forums anyway.
Thanks Matt!
so, if i were flashing a ROM i would flash, install the cab and then, assuming i already have my cabs and config files on my card, i hard reset and this should launch ok?
thanks,
mark
AximMarkSD said:
so, if i were flashing a ROM i would flash, install the cab and then, assuming i already have my cabs and config files on my card, i hard reset and this should launch ok?
thanks,
mark
Click to expand...
Click to collapse
From what I've done/learned no hard reset is required. You install the Pandora PreConfig Launcher and let your phone Restart. When it restarts, your cabs in the CFG.TXT file will be installed.
so after a flash or a hard reset (for whatever reason) you just install the cab and then soft reset and it will install your cabs?
AximMarkSD said:
so after a flash or a hard reset (for whatever reason) you just install the cab and then soft reset and it will install your cabs?
Click to expand...
Click to collapse
correct - as long as your cabs and the configuration file reside in the CABS folder on your storage card
mattk_r said:
correct - as long as your cabs and the configuration file reside in the CABS folder on your storage card
Click to expand...
Click to collapse
right.
thanks. that's a great tool.
pardon the ignorance but i've never played w/ the WinCE cab manager. can i change the default install location on commercial cabs that i've purchased (assuming they require no interaction during install)?
AximMarkSD said:
right.
thanks. that's a great tool.
pardon the ignorance but i've never played w/ the WinCE cab manager. can i change the default install location on commercial cabs that i've purchased (assuming they require no interaction during install)?
Click to expand...
Click to collapse
Yes you can change the default install directory.
Matt,
Thanks for this great program. It makes changing roms SOOO much easier!! When combined with WinCE cab manager, you can autoinstall just about any program. This thread should be stickied.
Quick guide on how to get programs to install to storage card used WinCE Cab Manager. This guide was modified from K's FlexiRom instructions:
Preparing the cabs
---------------------------
- To set the cabs to a static path, install WinCECab Manager.
- Open a cab with WinCE Cab Manager and click on "CAB Information".
- Double click on "Default Install Dir" then select "Installation Directory"
- Change the default install directory to what every use desire. Do this by creating new directories under "/". For most users wanting to install on storage card, change path to "/Storage Card/Program Files/cabname". Before moving on to the next step, make sure that once you make the folders, click the desired installation path and click "APPLY".
- After applying the new default installation path, choose "Do not allow user to select installation directory"
- Check if there "Setup dll" is present under Cab Information. If setup dll is present, delete it off. [this step is from K's instructions, not sure if it is necessary or not. I've been doing it.]
- Save the cab then right click on the can and select "Read Only" and click apply/OK.
- Check and prepare all the cabs you want to auto install and place them into the CABS Folder of your storage card.
PS Using WinCE Cab manager, you can also modify the shortcuts of the program.
[Tool] Mod of Suiller'UC -> SUPER EASY Auto restore (Like UC/UC2) Just by copy/paste
Hi everyone,
I started the thread because I wanted to "promote" a nice way to restore cabs and regs after flashing.
I found this script way more useful than UC or UC2 as you don't have to edit files, convert reg to xml files etc. just put the file you want in folders and launch one script
... how this can be more simple ?
This nice script was just missing a script to copy files and folders to the device or the storage card.
This script should be device independent, so please test and report.
The first version of this script has been extracted from an other script created by Suiller for the rom Macadam V1.2. (discontinued)
I ripped the restore part of this script to use it on other roms
INSTALLATION/USE
Just Un-zip the attached file and place the folder "Backup and Restore" in the root of your storage card.
Then you just have to copy:
- .cab you want to install in the folder cab (cabi for those you want to install on storage card)
- .reg in the folder reg
- .exe for files you want to execute
- Files and folders in the folder "Files"
Files included in the zip:
- # Create Folder structure.mscr
- 1 install MortScript420 if needed.cab
- 2 Start Restore.mscr
- Config.mscr
- config.txt
- PimBackup.exe
- TaskMngr.exe
How to use:
1) Extract the zip into the root of your storage card
you will have a structure like:
\internal storage\Backup and Restore\CAB
\internal storage\Backup and Restore\CAB\CABi
\internal storage\Backup and Restore\EXE
\internal storage\Backup and Restore\Files
\internal storage\Backup and Restore\REG
...
2) install mortscript (if not already installed on your rom)
3) run the script "# Create Folder structure.mscr" if you want the "default" suiller UC structure (not mandatory)
4) populate the folders with .cab, .reg, .exe and files to match your needs
5) start the script "2 Start Restore.mscr"
6) be patient and note the the CABi script is not perfect (already installed cabs, errors etc... will fail)
Explanation for the folder "Files":
All files and folders in the folder "Backup and restore\files" will be copied to the divce starting from the root of the device.
Example:
\Backup and Restore\Files\Windows\Start Menu\Programs\Tomtom.lnk
\Backup and Restore\Files\Program Files\Home2\Db.xml
\Backup and Restore\Files\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Will be copied to:
\Windows\Start Menu\Programs\Tomtom.lnk
\Program Files\Home2\Db.xml
\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Note: The *.cab and *.reg execution is by alphabetical order, so if some cabs/regs need to be restore before others rename them (for example A_Resco explorer, B_Resco registry Etc ...)
Enjoy !
The only thing this script misses is:
- a copy folder where to put files and folders to be restored to device and internal storage(for shortcuts, ringtones, folders to copy/create automatically) - Done, thanks to Myself ... found inspiration around
- support of other roms for other phones (the name of "internal storage" for example) - done, thanks to Suiller - need feedback now
----------------------------------------------------------------------------------------------------------------------------------------------------
Edit:
V3.1 Added create folder "Files" in script "# Create Folder structure.mscr"
V3.0 Added Copy files and Folders
V2.1 Bug, not importing *.Reg - fixed
Changed some timings and paths
V2.0 Some improvements and auto detection of the name of the storage card
http://forum.xda-developers.com/showpost.php?p=3988330&postcount=9
V1.0 Simple restore Cabs and Exe
more infos:
daeshawn said:
sounds like an idea..personally i was never good with scripts etc..but looks like this simplifies it...i might give it a try tonight after work!! thanks
Click to expand...
Click to collapse
thanks !
this link can help:
http://forum.xda-developers.com/showthread.php?t=440683
for the usefulness of a COPYi, i think it's still interresting to be able to copy files from "internal storage" to "internal storage" for example to overwrite config files, or patch installed programs etc.
I think this function has been already written but not integrated with the actual script.
more info on what the previous version of this script was able to do, extracted from the link given before:
suiller said:
The previous version of this script was able to:
- after rom installation an automated procedure will ask you: configure general speed & GPS profiles; remove ActiveSync time change queue (stop popup every 5 min); left/right softkey configuration; CAB & CABi + REG + EXE installation/execution (as mentioned above) + upx compression phase, then choose backup method & eventually load a restore, restore previous saved Start Menu + tweakPers script and for finish reboot to apply changes
- once your cab installation is completed and the reboot phase is done you can open tweakPerm under Scripts folder (simple notepad is enough) and read carefully the comments inside, take inspiration & make changes (copy/paste) in the tweakPers script (an example is here); all these scripts are independent, so for example you can use tweakPers at any time, after every hard reset or a new flash the only one that wont touched is that script (this is the reason why your personalization should go in that file)
- then you can re-organize shortcuts in your "\windows\Start Menu" directory to fit your needs, then run the script "backupStartMenu", this will make a copy of your "final" start menu directory, useful to preserve your original Start Menu structure (in this way it can be restored automatically on next flash)
- the last important folder (always under "Backup and Restore" directory) is "pimbackup", under this directory will be saved automatic pim backups during night(contacts/sms/call logs/et cetera)
Click to expand...
Click to collapse
Tuto: How to format your diamond (not internal storage) before flashing:
Why this procedure ? : Because it works and because it's easier than flashing the original HTC stock rom before flashing a cooked rom... and also because flashing an original htc stock rom was not enough sometimes to stop my strange problems on my diamond when flashing rom's.
Here we go:
1. bring the device to bootloader. in diamond: (Volume down + reset)
2. Launch ActiveSync on PC
3. Go to connection settings
4. Uncheck the Allow USB Connection
5. Now, run mtty 1.42_538 on your PC.
- Select USB from the "Port" drop-down on the upper left corner of the dialog box and hit OK
- another screen will come up. Hit enter and that will show "USB>"
6. CMD>task 29
- wait untill finished then exit.
7. Flash the ROM of your choice.
Download executable and Infos: see attachment
Just one question. Has Suiller or Danny_and_2 given you permission to release this independently?
shaks1979 said:
Just one question. Has Suiller or Danny_and_2 given you permission to release this independently?
Click to expand...
Click to collapse
Hi Shaks,
I've sent previously PM to Suiller, if he disagree, I will remove it.
for me it's ok... and in the meanwhile I prepared a separate sUC.cab to use for high-personalizations also on uncapable UC roms, I haven't tried at 100%, but it worked perfectly in a couple of roms (for ex. the last I tested was the one made by Dazzza); the cab includes ALL the functions enabled by default on Dia Duit rom series, plus I removed stuff touching the SYS, so it should work on every diamond rom; I added also the auto recognition of "Storage" name... so should work without troubles also on NON WWE roms
attachments:
sUC.cab (is the pre-compiled, ready to run cab)
sUC.zip (is the source)
tweakPers.zip (is an example of personal tweak script, the only one the wont be touched on future upgrades, so put there all your very personal stuff)
MortScript420.cab (guess??)
if the rom is UC compliant simply your sdconfig.txt will look like:
Code:
LOCK:Enabled
CAB :\Internal Storage\MortScript420.cab
CAB :\Internal Storage\sUC.cab
LOCK:Disabled
RST: Reset
in this way at 1st boot will be installed both mortscript & sUC, then at 2nd boot will start standard sUC procedure
if the rom isn't UC compliant simply after rom flash run 1st mortscript cab & then sUC cab, it will ask to restart & automated procedure will start
If you have time, starting from this thread I can pass all the info you need, for example could be useful write a better guide for using this way, I tried but not so able to explain in few words perhaps making some real life examples... anyway good idea... I think a sort of unification must be made (sUC + UC + UC2, or whatever)
bye,
davide
ps: in the nataly rom series even if mortscript is yet installed the full version is required too, so reinstall the mortscript cab also in those roms
ps2: I added also the folder CPY always under "Backup and Restore" master folder, all files putted there will be copied (without overwrite) under \windows folder... for example I use it to install in a fresh rom my personalized icon dll, my background, etc... so after restoring the "Start Menu" the system will find without trouble the needed icon dll
Hi Davide,
Thanks A LOT for all this, there is a lot of work in those attachments ...
I'm not a developer but I can read a script.
This script contains a lot of changes since the one I use.
On the scripts you uploaded there is a lot of customisations and registry tweaks.
I think a lot of people will not want to modify the settings made by their "chef".
So, with your permission, I will try to remove all what is not related to the restore/auto install of cabs, regs and files.
I will also extract the script to create the folders on the internal storage for an initial setup of the solution
I prefer also to have for example pimbackup.exe in the folder "backup and restore" so nothing needed on the /windows folder.
If you agree, I will do those extraction of your code to make things simple:
- no installation (just copy)
- maybe extract the script to create folders architechture
- 1 script to start the restore of what is in the backup and restore folder.
- If users want to customize, they will extract registry keys in .reg files and put them in the /reg folder
This may take time as tomorrow I'm going to Greece for 2 weeks (for work :-s)
for me it's ok... you can make all the changes you feel/need
anyway the tweakPerm is just a base from where take "inspiration" for not skilled users, all personal stuff should go instead into tweakPers script
for example, I suppose, that many don't know how to setup a default ring, or sms sound, or alarms, etc... without a single touch by reading tweakPerm (copied into Back and Restore) they can have an idea
good job friend & have a nice trip
Ok,
Here is the "new" restore script based on the updated file received from Davide.
I removed all that's not related to the restore (many customisations of the rom); this script need no installation (except mortscript if not available in your rom)
What's included:
- # Create Folder structure.mscr
- 1 install MortScript420 if needed.cab
- 2 Start Restore.mscr
- Config.mscr
- config.txt
- PimBackup.exe
How to use:
1) Extract the zip into the root of your storage card
you will have a structure like:
\internal storage\Backup and Restore\CAB
\internal storage\Backup and Restore\CAB\CABi
\internal storage\Backup and Restore\CPY
\internal storage\Backup and Restore\EXE
\internal storage\Backup and Restore\REG
...
2) install mortscript if needed
3) run the script "# Create Folder structure.mscr" if you want the "default" suiller UC structure, but it's not mandatory
4) populate the folders with .cab, .reg and .exe files to match your needs
5) start the script "2 Start Restore.mscr"
6) be patient and note the the CABi script is not perfect (already installed cabs, errors etc... will fail)
Note:
The content of the CPY folder will be copied to the /windows folder.
TO DO:
If someone is able to create a copy routine (with overwrite) who can take in charge a complete structure it will be appreciated a lot.
Example:
(Using a new subfolder Backup and Restore\Files)
\Backup and Restore\Files\Windows\Start Menu\Programs\Tomtom.lnk
\Backup and Restore\Files\Program Files\Home2\Db.xml
\Backup and Restore\Files\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Will be copied to:
\Windows\Start Menu\Programs\Tomtom.lnk
\Program Files\Home2\Db.xml
\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Enjoy
sjauquet said:
Ok,
Here is the "new" restore script based on the updated file received from Davide.
I removed all that's not related to the restore (many customisations of the rom); this script need no installation (except mortscript if not available in your rom)
What's included:
- # Create Folder structure.mscr
- 1 install MortScript420 if needed.cab
- 2 Start Restore.mscr
- Config.mscr
- config.txt
- PimBackup.exe
How to use:
1) Extract the zip into the root of your storage card
you will have a structure like:
\internal storage\Backup and Restore\CAB
\internal storage\Backup and Restore\CAB\CABi
\internal storage\Backup and Restore\CPY
\internal storage\Backup and Restore\EXE
\internal storage\Backup and Restore\REG
...
2) install mortscript if needed
3) run the script "# Create Folder structure.mscr" if you want the "default" suiller UC structure, but it's not mandatory
4) populate the folders with .cab, .reg and .exe files to match your needs
5) start the script "2 Start Restore.mscr"
6) be patient and note the the CABi script is not perfect (already installed cabs, errors etc... will fail)
Note:
The content of the CPY folder will be copied to the /windows folder.
TO DO:
If someone is able to create a copy routine (with overwrite) who can take in charge a complete structure it will be appreciated a lot.
Example:
(Using a new subfolder Backup and Restore\Files)
\Backup and Restore\Files\Windows\Start Menu\Programs\Tomtom.lnk
\Backup and Restore\Files\Program Files\Home2\Db.xml
\Backup and Restore\Files\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Will be copied to:
\Windows\Start Menu\Programs\Tomtom.lnk
\Program Files\Home2\Db.xml
\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Enjoy
Click to expand...
Click to collapse
it's a good idea & above all not so difficult to implement... the overwrite thing depends, of course, if you want overwrite a file flashed inside the rom... in this case, as you know, it's not possible... better on some files could be possible but it's very complex
for the same speech upx compression works only with EXE files installed post the flashing phase, for example it will work with exe files from extra cab installation
suiller said:
it's a good idea & above all not so difficult to implement... the overwrite thing depends, of course, if you want overwrite a file flashed inside the rom... in this case, as you know, it's not possible... better on some files could be possible but it's very complex
for the same speech upx compression works only with EXE files installed post the flashing phase, for example it will work with exe files from extra cab installation
Click to expand...
Click to collapse
Yes, if someone can write this it will be mostly to copy/overwrite installed application with settings or shortcuts.
Hi,
is this method better than sashimi? just ive had sashimi fail once or twice recently with certain cabs.
thanks in advance
MG
Excelent thread - I tested and work correctly. Save a lot of time!
COPY> Maybe it will be easier create simple .bat for windows and 3 phaze will be on pc: copy files from PC to special folders in Diamond. What do you think? It is easy to wrote I think.
REG> Is one thing that not work correctly. I exported registry key from Rasco Explorer. Put this to reg folder but it was not imported to system Do you know why?
s2007 said:
Excelent thread - I tested and work correctly. Save a lot of time!
COPY> Maybe it will be easier create simple .bat for windows and 3 phaze will be on pc: copy files from PC to special folders in Diamond. What do you think? It is easy to wrote I think.
REG> Is one thing that not work correctly. I exported registry key from Rasco Explorer. Put this to reg folder but it was not imported to system Do you know why?
Click to expand...
Click to collapse
COPY ... yes, of course it's possible, but you can also do it easily with mortscript...
And the main goal of this script is to make all install automatic, so everyone can restore his PocketPC if he can copy/paste )
REG In my case it works perfectly, probably because I install resco registry before (via cab)
> REG In my case it works perfectly, probably because I install resco registry before (via cab)
I too but not work. Anyway it is not a lot of addiotional work for me.
And I used v1 your script not v2.
s2007 said:
> REG In my case it works perfectly, probably because I install resco registry before (via cab)
I too but not work. Anyway it is not a lot of addiotional work for me.
And I used v1 your script not v2.
Click to expand...
Click to collapse
You can try with the V2.0, just rename your backup and restore folder et create a new one with only a .reg file inside.
I just made a second test now and it was flawless (with bsb 6.5L)
Please ask me how can I do backup/restore settings of Today screen Panels/Pages (I use all time Chrome Editor to customize it but it take a lot of time ). Is there key in registry or config file that can I restore after reinstalation? I need fast restore after HR or rom update rom my Today (WM6.5) screen.
s2007 said:
Please ask me how can I do backup/restore settings of Today screen Panels/Pages (I use all time Chrome Editor to customize it but it take a lot of time ). Is there key in registry or config file that can I restore after reinstalation? I need fast restore after HR or rom update rom my Today (WM6.5) screen.
Click to expand...
Click to collapse
Sorry, I do not use Titanium, but you should find easily the keys in the registry
Hi this sounds great. I was always scared of by the normal UC or even SASHIMI. Your version is probably as easy as it gets.
Can I include PIMBackup with this?
The main goal is to restore my contacts/SMS/Call logs and then restore the manila favourite contacts tab. I thought this should be possible by just restoring the registry entries for the contacts tab, is that correct?
Cheers
konrad.schafers said:
Hi this sounds great. I was always scared of by the normal UC or even SASHIMI. Your version is probably as easy as it gets.
Can I include PIMBackup with this?
The main goal is to restore my contacts/SMS/Call logs and then restore the manila favourite contacts tab. I thought this should be possible by just restoring the registry entries for the contacts tab, is that correct?
Cheers
Click to expand...
Click to collapse
PIMBackup is included and if put in the folder EXE it will lauch automatically at the end.
The contacts are not stored in the registry, but in db files
How can I edit my cabs to change their default installation folder to SD/program files, for example, instead of their default installation folder which is usually somewhere on the device memory ?
I have got an app on my PC called WinCE Cab Manager. I used it to edit a cab file, changed the installation folder to \StorageCard\program files......but what it did was created a folder & subfolder on the device memory & named them StorageCard\program files
yassero said:
How can I edit my cabs to change their default installation folder to SD/program files, for example, instead of their default installation folder which is usually somewhere on the device memory ?
I have got an app on my PC called WinCE Cab Manager. I used it to edit a cab file, changed the installation folder to \StorageCard\program files......but what it did was created a folder & subfolder on the device memory & named them StorageCard\program files
Click to expand...
Click to collapse
Should it not be "Storage Card" - with a space?
go in the CAB information properties,
edit installation directory,
add folder "Storage card" on root
add program files there or whatever.
for files then keep "install dir"
-
remember that installing on sd is not standard install.
papo said:
go in the CAB information properties,
edit installation directory,
add folder "Storage card" on root
add program files there or whatever.
for files then keep "install dir"
-
remember that installing on sd is not standard install.
Click to expand...
Click to collapse
Yes. I did that & the result was that it has created a folder on the device memory called Storage Card & installed the app in a subfolder in that folder.
It neglected the physical Storage Card completely. My objective is to change the default install dir of all my cabs so when I use XDA_UC, it automatically install them to the SD Card. What XDA_UC currently does is semi-auto install whatever I put in XDA_UC/SD, meaning that it runs the installer & asks me to select where to install the app.
oh.. And other thing is, if your card is not plugged in/initialized when UC will start, it may just create a folder Storage Card and then initialize SD as "Storage Card2" ... happened to me pretty messy.
You can make cabs which don't ask to ask:
wceload.exe "%1" /askdest
but there is no param. for default=SD
http://forum.xda-developers.com/showpost.php?p=5090353&postcount=74
I reckon you need a wceload.exe replacement, or to make a mortscript to click on SD option every time for you.
Anyway advice on that link above, that SD apps usually don't need re-installing is right too
Other option would be forgot the cab. make a zip file of all files and reg file and use mortscript to import them.
papo said:
oh.. And other thing is, if your card is not plugged in/initialized when UC will start, it may just create a folder Storage Card and then initialize SD as "Storage Card2" ... happened to me pretty messy.
You can make cabs which don't ask to ask:
wceload.exe "%1" /askdest
but there is no param. for default=SD
http://forum.xda-developers.com/showpost.php?p=5090353&postcount=74
I reckon you need a wceload.exe replacement, or to make a mortscript to click on SD option every time for you.
Anyway advice on that link above, that SD apps usually don't need re-installing is right too
Other option would be forgot the cab. make a zip file of all files and reg file and use mortscript to import them.
Click to expand...
Click to collapse
It is easy to zip all my cabs in one zip file. How do I create a reg file & how do I import them with mortscript & what do I do after importing them ?
yassero said:
It is easy to zip all my cabs in one zip file. How do I create a reg file & how do I import them with mortscript & what do I do after importing them ?
Click to expand...
Click to collapse
you got it wrongly, the last option was not using CAB at all.
I don't know what you are trying to do. Hard to guess. Why would you want to install on SD on the first place?
In my case, I am placing maps and files which programs can only use from SD, I have them in zip and unzipping with 7zip which accepts plenty of arguments.
You know that CAB is something like zip. You don't need to use CAB and can have the same results. And if you creating those cab yourself, why not just create zips. And you have it compressed better too.
- what is reg? file containing registry entries. if you don't have any you don't need that.
- nothing to do after
- for files:
you place all files in folders in this zip file, starting with "Storage Card"
this will check SD card, if it's present and then unzip file "file.zip"
I have this file and 7zG.exe files in ROM-windows folder, but you can change that below.
for this script to run you need mortscript.exe and 7zip programs, they are free
==
SetMessageFont(17, "Tahoma" )
While( not DirExists("\Storage Card"))
SleepMessage( 99, "Insert SD card", "SD card missing", false, DirExists("\Storage Card"))
EndWhile
RunWait("\windows\7zG.exe"," x \windows\file.zip -y")
I am not that knowledgeable technically. I do not not create Cabs. All I am trying to do is figure out a way to have the cabs I have installed silently on the SD after I flash any new ROM. I place all my cabs on Storage Card in folder XDA_UC/SD. This is not a silent installation. It needs user intervention as on each cab installation, it prompts me to select where to install to (device or SD Card). I am very humble when it comes to reg files & stuff like that. I do not know how to write them or how to use them afterwards.
I have always wanted my settings saved aswell to be applied on the next ROM installation. Thanks to NRG, his ROMs come with Settings Export app that simplifies things but exporting all settings to Storage Card in folder XDA_UC & accordingly it is applied at new ROM installation.
why do you want to install to SD card?
What pda you have? Are you low on internal memory?
I only put an app on SD if I had less then 5MB internal free.
You should use your internal memory for programs as it's faster and better protected against lost clusters and unfinished writes.
And to use SD for personal data, as pictures, mp3 as it's easier to make backup of it and access speed doesn't matter there so much.
There is no reason keeping more then 5MB free of internal memory.
A time ago I put update of opera on SD, once when it crashed, it damaged file structures and I lost half of my data on SD.
You can have silent installs to internal memory.
-
Other thing is, as someone wrote before, for most of the apps you don't need to install again on SD card if they are still there. Before you reflash, backup
folder \windows\Start Menu and after reflash, copy it back.