is there anyway to install UC files on card instead of device - JAMin, XDA Neo, S200 ROM Development

Is there anyway to install UC files on card instead of device ,any command which we can possibly put on sdconfig.txt which tells it to install all files in cab folder(on sdcard) to sd card only directly?

Yes. You have to hard code the application to install to the storage card.

seems like alot of work to me ,i use wm7 by maxniper ,maybe you can tell me (a link or rom ) which tools will be helpful to open the file and edit it . although the other way could be to edit cab files installation directories with WinCE CAB Manager but that i have not tried yet ,also it would require editing all cab files one by one.

I was actually thinking of the CAB installers not autorun, although using this:
Code:
HIDE:ENABLED
LOCK:DISABLED
CAB: ...
LOCK:ENABLED
Hide:DISABLED
might allow you to select each cab.
Another thought is: if you have the cabs, manually install them onto the storage card and then copy links to the programs using
Code:
CPY1:TheFileYouWantToCopy
CPY2:WhereYouWantItToGo

Related

Ext. ROM config.txt batch language

Hello:
Is there a listing of the commands available for the config.txt batch file in the extended ROM anywhere?
Thanks
install a CAB file use
CAB: \Extended_ROM\...
execute a file
EXEC: \Extended_ROM\...
execute a reset at the end
RST: Reset
That's all I know
regards
Alex
it is handled by the autorun.exe, if you look at the strings, there is also 'cpy1' and 'cpy2'
ok doke after looking at the file it looks like
cp1: = the file and location to copy from
cp2: = the location and name to copy the 'cp1:' file to
how do I tell CAB files to install into a storage card instead of main memory, any ideas?
Use WinCE CAB-Manger, there you can modifiy the default install directory, should also work with StorageCard ( but I never tried it )
You have 15 executions with the demo...
There is also a program out called CABInstall, but this will not run in
batch-mode.
oh and on that note, is it possible to make batch scripts in general for the XDA/XDAII? regardless of place.
Say i have a bunch of backup cabs in my sd card and want to just make a batch script to install them like how the ext rom autorun.exe does it?
does anyone know how to edit a registry string?
Hi all
I am new to this. Can anyone just confirm the syntax for copying files from Extended_ROM please? I updated both rom and config.txt using er2003edit with the following lines. but file is not been copying over?
cp1: \Extended_ROM\XDALogo.tsk
cp2: \My Documents\Templates
Thanks in advance.
try this ...
cp1: \Extended_ROM\XDALogo.tsk
cp2: \My Documents\Templates\XDALogo.tsk
EXEC:
CAB:
CPY1:
CPY2:
RST:
Are there any more command?
can anybody help me rcognize the right CP1 - CP2 command...
I tried this:
cp1: \Extended_ROM\pippo.txt
cp2: \My Documents\pippo.txt
no work, but with an error stopping the entire process (unknown file)
and this:
cpy1: \Extended_ROM\pippo.txt
cpy2: \My Documents\pippo.txt
no work, and no errors but no files has been copied.
Thanks in advance for the help.
Ruppia
CPY1:\
CPY2:\
It work for me.
I think it must be in capital letter and directory must be valid directory.
CPY1:\Extended_ROM\Autoconfig.exe
CPY2:\Windows\Autoconfig.exe
CPY1:\Storage Card\Autoconfig.txt
CPY2:\Windows\Autoconfig.txt
EXEC:\Windows\Autoconfig.exe
RST: Reset
This is sample what i did. It work.
I already use caps, but now i notice i was using this:
CPY1: \Extended_ROM\Serial.txt
CPY2: \My Documents\Serial.txt
instead of this:
CPY1:\Extended_ROM\Serial.txt
CPY2:\My Documents\Serial.txt
Could it be...?
I cannot try more because i really config all by hand but i want to know in case of hard reset during holiday...
thanks
ruppia
I don't think that is your problem. Both should work, I did that before.
I'm not sure with the directory name with space in between will work. So if you are testing. Why don't you put some more lines.
CPY1:\Extended_ROM\Serial.txt
CPY2:\My Documents\Serial.txt
CPY1:\Extended_ROM\Serial.txt
CPY2:\Temp\Serial.txt
Some thing that I found during my reseached.
CAB:\Storage Card\MyPrograms\batt.arm.CAB
You look at the line above. It's should be Okay, Right?
In fact it doesn't work. But 3 lines below will work. It's same result.
CPY1:\Storage Card\MyPrograms\batt.arm.CAB
CPY2:\Temp\batt.arm.CAB
CAB: \Temp\batt.arm.CAB
What I mean is that sometime you just can not decide by just the specific comand lines.
good luck to you
thanks little_frog.
it's difficult to try for long time, because i need always a fresh xda2...
i tried this for now and i'm waiting for new rom to check.
CPY1:\Extended_ROM\Serial.txt
CPY2:\Temp\Serial.txt
Ruppia
Unattended install from config.txt
Anyone know if there is an unattended install command for the config.txt file? Some cab files require you to press ok to continue installing and I would like to suppress that when the extended rom is installing.
Thanks!
It would be really cool if somebody knew how to make an unattended CAB file. This way you van create a file that automatically installs all your standard programs on the right location, maybe even with the ability to enter the serial without the user having to enter it manually!
Is there anyone who can make a tutorial for the people on this forum?
mccune said:
It would be really cool if somebody knew how to make an unattended CAB file. This way you van create a file that automatically installs all your standard programs on the right location, maybe even with the ability to enter the serial without the user having to enter it manually!
Is there anyone who can make a tutorial for the people on this forum?
Click to expand...
Click to collapse
i have injected serials in SPB programs i use.
You have to know which keys program creates when you enter serial number.
I have edited cab files and added serial keys.
Other way would be to create a different cab that has just the keys in it.
Yup, on newer devices XML: is a command. It will run the XML file given as argument. You don't have to create a .CAB file unless you want to but it can be an advantage.

