Change Installation Directory - JAM, MDA Compact, S100 General

Hi,
i want to install the programs to a directory on the mmc card.
But if i do so, it installs in the root.
Now, thats not looking nice, and its hard to find anything there then.
I want create a directory for games and programms on the card.
How can i do that?
I can only choose between, Memory Card, Storage and Main Memory.
And that sucks!

Maybe u can user WinCE CAB Manager and edit the *.cab installation directory to any directory u prefer.

You can use the freeware CabInstall and install program directly from the SD.

Yes, but on the on hand this would be a lot of work, changing every single files directory in the cab and on the other hand it wouldn´t work out with Progs, that have an exe intallation, like the game AoE.
Thos Progs, first install on the PC and then on the PPC, and there are no editable CABs at all.
I thougt about changing the installation interface inactive sync , but i´m not a coder.
But maybe, there is somebody out there, who had the same idea like me and realised it already.

The Best solution ever: have a look at the attached files, open the TXT file first (the instructions)
You will not need any additional Software (except e Regestry editor like PHM Regedit), just follow the instructions and use the attached files.
Workes great I am having this now for 4 months!

if you install the programmes to the SD/MMC card, and they make their own folder, put the SD/MM card into a card reader on the pc and select the entire folder as hidden. this means that the programme still works, but does not show up when you explore the card. this does not work if u are using your phone as a card reader.

