Auto Install Cabs onto Storage Card - Upgrading, Modifying and Unlocking

Hi, I've read somewhere in the forum that is possible to use the ExtRom Autorun application to install the cabs you want after a Hard reset.
I have a question regarding that issue. Is it possible to change the config.txt file in a way that you can silently install apps not only on the main memory but also onto the Storage Card?
What I'm looking for is an autoinstaller of some kind...
Thanks in advance.
Sorry for my bad English!
...Anyone?

Hi
You can use WinCE Cab Manager to edit your cab files and change the Default Install Dir.
Open the cab you want to edit and then in Default Install Dir make a new folder named Storage Card (if you want to install on Storage Card). In Storage Card folder create the subfolder for your cab app then save.
You can also create a especific folder or shortcut to be created on start menu of your pocket pc.
Then you just copy all your edited cabs to ExtROM and when you hard reset your pocket they will be installed on Storage Card.

coxrui said:
Hi
You can use WinCE Cab Manager to edit your cab files and change the Default Install Dir.
Open the cab you want to edit and then in Default Install Dir make a new folder named Storage Card (if you want to install on Storage Card). In Storage Card folder create the subfolder for your cab app then save.
You can also create a especific folder or shortcut to be created on start menu of your pocket pc.
Then you just copy all your edited cabs to ExtROM and when you hard reset your pocket they will be installed on Storage Card.
Click to expand...
Click to collapse
Will try that, thanks!
------------------------
Obrigado pela ajuda, vou testar e depois digo como correu!

i tried that, but, i still have a question: with wince cab manager, if I'm doing that @coxrui the application is still asking for the location of the cab installation. how can i install it directly to storage card without asking?
P.S. solved: you have to use hard-code paths to storage card.

Related

Unlocked Storage - Cab files question

So I've unlocked my extended storage. My understanding is I can put cab files in there that will then automatically be installed when I do a hard reset.
I notice there is a config file in there, does this need to have any cab files added to it when I copy them into the storage space?
Also, alot of applications come down as windows installers, I don't suppose there is an easy way to make a cab file from these?

.Cab automation to storage card

hi,
can any1 help me edit the config .txt file to make my own extended rom ??
1.Iv noticed the cabfile names in config.txt
2.how do i make these apps automatically install to storage card ??
because they normally ask me to accept the certificate + then choose if i have to install the program in main memory or storage card
how can I do these two steps automatically ??

help on using autorun.exe

it seems that i asked this b4....
but i still have problems...
the scenario now is
1. i put autorun.exe and config.exe in "/storage card/essential/" folder
2. i put cabs into that folder
3. i edit the config.txt so that it points to these cabs
......but above did not work. nothing happen when clicking autorun.exe
did i miss something??
or the cab has to be remake?
those cab are just normal cab that ask where to install.
one more thing, can CPY function work with "*.*" command or does it support copying folders?
Hi,
There is already a thread on this topic.
Look here.
wfg
S64
i have read this thread
but i m not making a ext rom now....
i wanna run the autorun.exe on SD card instead of extrom
actually i just want to make a batch installer not ext rom
could anyone help help on this?
Just make a shortcut to the autorun.exe on the SD card, and put it in Windows\Startup folder. BUT, make sure you delete it after it runs, or remove the SD card before rebooting, or you will have multiple installs...
@drummer10630
coz i put all the cad and sutorun.exe in SD card
is that mean autorun.exe cannot run manually?
I never tried it, but are there any disadvantages to the method I suggested?
i just tried it..but it dosent work
..wondering if autorun can only be executed in extrom
hi
any news? i have the same problem/
thanks

Is it possible?

hi there. i installed some programs on SD card, then i made softreset and after that i couldn't any more access the programs through shortcuts in programs in touchFlo. i can only access via SD card. is it possible to make a shortcut in touchFlo so i don't have to uninstall it and then install it again?
jabar2 said:
hi there. i installed some programs on SD card, then i made softreset and after that i couldn't any more access the programs through shortcuts in programs in touchFlo. i can only access via SD card. is it possible to make a shortcut in touchFlo so i don't have to uninstall it and then install it again?
Click to expand...
Click to collapse
You did soft reset or hard reset?
Doing soft reset shouldn't cause that problem.
Anyway here is path to access program launcher in Touch FLO (reg)
HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLanucher
it was a softreset first , then i had to take the battery out
i found the solution
To create a short cut for program in your start menu or programs menu of device.
in your device - using file explorer, find "your program".exe - you should know where it is cos you created this folder remeber!
copy this file (shortcut)
now in your device using file exlorer navigate to the windows folder. open it. you will see a folder called start menu or if u like programs menu - simply paste the shortcut here, DO NOT PASTE THE FILE- IT MUST BE THE SHORTCUT!!!

Cab editing to install on SD Card

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.

Categories

Resources