Custom install file and setup.dll - JAM, MDA Compact, S100 Software Upgrading

I'm trying to create one custom CAB-file from multiple CAB-files so I can install all my "default" apllications on my MDA Compact after a hard reset (or an upgrade for that matter) with just one click.
I've already created a file that copies the files and creates registry-items, but now I'm having trouble with actions embedded in the original setup.dll's of the application. Does anybody know a tool or method how you can create your own setup.dll and import from other dll's :?:

Related

Is Auto Startup Customization with BigStorage ROMs possible?

Finally managed to flash my mda with a bigstorage rom
All is good but I got a slight prob with something else. Although I hated the customisation of T-Mobile, I found it helpful that the phone automatically installs all the progs and settings in the extended ROM after a hard reset.
With BigStorage, I presuming that the Extended Rom folder is amalgamated with the Storage folder. Do you guys know whether it is possible to add the Cab files (e.g. intellidialer, etc...) to the Storage folder (as it was in ExtRom) so that it automatically installs the progs and customization options after a hard reset?
Or do you recommend going back to a traditional Extended Rom inclusive ROM and edit the Extended Rom there? I understand that ROMKitchen cannot be used on Mini's so do you happen to have any other program recommendations?
If the above two isn't possible yet, is there anyway of preventing the mda from deleting the Cab files after I install from them. For instance, when I install Intellipad, the cab file is automatically deleted. I had hoped that I may use this cab file again by dumping it in the "Storage" folder and using it if I need to hard reset the damn thing again
Thanks again
Hi rockykabir
sorry first for my english... I will try to explain my solution:
1. I have made a backup of all the Extended_ROM files to my PC (open in explorer loadvdisk.exe and copy through activesync.)
2. Made the Bigstorage and the Radio-Update (thanks a lot guys for the help that I have found in this forum.)
3. Made a small CAB-File which has to start first (see atached file)
4. If this file is installed, you can create a hidden and read-only folder on the SD-Card named: 2577 (Foldername is important)
5. Place inside this folder: autorun.exe and install.m2w and make the changes in the instal.m2w file. Think its easy.
6. Place all the recent CAB-Files into this Folder.
7. Make changes as you need
Make sure, that the folder and the files on the SD-Card are read-only and the folder should be hidden (not sure about that). If not, the Cabinet files will be deleted after installation.
How do I work now with this SD-Card? Easy... After a Hardreset, place the card into your MDA. Start Ext_Start.cab.
Put out the SD-Card and put it in again..... Enjoy.
Now i search only for an easy solution to make a small Extended_ROM for the Ext_Start.cab and the IIWPO. That task will be the next...
Enjoy the day
Thanks sooo much mate!!! - thats very kind of you as this completely solves my prob. I hope this is of use to others as well

Installing software to other directory.

