WM6 CAB changing default installation dir - 8525, TyTN, MDA Vario II, JasJam ROM Development

Hello.
Is it possible to change (for installation) directories when I'm installing apps thru cab files? I'm meant I have only two possibilities : storage and storage card... Im looking for something that helps me install any apps cab to separate customizable folder...
CABinstal won't work because: I'm choosing cab file, destination, start and... wm6 asks me where to install: storage or Storage card (with no chanses to install in directory which i have choosed)
I have Schap's 3.60a rom
Sry for my Bad English
Please Help

Related

How to change default install location

I have all .cabs zipped up on my sd. now the problem is when executing the cab it installs it directly to the main memory, whereas i wish to install it in my "/Storage", is it possible make this location the default?
Thanks in advance....
use cab installer to install the cab files.

automatic install without hacking rom!

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??

Auto Install Cabs onto Storage Card

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.

Extended Rom and Hard Reset

Hello.
At first sorry for my language.
I have problem, after HR, Extended_rom aplication are not starting to install. I had unhide an extended rom folder and he is in main directory where is windows folder and program files folder(correct place for extended rom?? becouse I have heard thet should be in STORAGE).
Next I check how much take place and resco explorer show me only 0,9 MB.
When I enter in the folder I check a sum of all files and is above 15MB.
Yesterday I change a ROM on newer and I thought that extended rom also will be working after upgrade but he is not.
Any idea??
Cant you just go to the extended_rom and run all those .cab's from there?
No becouse show me that a each .*cab is not a Windows CE aplication or something.
I deleted eveything manualy except config.cfg and now I want to manualy copy all extended roms files in EXxtended_ROM folder but there is not inought space. I have less then 1MB. Enyone know how to change space Extended_ROM folder ??

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