I had to share this with everyone. I've been wanting something like this for years!
Here is the original thread on XDA:
http://forum.xda-developers.com/showthread.php?t=550054
- Michy's Installer -
Have you ever got an "Installation Unsuccesfull" message? Or a "Uninstall failed" message? Or worst thing an "Missing privileges" while installing a cab?
Now this messages are gone. With my installer, which is a complete Wceload and uninstaller replacement, any installation will complete without any problem
Main features:
* Full repleacement for winceload
* Select if you want or not to run setup dlls
* Avoid failing for missing privileges
* Get the space that an'installed app consumes after installing too
* Search within your device the cabs you have and select what you want to install
* Analyze FB_Install folders
* Batch cabs installation
* Installation processes can be aborted any time
- MichyPrima_UC -
This system will let you to install:
* .reg
* .cab
* .rgu
* .xml
* .provxml
* .exe
Putting them in your SD/Microdrive/Diamond internal storage in the folder FB_Install. And them will be installed at first boot.
Information about files you can install:
- Files .cab -
For a base installation of cabs you can put them in the folder FB_Install. Setup DLL will not be executed to avoid setup freezes. Anyway, there are ways to customize how your cab will be installed:
* Installation to SD
* Installation to MD
* Activating Setup DLL
For using them:
If your cab is mycab.cab and you want to install it to sd, simply create a file called mycab.tosd. if you want to install to MD, the name will be mycab.tomd, if you want to enable setup dll, the name will be mycab.enabledll
- Files .reg, .rgu, .provxml e .xml -
Simply put them to FB_Install directory
- Files EXE -
For a simple execution put them in FB_Install folder. If you need command line arguments, simply put them in a file called as your exe, but with .arguments extension.
- All files -
All files can be skipped using .skip extension. eg if your file is mycab.cab , create a file with mycab.skip and it will not considered
- Other special functions: -
* File/folder structure restore
Creating the structure on SD it will be reversed into storage. We have more than only one folder where we can put our files (in FB_Install):
o CopyInWindowsFolder (\windows)
o CopyInProgramsFolder (\windows\start menu\programs)
o CopyInProgramFilesFolder (\program files)
o CopyInFavoritesFolder (\windows\favorites)
o CopyInFontsFolder (\windows\fonts)
o CopyInStartupFolder (\windows\startup)
o CopyInRootFolder (\)
So, for copy/overwrite files in windows folder, only thing you need is to create a folder in FB_Install with name CopyInWindowsFolder. This is a recursive copy, so all subfolders will be copied.
* Shortcut restoring
You can specificate the shortcut to create in shortcuts.txt file and put it in FB_Install folder. Each line will be a shortcut to create. The first part of the line contains where the shortcut will be, 2nd where the shortcut will point. The two parts are separated by ":".
We have ids there to:
o %SD% (\storage card)
o %PROGRAMS_STARTMENU% (\windows\start menu\programs)
o %PROGRAM_FILES% (\program files)
o %STARTUP% (\windows\startup)
o %MYDOCUMENTS% (\my documents)
Example line:
%PROGRAMS_STARTMENU%\Test.lnk:%SD%\myprogram.exe
This line will create a "Test.lnk" in programs which points to \storage card\myprogram.exe.
* Possibility to avoid final reset (not advised)
Just create a file with name NoResetAtEnd without extension in FB_Install folder.
* Possibility to temporarily skip customization
Just create a file with name SkipCustomization without extension in FB_Install folder.
* Do you want to process config lines to runcc?
Create a file with name AddToConfig.txt and there put your config lines.
* Possibility to delete files or folder
Create a file with name Delete.txt. Each line is something to delete. You can use IDs as shortcuts