Hi all,
I just sucessfully installed big storage on my O2 mini and was wondering how i can change the default directory to which my software installs. The software is Imaginet-arabitizer and it uses a PC-based installation. No cab files...
Help please....
help
you can only whether you want to install a program to a default location, storage or a storage card. it will ask you in the beginning of installation by ActiveSync. choose NO and install sonewhere else.. gl
Still no luck....
Unfortunately, this particular program does not use the active sync user interface for the installation....
Any other methods?
i saw a shareware program on the forums once that did that... wish i downloaded it then cause i cant find it again sorry .. thought id let you know its out there though.....
aidil916 - unless it's some kind of ROM update etc, anything that gets installed on the PPC must always use a cab file, even on PC based install. So, start the install, and does add/remove programs or something come up?
Either way, if it installs something to the PPC (i've no idea how the arabizer works), interrupt the installation or somehow stall it. Then use a program like Filetracer or even the XP search tool to find any cabs installed to your pc in the last few minutes. Track down the cab (usually in your temp folder, programs folder or activesync folder) and then take a backup copy of the cab. Then, copy that to your PPC..
Tell me how it goes.
V
aidil916 said:
I just sucessfully installed big storage on my O2 mini and was wondering how i can change the default directory to which my software installs.
Click to expand...
Click to collapse
Usually when you perform PC-based installation software asks you for target location but some programs are hard-coded with "\Program Files\ProgramName" path so they will fail to work if you place them to another locations, i.e. to Storage Card
For programs that don't allow you to change target location you can change their registry entries to correct their path from "\Program Files\" to "\Storage Card\Program Files\". Here you will also need to manually move your program to a new location (SD) using Explorer's copy-&-paste functions
ps: don't use cut-&-paste because some of your programs may be running and this will cause sharing violation errors
Example, I have program "ABC" installed at "\Program Files\ABC" folder.
1) Using Explorer I navigate to "\Program Files" and COPY "ABC" folder to clipboard
2) Now I navigate to "\Storage Card" and create folder "Program Files"
3) I open newly created folder "\Storage Card\Program Files" and PASTE my "ABC" folder from clipboard here
4) Using Registry Editors I search for "\Program Files\ABC" entries and change them to "\Storage Card\Program Files\ABC"
5) I do soft-reset. If after that program works Ok, I delete "\Program Files\ABC"
The software is Imaginet-arabitizer and it uses a PC-based installation. No cab files...
Click to expand...
Click to collapse
Check your activesync's installation location. You will find the cab file within Software name or company folder, like "C:\program files\microsoft activesync\ABC"
Cheers
aidil916 said:
Hi all,
I just sucessfully installed big storage on my O2 mini and was wondering how i can change the default directory to which my software installs. The software is Imaginet-arabitizer and it uses a PC-based installation. No cab files...
Help please....
Click to expand...
Click to collapse
There are 3 methods i use,
1st is download the CAB file if you can, copy to your PPC and install with a program called CAB Install http://www.s-k-tools.com/fp/viewtopic.php?t=44 which allows you to install the app anywhere you want.
2nd is to run the standard ??.exe PC installation file but without your PPC pluged in. After the ??.exe install file is finished it will normally produces a CAB file on your PC which will copy across to your PPC next time you plug it in. All you need to is to find the CAB file and manually copy it to your PPC and use CAB Install.
The 3rd way is to do the same as 2 above and then use an app called WinCE CAB manager which you can generally modify the CAB files standard installation directory to what ever you want to.
Hope this helps
Most software including PC based installs eventually use CAB files. For this I use a small program CabInstl.

Create a Softwarepackage?

hi everybody!
i want to create a software package with different programs included.
there are a lot of cab files which i want to put in only one setup file,
so afterwards i just have to install this one file.
is there a tool or something which is able to realize this?
You can do this using program like WinCE CAB Manager (www.ocpsoftware.com)
yes but when i try to import files, the app generates a new file and doesnt import all into one file..
I think you are trying to import CAB files inside another CAB file?
i want a routin that i only have to install one cab/setup file which includes all apps i like, instead of installing all per hand
Use the WinCE CAB Manager above, extract all the files and registry entries (for each CAB that you want to include), and put it all into a single CAB file. You have to do that manually though.

CABS From Resgistry.