How do I relocate an application to SD card?

XDA I has only 32M RAM that is shared between application installation storage and program run time memory, a precious resource. Lots of applications don't offer the option of installing it to a different place, e.g. Storage Card\Program Files directory that I created. (To make the shortage worse, even if an application is installed on the SD card, there are dll's that the application installs to the Main Memory's Windows directory anyway.)
I can cut and paste to relocate / move the application directory from Main Memory to Storage Card brute force but it doesn't work well. I presume that the Registry contains links pointing to the application directory that I moved away, just like desktop Window versions. I guess I need a regedit program (Special Edition came with it) to fix the links in the Registry. Is that all? If I choose not to upgrade to the Special Edition, which program is best for this? Much appreciated!
Try the CABINSTL - this software enable to install anywhere Your programs, if You can find the installed applicaton's CAB file.
http://www.snapfiles.com/get/pocketpc/cabinst.html
telegurus said:
XDA I has only 32M RAM that is shared between application installation storage and program run time memory, a precious resource. Lots of applications don't offer the option of installing it to a different place, e.g. Storage Card\Program Files directory that I created. (To make the shortage worse, even if an application is installed on the SD card, there are dll's that the application installs to the Main Memory's Windows directory anyway.)
I can cut and paste to relocate / move the application directory from Main Memory to Storage Card brute force but it doesn't work well. I presume that the Registry contains links pointing to the application directory that I moved away, just like desktop Window versions. I guess I need a regedit program (Special Edition came with it) to fix the links in the Registry. Is that all? If I choose not to upgrade to the Special Edition, which program is best for this? Much appreciated!
Click to expand...
Click to collapse
FYI if you use the cut & paste method you must recreate your links manually using a file explorer. But the best way go is to just reinstall your applications and select Storage card instead of Main memory.
Also under Add/Remove Programs un-check "Install programs into the default installation folder".
HTH
Thanks to both of you!
Using cabinstl. you have to create the directory,
\Storage Card\Program Files\app_dir_name as the destination directory. I first designated \Storage Card\Program Files as the destination and cabinstl hangs. Check the box "Associating .cab with cabinstl" is convenient so that you can copy/paste the .cab file to \Storage Car\tmp, say, using Windows Explorer, and double-click on the cab file on XDA I to start installation. With this tool, you can install any .cab nicely to \Storage Card\Program Files - so far it works with every .cab application installation file I use.
Qman said:
Also under Add/Remove Programs un-check "Install programs into the default installation folder".
Click to expand...
Click to collapse
For other readers: it's the Add/Remove Programs from ActiveSync's Tool menu on the PC (vs XDA). For some applications, they give you an .exe installer for you to run on the PC to install it on XDA. Bring the Add/Remove Programs tool up, un-check it, and then double click on the .exe installer. Minor restriction: it always installs it at the top level of the Storage Card, not 100% desirable but serves the purpose of preserving Main Memory.
ActiveSync's Help for Add/Remove Program indicates that ActiveSync assumes that an application installer is in .exe form that runs on the connected PC and installs on the PC as well as XDA. I don't understand why it needs to install on the PC.

