How do I relocate an application to SD card? - MDA, XDA, 1010 General

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.

Related

How to change default "Program Files" directory?

I want to change thet default install directory "\Program Files" to "\Storage Card\Program Files" if possible, because I don't want install my programs to main memory. I found solution for Windows XP : set the directory path in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir variable.
(I know CABINSTL program, wich enable to install my applications to any directory, but it's not working for every time.)
Please help, if You have any idea.
Re: How to change default "Program Files" director
nagygabor679 said:
I want to change thet default install directory "\Program Files" to "\Storage Card\Program Files" if possible, because I don't want install my programs to main memory. I found solution for Windows XP : set the directory path in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir variable.
(I know CABINSTL program, wich enable to install my applications to any directory, but it's not working for every time.)
Please help, if You have any idea.
Click to expand...
Click to collapse
If your using active sync, you can slelect if you want to install a programm to the main memory. or to your storagecard. So i donĀ“t understand your Question.....
:? :?
Stefan
Re: How to change default "Program Files" director
Sorry, my English is awful...
So, I can install applications to SD card, but I can't install some programs to "\Strorage Card\Program Files". It's not my biggest problem, but if possible I want to collect all of my applications to same directoty on SD card.
you can choose install direction when your xda is activesync
I started a similar thread 3 days earlier
nagygabor679, I had had the same question, only asked them differently, when I started the thread
http://forum.xda-developers.com/viewtopic.php?t=6731
I have had all the asnwers collected there digested. In particular, I explained how to get cabinstl to work. We are on the same boat.

Install location on storage card

When installing applications, if I choose to install to Main Memory, the apps get installed to \Main Memory\Program Files. Which is all fine and well. But if I select to install to Storage Card, they get installed to the parent Storage Card directory itself. There is no equivalent \Storage Card\Program Files directory.
I know my complaint is idiosyncratic, but I don't like the way this crowds up my Storage Card dircetory. I would rather have them classified together.
Is there a registry tweak or some other way to set the parent directory on the Storage Card under which to install?
CAB-installer
Try this
http://www.geocities.com/s_k_s_k_s_kru/util.html#ci
greetz
Re: CAB-installer
Jenki said:
Try this
http://www.geocities.com/s_k_s_k_s_kru/util.html#ci
greetz
Click to expand...
Click to collapse
I find that most of the installs I do are not CAB installs, but from my PC.
Re: CAB-installer
sumitk said:
Jenki said:
Try this
http://www.geocities.com/s_k_s_k_s_kru/util.html#ci
greetz
Click to expand...
Click to collapse
I find that most of the installs I do are not CAB installs, but from my PC.
Click to expand...
Click to collapse
Wich sync's .cabfiles to your PPC
Sometimes you can 'extract'the cab files form the install and install them manually...
CAB files
I know what you meen.
With those installs i do the following:
1) Install on the desktop
2) Then active sync asks you to install to your PPC
3) Just click abort (annuleer)
4) Look in your Active sync folder (C:\Program Files\Microsoft ActiveSync) for the folder of your program for the CAB-file
Succes.... 8)

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?

How to create Shorcuts?

Hi all,
I have installed some programs on my SD Card that i use regularly. I have manually created all the shortcuts in a separate directory. Now each time i flash a rom i need to copy these shortcuts to programs directory.
Is there any way or program that can place them automatically to the destination directory such as batch file in windows
copy <source> <destination>
I have no idea about mortscript may be it is possible with that.
Thanks
Found this with the help of mortscript
xcopy("\Storage Card\!MyApps\Games\!Links\*.lnk","\Windows\Start Menu\Programs\Games")
tvse0821 said:
Hi all,
I have installed some programs on my SD Card that i use regularly. I have manually created all the shortcuts in a separate directory. Now each time i flash a rom i need to copy these shortcuts to programs directory.
Is there any way or program that can place them automatically to the destination directory such as batch file in windows
copy <source> <destination>
I have no idea about mortscript may be it is possible with that.
Thanks
Click to expand...
Click to collapse
Use Resco explorer or I think total commander can also do the thing easily .

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