Sorry DerliebeWolf, The BEST solution is the follow (Tested on WM2003Se):
- Download a registry editor 4 Ur PPC
- Open AskDir_ON.reg with the program
- Reset your PPC
manually:
- Go to \HKLM\SOFTWARE\Apps\Microsoft Application Installer\fAskDest
- Change DWORD value (dec) from 0 to 1
- Reset your PPC
If you install a cab file or an exe file from the pc (that copy the cab into your ppc and then execute it), Windows Mobile will ask you in wich folder you want to install the sw.
Note that you can have problems with some applications (because they're not installed in their own directory)

Check out Nonentity's File System Tweak http://forum.xda-developers.com/vie...order=asc&highlight=file+system+tweak&start=0

Cabinstaller is the best and easy software i could recommend for this. Run the cab installer software once and set it to run for all installations, the whenever u try to install a cab file, it will prompt you for the path of installation. It also has an option to disable deleting of cab file after installation. Do you want anything more than this? and to the max, it is free ware! Its easy to get, if you can't find,I have it in my site' software section. www.cartystudios.com

oh yes, i've forget that cabinstall associes .cab files to it (and then, when you execute an exe from the pc, in the ppc will be opened always with cabinstall in auto)
They're the 2 Best Solutions

Related

Difference from .exe installation and .cab ...

Hi guys,
I think I don't understand the difference between the desktop (.exe) installation and the .cab installation for a ppc programs....
Is there a possibility to install the program in a dir. of the SD? For example, I'd like to create a dir called "Program files" in the SD.
P.S: How can I change the default location for programs installation from device memeory to SD?
Use cabinst (search on google) to install cabs from PPC to different folders - essential tool!
You need registry tweaks to change the default folder, although this isn't really advisable. See Tweaks2k (i think) for this. But with cabinst, not required!
V
Thanks!
If I understand well... I have to install at first cabinstl on my Jam and after that I must use .cab installation!!? (I have to copy cab file in to particolar path of SD or?)
Using .exe install is not possible?
The .exes you download from sites wil (almost always) be for installation on the PC. You double click that, that'll load up activesync and install that way.
The other way is to copy the .cab to your pocketpc and double click. That will install, but gives little control over custom folders to install to and will also delete the .cab after install.
However, after installing cabinst you can double click on .cabs on the PPC and install anywhere.
V
Yeah! With cabinst I can instll app on my own "Program Files" dir in SD...
That's nice but I can't find all the app I have to install in CAB format so... my question is if is there any method to put the files on a specific dir from .exe installation..
Many thanks guys!
if you've got the .exe for the pc, double click it WITHOUT your pda connected. Activesync will load up and you'll get the Add/remove programs screen, saying the program will be installed next time you connect your pda.
Then, on your pc, you have to hunt around for the cab.
I use a program called filetracer to find files, but generally try looking in (I think, I'm not in front of my pc right now) C:\program files\Microsoft active sync\ (or something like that). There you should find folders, eg
\spb\Weather Panel (that's not a real example!).
Dig through there, and you should find eg
Arm_VJStuff.cab.
This is the file you need.
Sometimes you'll get a bunch of numbered files. eg If you see one like
2577_vjstuff.cab amongst other numbered files, the 2577 is the one you want (2577 refers to ARM, the chip in your PDA).
Copy that cab file to your desktop or wherever you want to store it, and copy a copy to your PDA. When you connect up your PDA activesync will ask if you want to install the installation you aborted earlier. Just cancel it.
From there, just install on your PDA with cabinst!
Sounds complicated, but you'll get the hang of it very quickly!
I keep all of my cabs in a folder for installation from hardreset very quickly.
V
Sounds good!!! :wink:
Thanks!

How do I change welcomehead.96.png?

I'm writing a little tool to restore my settings after a hard reset.
One of the problems I've run into is that I can't "overwrite" the splash screen image in the windows folder.
I'm using visual basic and the "file.copy" command.
Does anyone know how to overwrite this file (and probably also other files in "rom")? Would an api function to copy the file work better?
Total Commander, and MortScript, succeeds in copying another file to \windows\welcomehead.96.png, so there must be a way
B
Let me give you some hints:
1. You must edit ROM to change files.
2. Please go to URL
http://forum.xda-developers.com/viewtopic.php?t=34171
on2003 said:
Let me give you some hints:
1. You must edit ROM to change files.
2. Please go to URL
http://forum.xda-developers.com/viewtopic.php?t=34171
Click to expand...
Click to collapse
OK. I'll Rephrase my question:
I want to write a program to copy the file:
\storage card\welcomehead.96.png
to:
\windows\welcomehead.96.png
on a WM5 device. I'm not interested in editing the rom.
I know it's possible to write a program that can copy the file, since both total commander for PPC can do it and MortScript can do it.
It does not work when using "file.copy" in visual basic. So i'm asking if anyone knows if there's an API function I can use to do it, or if there is some other way to do it.
"Cooking a new rom" is not an option for me. Because:
I want to be able to use whatever rom i want, and I am making a tool which i can run to do the following after a hard reset (or rom upgrade):
- copy files (typically shortcuts to progs intalled on the storage card, files in my documents etc.) from the storage card to the device
- set registry entries the way I want them
- install the cab files I want "automatically"
I've got it all sorted, except that it bombs when i try to copy the file "welcomehead.96.png" to the windows folder.
B
bredita said:
on2003 said:
Let me give you some hints:
1. You must edit ROM to change files.
2. Please go to URL
http://forum.xda-developers.com/viewtopic.php?t=34171
Click to expand...
Click to collapse
OK. I'll Rephrase my question:
I want to write a program to copy the file:
\storage card\welcomehead.96.png
to:
\windows\welcomehead.96.png
on a WM5 device. I'm not interested in editing the rom.
I know it's possible to write a program that can copy the file, since both total commander for PPC can do it and MortScript can do it.
It does not work when using "file.copy" in visual basic. So i'm asking if anyone knows if there's an API function I can use to do it, or if there is some other way to do it.
"Cooking a new rom" is not an option for me. Because:
I want to be able to use whatever rom i want, and I am making a tool which i can run to do the following after a hard reset (or rom upgrade):
- copy files (typically shortcuts to progs intalled on the storage card, files in my documents etc.) from the storage card to the device
- set registry entries the way I want them
- install the cab files I want "automatically"
I've got it all sorted, except that it bombs when i try to copy the file "welcomehead.96.png" to the windows folder.
B
Click to expand...
Click to collapse
You just have to overwrite the existing file...
1. Open the file
2. Write data
3. Close
Cheers,
.Fred
You just have to overwrite the existing file...
1. Open the file
2. Write data
3. Close
[/quote]
Thank you very much for your reply. I'll try that
B

True VGA

hi,
i have installed (partially) the true VGA option on my universal according to tips given in the hack from http://forum.xda-developers.com/viewtopic.php?t=41968 but i am having some problems.
the instruction states :
1 copy the files in windows folders files to windows dir of mobile
2 copy and run sdkcerts.cab to mobile
3 run ozvga and press ozvga button
4 copy files in vga system folders to windows dir for updated vga system files
5 copy and run vjbigphone091 , vjbigphonebuttons , vjbigphonebackdrop
6 soft reset and vga mode activated
now what i have noticed :
1 done
2 done
3 done
4 here is the problem..when i try to copy these files using ActivSync i am getting error messgae that i cannot copy file cos they are not read-only files, even if i change them to read-only files i am still unable to copy them, acces denied while copying.
5 done
6 done
after doing 5 of 6 steeps i am running my universal in VGA mode but why cannt i copy these file and are they really needed ?
in addition i can say that VGA seems not to suprt wisbar and some other program , is there any list of compatible software.
can i change the size of icon and task bar and other stuff while running VGa mode. where can i find some more info about VGA ??
i am using mda pro with not the lates ROM ( just bought my mda )
any help and ideas are appreaciated !
cheers, cudo
Use Resco File Explorer to copy the protected files, as though it still recognises they are 'system' files the program does overwrite them with the ones you need.
This has been covered elsewhere on the forums.
Cheers
Ant
hi, i have been llokin for this thread but couldnt find anywhere..can u give me a link ?
cheers, cudo
is there any other way to "activate" true vga on universal ?
Don't use the VGA files from Ozvga, there are files on the XDA developers ftp site (I think they are in an archive called VGA_AKU2.zip). This has the sdkcerts.cab file and a folder called windows. I have the contents of this archive and ozvga sotred on my SD card and whenever I hard reset or upgrade the ROM I run sdkcerts.cab and use total commander on the phone (I suppose resco would do the same job if you have it installed) to copy the windows folder to the root filesystem of the phone, it will complain that there is a folder called windows there already but just hit OK to copy over it, it won't replace any critical files. You can run ozvga from the SD card but I tend to copy it into main sotrage so that if I swap cards its always available.
OR better yet, search the darn forum before you do ANYTHING to your Universal. Not like I haven't posted the same thing over and over.
http://forum.xda-developers.com/viewtopic.php?t=52475&highlight=*vga*
http://forum.xda-developers.com/viewtopic.php?t=56209&highlight=*vga*
http://forum.xda-developers.com/vie...ays=0&postorder=asc&highlight=*vga*&start=100
http://forum.xda-developers.com/viewtopic.php?t=52363&highlight=*vga*
Forum search is your friend

Autoinstall a set of CABs (possible?)

Hi, i have updated my device to the mr. clean image.
Now i have to install all software. So i create a folder on my storage card with all necessary cab files.
Is there a possibility to have them all be installed with one click? For example to create a Batch to install them one after another?
Hope not to ask silly questions.
TheGulOfDedra
try this;
example;
This '\Storage Card\2577\autorun.exe' is an official M$ way of autolaunching programs from SD card, well described in MSDN...
If you put calc.exe into this folder and will rename it to autorun.exe, it will be automatically launched upon inserting this SD card in. So your calculator will pop up...
make a folder in the root of the sd card called [2577] put the cab files into the folder ,reboot the device .it should install,
alternative; use the autorun from the extended-rom to launch the files.you my need to do some editing intiothe config file.
Thanks - how can i "see" the extended rom? Editing a config file is no problem for me.
TheGulOfDedra said:
Thanks - how can i "see" the extended rom? Editing a config file is no problem for me.
Click to expand...
Click to collapse
use "TOTALCOMANDER"
download ,install then open the prog ,write the folowing in totalcomander,[extended_rom] now you should see the contents of the extendedrom,you can use totalcomander to copy any file to any location.
download from here; http://www.ghisler.com/ce.htm
thank you very much to all
Problem is...all your CABS will be installed to their default installation directory (mostly Main Storage).
What I would like to know is how to make all CABS install to the Storage Card or a directory specified in the config.text?

ReLoad v0.1 Beta

ReLoad
This is a MortScript script written to simplify reinstalling cab files, and restoring files back to the device from a zip file on the trinity.
More information about MortScript at http://www.sto-helit.de
-v.01 Initial Release
Known Issues
-Cab files that initiate the installation of another cab file ie.Wisbar Advanced
-How to setup:
1)Extract Reload.rar to your storage card.
2)Place cab files in the CabsAuto folder if you want to the cab to be automatically installed to the device (installation to automatically install to the storage card is currently not available).
3)Place cab files in the CabsManual folder if you want to be able to choose where to install the cab.
4)Place file in the Backup.zip file that you want to be restored.
ie. If you wanted example.jpg to be placed in the \Windows folder, place example.jpg in the Windows folder of the zip file.
*Please note that the cab files placed in the CabsAuto folder need to conform to only asking the user for the installation destination, then showing installation successful/unsuccessful. Otherwise you might encounter some
problems. You should place cabs that don't conform in the CabsManual folder, or adjust these cab files with programs such as WinCE CAB Manager.
-How to use:
1)In the Reload folder, execute Run1st. Click ok the the window that pops up. This just installs MortScript
2)Execute Run2nd. This will initiate the script that will first install the CabsAuto, then CabsManual, and finally restore the files in the zip file.
Use at your own risk.
Download
http://rapidshare.com/files/29964511/Reload.rar.html
Thx, that's a good idea.
is there a way to have it restore registry entries from a .reg file?
Is there a way to install certain cab files on RAMDisk/Storage card without individually clicking the install option??
@racerx_
Currently there isn't a way to restore the reg file directly. But you can create a cab from the reg file and then have that cab automatically installed.
MortScript wasn't able to read in the reg files i saved with resco explorer, so I gave up on doing it this way. For right now the easiest way is to create a cab file with WinCE Cab Manager.
@c_shekhar
The best way to install the program to the Storage Card, backup the reg (and any possible files installed on rom), then create a cab from this.
This post has alot of good information on this.
http://forum.xda-developers.com/showthread.php?t=277727
yeah, i've been trying like a madman to get win ce cab manager to make a cab of my .reg file.. but when i click on 'import' and try to grab the .reg file it tells me it's only for registered versions of the program.. is there another way i'm not seeing? cause right now the only other options i see for registry entries is to manually create them one by one which doesn't sound very exciting hah
thanks for the help..
@racerx
What OS and version of WinCE Cab Manager are you running. I heard of some problems with the newest version of WinCE Cab Manager with Vista. I am running version 2.1.0.35.
If that isn't it, you might have run the program past its initial trial use.
hmm.. Win Ce CabManager is 2.1.0.50 running on xp.. still got 17 uses left.. sigh..
Maybe i missed something. Just in case, what button or command are you using to get your .reg file into WinCE? I was using the 'file' 'import' command.
@racerx
That's the same way I do it. I would find an older version and try it again.
Reload V0.2
I made a couple of changes to the script for a rom we are going to be releasing soon...it checks if Backup.zip exists and only does the unzip if it does...I also added a SDBackup.zip for files to unzip to Storage card (specifically exe's and dll's I've already upx'd to shrink them but reinstalling the cabs replaced them again so this puts them back)....
#ReLoad
#v.02 Initial Release
#Use at your own risk.
#v.02 Extract files from SDBackup.zip to Storage Card
If(Question("Do you want to ReLoad?", "Reload 0.2", "YesNo")="No")
EXIT
EndIf
Run("Storage Card\ReLoad\Bin\Message_Running.mscr")
RegWriteDWord("HKLM", "Comm", "AutoRunFlag", "0")
RegWriteString("HKLM", "Comm", "AutoRunCFG", "\Storage Card\ReLoad\CabsAuto\Config.txt")
#Create Config File
Delete("\Storage Card\ReLoad\CabsAuto\Config.txt")
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "SHOW:\Storage Card\ReLoad\Bin\ReLoad.bmp^NL^")
ForEach x in files { "\Storage Card\ReLoad\CabsAuto\*.cab" }
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "CAB: ", 1)
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", x, 1)
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "^NL^", 1)
EndForEach
#CabsAuto Install
RunWait("\Storage Card\ReLoad\Bin\AutoRun.exe")
#CabsManual Install
ForEach x in files { "\Storage Card\ReLoad\CabsManual\*.cab" }
RunWait(x)
EndForEach
If (FileExists("\Storage Card\ReLoad\Backup.zip") )
#Restore files from zip to main storage
UnzipAll("\Storage Card\ReLoad\Backup.zip", "")
EndIf
If (FileExists("\Storage Card\ReLoad\SDBackup.zip") )
#Restore files from zip2 to storage card
UnzipAll("\Storage Card\ReLoad\SDBackup.zip", "\Storage Card\")
EndIf
KillScript("\Storage Card\ReLoad\Bin\Message_Running.mscr")
If(Question("Finished ReLoading.^NL^Do you want to reset?", "Reload 0.2", "YesNo")="No")
Exit
EndIf
Reset
Very good soft, it works nice !!
The only difficulty for the french users is to replace in the script "Storage Card" by "Carte de stockage"
Thx men for this !!!
Nice soft,
I could use FAMAN WM6 on my trinity now !
French translation and modification is (seem to be) ok.
Just wait the OK from the boss and I'll give you !
Edit : Why don't you use the LOCK:Enabled in the header and LOCKDisabled on the end of the config file ? Thxs in advance.
I use SettingsSavior on my Trinity mainly for its similar auto-install functionality
Hello,
Thank you for this very useful tool
My .cab are removed after using Reload. How can I keep my .cab on my SD after a new installation ?
Thank you for your help.
Guillaume
__________________
SPV M700
FAMAN 4.03.FR
1.50.08.11
2.79.7020.19H
can this software reinstall cabs, copy skin files in programs installation directory (eg pocketcm skin) and reconfigure mail and exchange accounts ?
OOPS delete this post.

Resources