Microsoft Reader

I've just recently upgraded from wm2003 to wm2003se from zeroextreme's ROM. I've noticed that there isn't no Microsoft Reader in the basic apps installed. I then downloaded the installer of Microsoft Reader for PPC. What I would like to do is for it to be included in the basic apps to be installed after a hard-reset. How do I do this?
MSReaderPPC
Add this command line into your Config.txt file of your Extended ROM.
CAB: \Extended_ROM\msreader_arm.CAB
Download the attachment, unzip and place the cabinet file within into your Extended ROM folder.
Re: MSReaderPPC
[Krueger said:
Dr.Stein]Add this command line into your Config.txt file of your Extended ROM.
CAB: \Extended_ROM\msreader_arm.CAB
Download the attachment, unzip and place the cabinet file within into your Extended ROM folder.
Click to expand...
Click to collapse
I can't seem to edit / change the config.txt file in the Extended ROM. I tried editing it from the Extended ROM and Pocket Word prompts me with this:
"No storage memory available
Tap Cancel, use File Explorer to delete some files, and try again. Or, move the note to an alternate storage location.
Tap Discard to close the document without saving changes"
I then tried to copy the config.txt file to a different folder (i.e. My Documents) and edit it from there. After doing this, I tried to overwrite the config.txt in the Extended ROM with the new config.txt and it says:
"Action Failed
Cannot overwrite file 'config.txt'. The media is write protected.
Press 'Yes' to continue."
extrom unlocker
try this to unlock/unhide your extrom and edit/cook as well.
Re: extrom unlocker
:lol: harhar.. got it.. thanks a lot!
Thank you so much for posting a copy of the CAB file! I had to replace my phone and the new one wouldn't sync. I was getting desparate because most of my books are in .lit format - beginning to go through withdrawl symptoms. And the MS Reader for PPC only loads through the Mobile Device Center. I've been scouring the 'net trying to find some answer that works to fix the problem and coming up with nothing effective. With this CAB, I don't need to sync. Thanks again!
Quite an ancient thread, I hope I'll get some answers...
This CAB does not work on my WinCE 6.0 handheld with ANYKA CPU.
Most of the CAB I download do not work. Only CABs found in MioPocket package work.
Why?
MioPocket contains MS Reader too, already "installed", but upon starting it complains about internal error 010, which afaik means "messing fonts".
So where do I get missing fonts from?

UC Compliant ROM and SDConfig.txt for Athena

I have some questions for those of you who have already gained expertise in this.
1) Is the following allowed? Or must all cab files resides in the SD card?
CAB: \Microdrive\Adobe PDF Reader\Cabs\Adobe_PDF.cab
2) How do I specify that I want it installed into the microdrive rather than the device memory, other than modifying the cab file to choose that location? If the only way is to modify the cab files, how do we go about doing it?
Thanks for sharing your knowledge.
eaglesteve said:
I have some questions for those of you who have already gained expertise in this.
1) Is the following allowed? Or must all cab files resides in the SD card?
CAB: \Microdrive\Adobe PDF Reader\Cabs\Adobe_PDF.cab
2) How do I specify that I want it installed into the microdrive rather than the device memory, other than modifying the cab file to choose that location? If the only way is to modify the cab files, how do we go about doing it?
Thanks for sharing your knowledge.
Click to expand...
Click to collapse
1) yes i believe you can do that i have never tried to have the sdconfig.txt on storage card but direct it to microdrive but it should work
2) I think there is some cmd for that but i am not sure. you could always use wince cab manager.
irus said:
1) yes i believe you can do that i have never tried to have the sdconfig.txt on storage card but direct it to microdrive but it should work
2) I think there is some cmd for that but i am not sure. you could always use wince cab manager.
Click to expand...
Click to collapse
I have tried directing it to microdrive. However, the SDAutoRun (the one that happens before the SDConfig.txt, not sure if this is the right name) never complete. It sorts of stops and freezes at that stage.
wince cab manager. I'll do some research on this and try out.
Thanks irus for these pointers.