I have some registry setting that I have to re-enter each time I flash my ATT Tilt. How do I make a cab file that has my registry tweaks?
You can dump the registry pre and post installation of any tweaks and then using WinDiff (or any diff/comparison program) look for the changes and lastly create and compile a registry file with all of the intended registry modifications.
(<3 run on sentences)
You can export (dump) the entire registry using Task Manager (which is included in the rom you're using under Start -> Utilities -> RegEdit) by using export all.
**If you want to follow this procedure you're going to need to start from a hard reset. Right after the HR dump the registry. To be safe, after each modification is installed you should dump the registry again (make sure to name the files clearly).
u can convert reg to cab files with WinCE Cab Manager.
it's easy

[App]~Visual UC V1.0 Beta~Upgrade from XDA_UC

Introduction
Visual UC is a small script based on MortScript.With it you can backup and restore your own settings easily.It can Automatically install cab files,import reg or xml files,copy files to destined directory and restore your PIM after a hard reset.This is similar to XDA_UC.However,it also provide a visual method to do this.Another feature is that you can use it to backup files,registries and PIM.
Functions
1.Install CAB files to device
2.Install CAB files to SD card(Not test on wm6.5)
3.Import and export REG files
4.Configure XML or PROVXML files
5.Copy files to Start Menu,StartUp and Windows
6.Define operation to restore or backup files
7.Restore and backup pim.vol
8.Auto restore if your ROM contain Visual UC as a package
9.Auo backup your defined operations
10.Support extra language pack(Now only WWE and CHS available.Hope your help for translation)
Installations
1.Unzip the file to \Storage Card\My Document\Visual UC .VUC.mscr and ES.mscr must be placed in the root of Visual UC.
2.Use DotTaskMgr in Copy 2 Windows to import VUC.reg.
3.Copy all the files in Copy 2 Windows to \Windows.
How To Use
1.Folder Explanations
●Cabs for cab files.If you want to install them to storage,put them into "Storage".But I advised you don't do this,because sometimes it need you manually complete the task.
●Files for the files you want to copy.The subfolder name is the destined folder you want to copy to.
●PIM for PIM.VOL
●Regs for registry files.The regs in subfolder will be imported after a hard reset when the rom you use contain Visual UC as a package.
●Xmls for xml or provxml files.
2.Auto BackUp or Restore
●Auto Restore will conduct all the operations that is enabled in settings of Auto Restore
●Auto BackUp is disabled by default,you can use Add To Auto to include the operation in Auto BackUp.
3.Define Operations
●In BackUp Files or Define in Copy Files.Select Add to start an item.A name will be asked to input for the item firstly.Secondly,you can choose Select File to select the source file or Select Folder to select the source folder(Caution: All the files including subfolders will be copyed).Thirdly,select the target folder which the files are copyed to,you will be asked whether to create a subfolder to contain the source files(Do it and name the folder after source folder if the source folder is a program that you want to copy it to \Program Files).
●In BackUp Regs,a name is also required at first.Secondly,you can choose Select to select the path of a registry key(Cautionue to MortScript's max number of an array.In HKCR,some of the keys can not be displayed and DONE button is missed) or Input to input the key path(main key must be selected first and no "[]" in the path).Thirdly,choose the target folder for the registry files(Regs folder is recomended for later restore)
●You can rename,modify,delete the item.If you add the item to auto,it will be conducted in auto restore or backup.
4.Option
●In Change Path you can change the path of CAB REG FILE or XML folder,but I recommend the default Path.
●You can backup,restore or reset VUC settings in the Option.The backup file is named visual uc.reg and located in the root of Visual UC,the file will be imported first when it Autorun after a hard reset.
Extra Script Introduction
1.Auto BackUp.mscr can automatically backup files registries and PIM.VOL .However,you should define them first.
2.Load VUC.mscr is used to load VUC.mscr and run it to silently restore after you flashed a ROM that contain Load VUC.mscr.You must put Visual UC folder in either of the three path:\Storage Card\,\Storage Card\My Documents\,\Storage Card\Program Files\.
3.Cook.mscr.You can modify it or rename your own script to the name.The script will be run in auto restore.
4.ES.mscr is a component of Visual UC.It show the process of Auto BackUp or Auto Restore.
Credit
My thanks go to Mirko who develop MortScript which makes my script possible,Noonski whose XDA_UC inspires me and help me to solve lots of problems and Dotfred whose TaskMgr is a very powerful tool(the script use it to import or export registry files and Config provxml files).
If you want to donate,you can donate them.
Statements
You can freely use and modify the script.But I take no responsibility to the data lose the script may bring to you.MortScript and DotTaskMgr are also free software,before you use it you should read their legal statements first.
This is a beta version.So there may be some bugs.You can post the bugs on XDA or just send me an E-mail to let me know.I will be appreciate if you tell me your advice.
Reserved for future use

Categories

Resources