XDA_UC cabs installed to storage card

Hi everybody,
I have a problem which drives me crazy and I'm hoping that somebody on this forum will be able to help me. I have HTC HD2 phone and using latest Feb 1st Energy ROM. As a part of this ROM there is a tool XDA_UC which I have been using successfully for a while. Originally I was installing most of my application on to the phone memory (all of them resided in \Storage card\XDA_UC), but because I struggle with a free storage space I decided to install all of them to storage card. I moved all the cab files to \Storage Card\XDA_UC\Storage, but nothing got installed. I tried also \Storage Card\XDA_UC\Manual, but same case. I reduced number of cabs down to 2 and changed their names not to contain any no-alphabetical characters, but still same results. I'm following this information regards to cab placement:
* My.tsk file from "\Storage Card\XDA_UC"
and if not present Cook.tsk from Windows Folder.
* import *wifi*.*xml and *mail*.*xml provisional registry settings for WiFi and Email setup.
* Copy Over User Files.
Check for "\Storage Card\XDA_UC\Copy2Root" if present, Disable Manila from Homescreen then Copy files from "\Storage Card\XDA_UC\Copy2Root" to the root of the device, Then checking for existence of wallpaper_TF3D.png or wallpaper_TF3D.jpg in "\Storage Card\XDA_UC\Copy2Root\Windows" and adding that to
[HKCU\Software\HTC\Manila]
"HomeBackgroundPath"="\\Windows\\wallpaper_TF3 D.jp g"
Import registry files from "\Storage Card\XDA_UC\Copy2Root\Windows\manila.reg" If present
Re-enable Manila on Homescreen and redraw it. Now also works for the Sense 2.1 and up versions.
* .xdas files in "\Storage Card\XDA_UC"
* Silently run Legacy SDConfig.txt from Storage Card
(If your using RunCC.exe or Autorun you do not need to point to or use SDAutorun.exe or SDConfig.txt) Thanks to RoryB
Commands for SDConfig.txt can be found here....
* .cab files in "\Storage Card\autoinstall"
This makes it compatible with your storage card's setup for Tom's Autoinstall.
* .cab files in "\Storage Card\XDA_UC"
* .cab files in "\Storage Card\XDA_UC\Storage", These cab files will be tempted to install to Storage Location. Not recommend using this method. Please use Manual instead.
* .cab files in "\Storage Card\XDA_UC\Manual",These cab files will start with Full User interaction capabilities to choose where to install to.
* .reg files in "\Storage Card\XDA_UC"
* .xml files in "\Storage Card\XDA_UC"
* .mscr files in "\Storage Card\XDA_UC"
* .cer files in "\Storage Card\XDA_UC"
* Create Shortcuts and more from Registry Keys
More information here....
* Copy over welcomehead.192.01.png & welcomehead.192.02.png present in "\Storage Card\XDA_UC\Copy2Root\Windows" to the Windows folder.
* Copy over welcomehead.96.01.png & welcomehead.96.02.png present in "\Storage Card\XDA_UC\Copy2Root\Windows" to the Windows folder.
Actually everything is copied over from Copy2Root folder to root, but the above Splashcreens get their file atributes removed before this happens.
* Add native support for .mscr, .mortrun, .xda, xdai, xdas & .xdaz files
Click to expand...
Click to collapse
I also created SDConfig.txt in \Storage Card\XDA_UC with commands to install two cabs on to storage card with no luck.
What am I doing wrong? Why I cannot get any cab file installed into storage card using XDA_UC and why also interactive install is not working?
Is there any install log file to check? Many mane versions back I got the message from XDA_UX that install was finished, but this is not working either and I don't know what is broken.
Any suggestions, or tips are appreciated.
Thank you.
I found partial solution.
If cab files are placed under \storage card\XD_UC\SD
then all of them are being installed using interactive installation where I can choose location to install cab to.
Still this is just semi-automatic, I'm wondering whether there is an option of installing those cabs into storage card automatically without any interaction.
robsonr said:
I found partial solution.
If cab files are placed under \storage card\XD_UC\SD
then all of them are being installed using interactive installation where I can choose location to install cab to.
Still this is just semi-automatic, I'm wondering whether there is an option of installing those cabs into storage card automatically without any interaction.
Click to expand...
Click to collapse
I saw a mortscript over on the Rhodium forum that allowed this. I even tested it for a while. But when I went to Rhodium, I install everything in main memory storage anyway.
I'm attaching the mortscript, you can look inside it to see what it does. It goes in the XDA_UC directory.
EDIT: As I recall, you need to make sure that the CAB files do not require interaction, and there is an additional directory you need to create if any of the cabs need human intervention, like to hit "Accept", etc.
I have the same problem
stevedebi said:
I saw a mortscript over on the Rhodium forum that allowed this. I even tested it for a while. But when I went to Rhodium, I install everything in main memory storage anyway.
I'm attaching the mortscript, you can look inside it to see what it does. It goes in the XDA_UC directory.
EDIT: As I recall, you need to make sure that the CAB files do not require interaction, and there is an additional directory you need to create if any of the cabs need human intervention, like to hit "Accept", etc.
Click to expand...
Click to collapse
I give it a try. Thank you.
I use this script:
http://forum.xda-developers.com/showpost.php?p=8865033&postcount=130
It auto installs most cabs to the SD Card, it seems to have a problem with large files such as the Waze navigation cab.
hi,
i've tried to install cabs whith this procedure, but i've a problem.
my hd2 is locked with lock password because wm6.5 has bugged from 2 weeks ago when i started my phone without charge battery. then after i entered my lock password, i entered my pin code ok too, then it has stopped again and my lock password was reset by wm6.5. so i can't unlock my phone. because i've not save my contacts, i don't want to make hard reset to solve it without saving it before.
by reading this post, and other ones, i've an idea to use autocab install on sdcard to try to solve my problem. i found a .cab that normaly put hklm lock password disable and i tried the script that stevedebi talked about. but i think that the loading of the script 0002_sashimi_sdauto.mscr can not be ok because the lock password is active.
Is anyone can confirm that or that it depend of a special rom ? (my rom is an official french operator rom).
perhaps, i put files and directory not on good place on my sdcard, for resum it is :
i've created directory \XDA_UC and \XDA_UC\SDAuto , i also test whith \SDAuto
i put the cab in \XDA_UC\SDAuto and \SDAuto and the 0002_sashimi_sdauto.mscr on \ of the sdcard.
can you confirm those localisations are also ok ?
nicohtc34 said:
hi,
i've tried to install cabs whith this procedure, but i've a problem.
my hd2 is locked with lock password because wm6.5 has bugged from 2 weeks ago when i started my phone without charge battery. then after i entered my lock password, i entered my pin code ok too, then it has stopped again and my lock password was reset by wm6.5. so i can't unlock my phone. because i've not save my contacts, i don't want to make hard reset to solve it without saving it before.
by reading this post, and other ones, i've an idea to use autocab install on sdcard to try to solve my problem. i found a .cab that normaly put hklm lock password disable and i tried the script that stevedebi talked about. but i think that the loading of the script 0002_sashimi_sdauto.mscr can not be ok because the lock password is active.
Is anyone can confirm that or that it depend of a special rom ? (my rom is an official french operator rom).
perhaps, i put files and directory not on good place on my sdcard, for resum it is :
i've created directory \XDA_UC and \XDA_UC\SDAuto , i also test whith \SDAuto
i put the cab in \XDA_UC\SDAuto and \SDAuto and the 0002_sashimi_sdauto.mscr on \ of the sdcard.
can you confirm those localisations are also ok ?
Click to expand...
Click to collapse
XDA_UC runs after a hard reset, but I think it is only on NRG ROMs. You have to have the executable in the \Windows directory to run it.
Can you setup Activesync and sync the device to your computer? That would backup the contacts.

Categories

Resources