[APP] Michy's Installer - complete wceload repleacement! - Windows Mobile Software Development

- 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
If you are overwriting exes, they will be automatically terminated before installing
Advanced cab analyzer (view files contained, shortcut, regs, extract them......etc)
- 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
Possibility to use wceload to install (not advised)
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. If you want to install using wceload... use .old extension.
- 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):
CopyInWindowsFolder (\windows)
CopyInProgramsFolder (\windows\start menu\programs)
CopyInProgramFilesFolder (\program files)
CopyInFavoritesFolder (\windows\favorites)
CopyInFontsFolder (\windows\fonts)
CopyInStartupFolder (\windows\startup)
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:
%SD% (\storage card)
%PROGRAMS_STARTMENU% (\windows\start menu\programs)
%PROGRAM_FILES% (\program files)
%STARTUP% (\windows\startup)
%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

All I have to say is

Wow, sounds extremely "will have it now"!

Cool
Michy,
This shold be a nice addition to the tool box.
cheers
BR
Attempt of graceful recovery from dbl post

Cool
Michy,
Very nice work. I can't wait to see this released.
Cheers
BR

Michy, you are great!!

Wow, this must have been a LOT of work. Tnx a lot for your efforts!!

Sounds great!

Sounds very useful for those of us that change roms often.
Good work.
PS
My personal holy grail would be an APP that records changes as apps are installed to a point where I am happy then be able to gather all of the changes and build an install routine! Am I dreaming?

Wow sounds awesome and a gui, can't wait & thankyou

SIMPLY AMAZING!!!! cant wait...this should save me tons of time, and unlike other appz this seems easy 2 use and great!!!....thanks for ALL the hard work! ..waiting patiently

ehi my friends! good job, I'm sure that this program is excellent as the other your developments!
Put it online

This sounds amazing!!!
Italians do it very well!!!

Translators needed!!!
Please if anyone interested translating my application, this is the english file to translate and post back:
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Language>
<FormMain>
<ListviewColumn1>File</ListviewColumn1>
<ListviewColumn2>Dest</ListviewColumn2>
<ListviewColumn3>Instl.Size</ListviewColumn3>
<ReadyMsg>Ready.</ReadyMsg>
<AbortSoftKey>Abort</AbortSoftKey>
<InstallingMsg>Installing </InstallingMsg>
<AddItemBtn>Add item</AddItemBtn>
<RemoveItemBtn>Remove item</RemoveItemBtn>
<InstallSoftKey>Install</InstallSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Exit</MenuItem1>
<MenuItem2>About</MenuItem2>
<MenuItem3>Clear list</MenuItem3>
<MenuItem4>Enable setup dll</MenuItem4>
<MenuItem5>Get cabs from storages</MenuItem5>
<MenuItem6>Load FB_Install folders</MenuItem6>
<MenuItem7>Uninstaller</MenuItem7>
<MenuItem8>Cab Info</MenuItem8>
<Msg1>Not enough space for this cab: </Msg1>
</FormMain>
<SearchCabsForm>
<Title>SearchCabs</Title>
<ListViewColumn1>File</ListViewColumn1>
<OkSoftKey>Ok</OkSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Refresh</MenuItem1>
<MenuItem2>Select all</MenuItem2>
<MenuItem3>Unselect all</MenuItem3>
<MenuItem4>Invert</MenuItem4>
<MenuItem5>Cancel</MenuItem5>
</SearchCabsForm>
<SelectCabDialog>
<Title>Select cabs</Title>
<OkSoftKey>Ok</OkSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Up</MenuItem1>
<MenuItem2>Select all</MenuItem2>
<MenuItem3>Unselect all</MenuItem3>
<MenuItem4>Invert</MenuItem4>
<MenuItem5>Cancel</MenuItem5>
</SelectCabDialog>
<SelectDestinationDialog>
<Title>SelectDestinationDialog</Title>
<OkSoftKey>Ok</OkSoftKey>
<CancelSoftKey>Cancel</CancelSoftKey>
</SelectDestinationDialog>
<Uninstaller>
<Title>Uninstaller</Title>
<ListviewColumn1>App</ListviewColumn1>
<ListviewColumn2>Mem.Usg.</ListviewColumn2>
<UninstallSoftKey>Uninstall</UninstallSoftKey>
<RefreshSoftKey>Refresh</RefreshSoftKey>
</Uninstaller>
</Language>
the filename should be Installer_CID.xml where cid is your cid. eg for italian: 410, english 409.
Edit: of course the italian one is already made by me

Thst is a great tool, anxiously waiting for release! Thank you sooo much!

Looks like a great tool ,and tools like this make other phones look primitive

Russian?
I might do a Russian translation. as soon as I have the time. in any case, I wanted to subscribe, so I made a post.
Looking forward to the release. when is it?

looks like an awesome tool... is it gsm specific or will it run on cdma phones?

Wow, nice release!! simple but powerful =)

benoahriz said:
looks like an awesome tool... is it gsm specific or will it run on cdma phones?
Click to expand...
Click to collapse
Should work fine on CDMA devices. A CAB's a CAB, CDMA or GSM
Dave

Related

The First Wm6.1 Kitchen for Excalibur

THIS IS MY WM6.1 ROM KITCHEN
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{STEP 1}
EXTRACT ExcaliburKitchen.ZIP TO C:\
{STEP 2}
DOWNLOAD MY ROM FROM HERE:- http://forum.xda-developers.com/showthread.php?t=387355
IF YOU DONT WHAT TO DOWNLOAD MY ROM THEN DOWNLOAD KAVANAS FROM HERE:- http://forum.xda-developers.com/showthread.php?t=374890
{STEP 3}
EXTRACT THE ROM FROM THE .ZIP OR .EXE
{STEP 4}
PUT RUU_signed.nbh IN TO C:\ExcaliburKitchen\SOURCE
{STEP 5}
NOW CLICK ON (1) DumpOS.bat
{STEP 6}
NOW GOTO WORK FOLDER AND YOU'LL SEE A FOLDER CALLED DUMP GO INTO IT
{STEP 7}
NOW IN THIS FOLDER YOU CAN ADD WHAT YOU WHAT AND YOU CAN TAKE THINGS OUT OF THE ROM
{STEP 8}
IN THE DUMP FOLDER YOU'LL FIND A FILE CALLED InitCmd.ccs IN THIS FILE IS WERE YOU PUT THE START MENU LINK AND THE REGISTRY SETTING FOR YOUR SOFTWARE
IF YOU OPEN IT WITH NOTEPAD IT WILL LOOK LIKE THIS FOR THE LINKS:-
------------------------------------------------------------------
LINK %M\Messaging.lnk,:MSINBOX,,:mailapp
LINK %M\Settings.lnk,:MSSettings,,:settings
LINK %M\Contacts.lnk,:MSCONTACTS,,:contactsapp
LINK %M\Calendar.lnk,:MSCALENDAR,,:calendarapp
LINK %M\Internet Explorer.lnk,:MSPIE,,eapp
LINK %M\Windows Media.lnk,wmplayer.exe,,:mediaplayerapp
LINK %M\Pictures & Videos.lnk,:MSPIMG,,imgapp
LINK %M\File Explorer.lnk,:MSFEXPLORE,,:fexplore
LINK %M\Speed Dial.lnk,:MSScut,,:scutapp
LINK %M\Call History.lnk,:MSClog,,:clogapp
LINK %M\Voice Notes.lnk,:MSTVNOTES,,:notesapp
LINK %M\Tasks.lnk,:MSTASKS,,:tasksapp
LINK %M\ActiveSync.lnk,:MSSYNCAPP,,:syncapp
LINK %M\Camera.lnk,Camera.exe,/i,:cameraapp
LINK %M\Video Recorder.lnk,Camera.exe,/v,:videoapp
LINK %M\Welcome Center.lnk,:MSWelcomeCenter,,:welcomecenterapp
LINK %M\Windows Live.lnk,WLMLauncher.exe,,:WLMLauncher
LINK %M\Messenger.lnk,WLMMessenger.exe,,:WLMMessenger
LINK %M\Text Notes.lnk,TextNotes.exe,,:textnotesapp
LINK %M\Java VM.lnk,jbed.exe
TO ADD YOUR LINK TO YOUR START MENU ADD YOUR LINK TO THE BOTTOM OF THE LINKS EG:-
LINK %M\Video Recorder.lnk,Camera.exe,/v,:videoapp
LINK %M\Welcome Center.lnk,:MSWelcomeCenter,,:welcomecenterapp
LINK %M\Windows Live.lnk,WLMLauncher.exe,,:WLMLauncher
LINK %M\Messenger.lnk,WLMMessenger.exe,,:WLMMessenger
LINK %M\Text Notes.lnk,TextNotes.exe,,:textnotesapp
LINK %M\Java VM.lnk,jbed.exe
LINK %M\XXXX XXX.lnk,XXXXXX.EXE
AND FOR THE REGISTRY IT WILL LOOK LIKE THIS:-
-----------------------------------------------
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts\e0010409]
"Ime File"="et9ime.dll"
"Layout Text"="eT9 IME"
"Keyboard Layout"="00000409"
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9]
"AvailableLanguages"="0109,0105,0113,011B,011F,0108,0115,0116,0118,010E"
"DefaultLanguage"=dword:00000109
"InstallFolder"="\\Windows"
"ShowExactKeyStrokeThreshold"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9\IME]
TO ADD YOUR SOFTWARE REGISTRY ADD IT TO THE REGISTRY PART AT THE BOTTOM EG:-
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\Settings\Launch]
"GUID"="{4B998C14-3801-4a8e-9B20-5DFE58B19C39}"
"PLUGINICONNAME"="CHomeGeneric_Settings_PluginIcon.png"
"PICTURES"="\\windows\\CHome_settings_launch.png"
"SK2URL"=":MSSettings;home_setup.cpl.xml"
"TITLETEXT"="Settings"
"TEXT1"="CHome Settings"
"TEXT2"=""
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\Settings\XXXXX]
"GUID"="{4B998C14-3801-4a8e-9B20-5DFE58B19C39}"
"PLUGINICONNAME"="XXXXXXXXXXXXXXX"
"PICTURES"="\\windows\\XXXXXXXXXX"
"SK2URL"=":MSSettings;XXXXXXXXX"
"TITLETEXT"="XXXXXXXX"
"TEXT1"="XXXXXXXXXXX"
"TEXT2"="XXXXX"
THEN SAVE IT
{STEP 9}
CLICK ON BUILDOS.DAT WAIT TO ITS FINSHED THEN IT WILL OPEN htcrt WHICH CONVERTS THE NB TO NBH
1 CLICK BUILD
2 CLICK DEVICE
3 PICK Excalibur
4 CLICK OS THEN FIND 02_OS.nb IN C:\ExcaliburKitchen\Work AND CLICK ON IT
5 CLICK SPLASH FIND 00_MainSplash.nb IN C:\ExcaliburKitchen\Work AND CLICK ON IT
6 CLICK ON RADIO THEN FIND 01_GSM.nb C:\ExcaliburKitchen\Work AND CLICK ON IT
7 ENTER ANY VERSION NUMBER YOU LIKE THEN CLICK BUILD A WINDOW WILL OPEN GO TO C:\ExcaliburKitchen\FLASH ROM\ AND SAVE AS RUU_signed.nbh
THEN FLASH YOUR PHONE WITH YOUR NEW ROM
REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE
By RickWyatt @ xda developers
heres the link :- http://rapidshare.com/files/119437757/ExcaliburKitchen.zip
What if there is no InitCmd.ccs file? Trying to use TMO WM6 ROM. This is the same problem I had trying to use the other kitchens (I thought it was me).
Boo Boo looks almost like a clean ROM:
Tried anyways only removing the handango in hand links (two files) from the rom and built RUU_signed.nbh with os only. Flashed fine with no issues, but most T-Mobile specific apps/settings did not load and do not show in the startmenu. TMO homescreens, ringtones, favorites, etc did not get placed/installed correctly. MyFaves (HTC App) seems to have installed correctly although it tries to load TMO homescreen which is now in the Windows directory, TMO Internet Settings loaded, but the startmenu is laid out differently. Most TMO Customizations just got installed in Windows directory where they will not install (homescreens, ringtones, etc. don't work under Windows directory). The files are there, but the phone runs as if they are missing (almost like running the Brightpoint ROM). The only TMO customizations Visible are the Startup and Shutdown screens, and winwap. Somehow the TMO customizations did not get loaded, but everything seems to work fine.
Recommend the following changes to make the kitchen more universal.
added command to DumpOS.bat
ren *os.nb os.nb
changed filename in BuildOS.bat to os.nb
Just an idea since not all ROM's have the same XX_os.nb filename.
ROM Cooking Hints?
Hi Ricky, and thanks a lot for such a good work, and sharing your knowledge !!!
A couple of questions around ROM cooking ...
- How does ROM size affect WM? I mean, adding files, apps, etc. to the rom makes WM having less memory to run programs or store files, or run slower, for example?
- I guess adding more and more files might create a ROM that does not fit in the Excalibur and might break it if flashed. How can we know when to stop adding stuff?
Thanks!!
EarthQ said:
Hi Ricky, and thanks a lot for such a good work, and sharing your knowledge !!!
A couple of questions around ROM cooking ...
- How does ROM size affect WM? I mean, adding files, apps, etc. to the rom makes WM having less memory to run programs or store files, or run slower, for example?
- I guess adding more and more files might create a ROM that does not fit in the Excalibur and might break it if flashed. How can we know when to stop adding stuff?
Thanks!!
Click to expand...
Click to collapse
if you add stuff to the rom it will slow down the rom but not to much & if you take things out of the rom it will get faster
and if you add to much software then the kitchen will crash
How do you remove programs? What all do you need to delete to safely remove it from your phone?
Did my first attempt at cooking. IT was successful, and I am using it know, but some changes, such as files I added to the InitCmd.tgz worked, and were extracted fine. Other tweaks, such as changing a CPanel's contents and adding media to the windows folder did not work, and came out as if I hadn't changed anything at all.
Do I need to make Cpanel changes in two places (Initcmd and somewhere else?) Is there another step to making files "stick"?
you also have to edit user.hv and default.hv
rickwyatt said:
you also have to edit user.hv and default.hv
Click to expand...
Click to collapse
Thank you!
rickwyatt said:
you also have to edit user.hv and default.hv
Click to expand...
Click to collapse
Ok, I don't get it. Rick, or anyone, can you explain the work flow a little more? I can't find a user.hv, or a default.hv in the dump contents, nor do I know what to do when I do find them. I see there is a assembler/disassembler toolset in the kitchen, but it fails to find any .hv's either. Is there anything missing in the steps above?
Profezza said:
Ok, I don't get it. Rick, or anyone, can you explain the work flow a little more? I can't find a user.hv, or a default.hv in the dump contents, nor do I know what to do when I do find them. I see there is a assembler/disassembler toolset in the kitchen, but it fails to find any .hv's either. Is there anything missing in the steps above?
Click to expand...
Click to collapse
you have to unhide system files what you have to do is move user.hv and default.hv to to edit user.hv&default.hv folder press disassemble.dat it the make to more files called HKCU.reg and HKLM.reg now download emediter freeware and save HKCU.reg and HKLM.reg UTF-16LE Now move HKCU.reg to notepad2.exe edit it then press save do the same for HKLM.reg then what you do is make a dump folder then press Reassemble.dat if there is no errors in the hv files then you will find user.hv and default.hv in the dump folder that you just made if the is an error it command prompt will tell you were the error is once dont move the hv files back to you dump folder
I think I got all that! Thanks a bunch.
Rickwyatt,
When I run Disassemble.bat it tells me it can't find the default.hv and user.hv file and then it tells me that there is no regedit4.txt file in the Resources directory.
I checked the locations of the files, and there isn't a regedit4.txt file but the default.hv and user.hv files are right where they are supposed to be. Any ideas?
[edit]
Nevermind... unchecked the "hidden" box on the two files... it still doesn't find the regedit4.txt that it's claiming is missing
Ok, so I successfully was able to use this to mod the 1.6 Rose ROM, but I noticed that the InitCmd.ccs looks far different. How do I edit the menu items in this ROM?
Specifically I am wanting to remove a bunch of stuff I don't use from the ROM:
- Orneta Calculator
- OMAP Clock
- Getting Started
- SMS Tool Pack
- Light Config
- Messenger
- Streaming Media
- Windows Live
- Resco Explorer
- CHome
Also if anyone can post the list of files that I would need to delete out of the exploded ROM for the above, that would be great... especially CHome.
I do want to give this ROM serious props. I love it! I just want to pare down the things I personally have no interest in using, but I don't want to delete the wrong files, and/or not remove the menu items in the ROM for them.
Rickwyatt,
The Disassemble.bat file keeps crashing. It tells me that regedit4.txt not found in the Resources directory. It creates a hkcu.txt and an hklm.txt file though.
open hkcu.txt hklm.txt then add REGEDIT4 to the top line then save rename hkcu.txt hklm.txt to hkcu.reg hklm.reg
New HTCRT.exe version 1.1.4
windows media player playing not smooth.
One bug in my own rom (base on your kitchen): Windows media player playing not smooth. How can i fix it, what reg can i edit?
travis.garrison said:
Ok, so I successfully was able to use this to mod the 1.6 Rose ROM, but I noticed that the InitCmd.ccs looks far different. How do I edit the menu items in this ROM?
Specifically I am wanting to remove a bunch of stuff I don't use from the ROM:
- Orneta Calculator
- OMAP Clock
- Getting Started
- SMS Tool Pack
- Light Config
- Messenger
- Streaming Media
- Windows Live
- Resco Explorer
- CHome
Also if anyone can post the list of files that I would need to delete out of the exploded ROM for the above, that would be great... especially CHome.
I do want to give this ROM serious props. I love it! I just want to pare down the things I personally have no interest in using, but I don't want to delete the wrong files, and/or not remove the menu items in the ROM for them.
Click to expand...
Click to collapse
Looking to dump a lot of the same things. If I remove them from the "dump" folder, is that the end of it or do registry settings need to be removed as well. First time doing something like this, thanks for the help and patience.
Instead of going through this tedious process.. why not start with a very light version of the ROM and just add what you need ?

[UTILITY] CabTools - ROM package <--> CAB converters and more. For ROM builders

These tools will let you create ROM package and install CAB files from each other. I know there are already tools for them, but I didn't like them, because they had many errors. Of course my programs may have errors too, but I like them better anyway Some of these tools use external applications which need .NET and/or VC++ runtimes to work properly!
cab2pkg
This utility will extract a cab and create a ROM package. (just like ervius package creator, but this will get the info from the _setup.xml file). Simply tell him the cab file name as parameter, and it will extract into a new directory. (Or if you don't like the command prompt, simply drag the cab onto this file, and it'll extract it)
pkg2cab
This utility does the reverse of the above. It creates a cab installer from a ROM package.
Usage: pkg2cab [Application Name] [Directory1] {Optional directory 2} {...}
For example: pkg2cab OneNote OneNote OneNote_lang_0409
If everything goes fine the programs should create a setup.cab
pkg2cab does only support "flat" directories, so if your directory contains modules (directories that look like files), then you have to copy the file out of them manually, and delete the directory
extractpkg
This application will extract a package from a ROM, using a SYAKR file removal information file XML. If you don't know what syakr is, then check these pages:
http://winmo.sztupy.hu/syakr.html
http://www.modaco.com/index.php?s=&showtopic=277390
http://forum.xda-developers.com/showthread.php?t=462841
Put this application into a kitchen with an extracted ROM and SYAKR
Enter command prompt and enter "extractpkg XMLfilenamewithoutextension" so for example if you want to extract the fmradio, you should write: "extractpkg fmradio"
This app does the same as SYAKR, but instead of deleting the files/registry settings/initff lines, it will copy them to a separate directory, and adds the appropriate things that are needed for a package, that BuildOs likes
BEWARE! The current SYAKR tasks are not designed for extractpkg to work, and sometimes the extraction might fail, or the created package would be defective. If so, please try to correct the XML file!
After you extracted a package you might use pkg2cab to create a distributable CAB installer
DL link: http://winmo.sztupy.hu/cabtools.html
OHH nice. someone just asked me to make a stock dialer cab for them.. this will make it easy
Amazing!, will try it indeed
wow nice tools i m going to make my own kitchen .. great work
It seems the included cabwiz might not work. You might try replacing it with a newer one: http://www.modaco.com/index.php?s=&showtopic=278074&view=findpost&p=954161
v0.2
v0.2 released with support for the InstallDir variable in cab2pkg
http://winmo.sztupy.hu/cabtools.html
This Great, Good & Nice Job!!!
sztupy said:
v0.2 released with support for the InstallDir variable in cab2pkg
http://winmo.sztupy.hu/cabtools.html
Click to expand...
Click to collapse
thanks to you man!!!
v0.3
Fixed a registry creation bug in cab2pkg. The packages should work with older BuildOs versions too.
Source code of cabtools and syakr released: http://winmo.sztupy.hu/cabtools.html
Am I missing something I cant get any of these to work I'm using Windows Vista Erice kitchen
Still freezing on EXTRACTING REGISTRY ENTRIE phase....CAB2PKG verzio 0.3 under Vista SK SP1 + all updates.
jlp_svk said:
Still freezing on EXTRACTING REGISTRY ENTRIE phase....CAB2PKG verzio 0.3 under Vista SK SP1 + all updates.
Click to expand...
Click to collapse
reg2inf uses xml2reg. Does it work?
rjmjr69 said:
Am I missing something I cant get any of these to work I'm using Windows Vista Erice kitchen
Click to expand...
Click to collapse
????????????????????????
sztupy said:
reg2inf uses xml2reg. Does it work?
Click to expand...
Click to collapse
ehm...sorry for my stupid question, but.... HOW TO TRY???
jlp_svk said:
ehm...sorry for my stupid question, but.... HOW TO TRY???
Click to expand...
Click to collapse
Use (for example) total commander to extract _setup.xml from the cab file. then run xml2reg with this xml.
No...it's also freezing.
i want to create oem packages from cabs, and i have a problem. i've dragged the cab onto the "cab2pkg.exe" file and an error occurred: see attachament.
P.S. i've extracted the _setup.xml near pocketalarm.cab and i've copied next to cab2pkg.exe also. what should i do?
ady_uaic said:
i want to create oem packages from cabs, and i have a problem. i've dragged the cab onto the "cab2pkg.exe" file and an error occurred: see attachament.
P.S. i've extracted the _setup.xml near pocketalarm.cab and i've copied next to cab2pkg.exe also. what should i do?
Click to expand...
Click to collapse
Are you sure your cab is located in the same folder as cab2pkg.exe? Only time I see an error is when I try dragging from outside the folder
ady_uaic said:
i want to create oem packages from cabs, and i have a problem. i've dragged the cab onto the "cab2pkg.exe" file and an error occurred: see attachament.
P.S. i've extracted the _setup.xml near pocketalarm.cab and i've copied next to cab2pkg.exe also. what should i do?
Click to expand...
Click to collapse
You don't have to extract _setup.xml from the cab. If the cab contains _setup.xml then it should work fine. I only wrote to extract it separately, because then you can test whether xml2reg is working or not.
yes are in the same folder. i tried and in the same folder and in separate folders.
maybe should i try in command prompt? what command should i type there? i've tried drag & drop cab2pkg.exe space CorePlayer.v1.2.5.Build.4506.Pre.Regged.cab and i have the same result.

[APP][v2009-09-23] ai Cab Explorer utility: new way to explore cab files on your disk

***CHANGE LOG START
2009-09-23
- New:file preview (please note that cou can even preview manila encoded images inside cab file, since they are converter internaly!)
- in preview you can choose to extract manila file or PNG image.
- bug fixes, cosmetic changes... new bugs ...
- you probably realized that I publish versions I got at the moment - raw, not too much tested, relative big changes from day to day, version is detected by the pub date... so expect new staf soon...
- !!! IMPORTANT !!! Please download cfc.exe and put it at c:\windows\ "c:\windows\cfc.exe" !!! Download last version from http://forum.xda-developers.com/showpost.php?p=2798441&postcount=1 !!!
(without cfc.exe app won't be able to decode mailla images)
2009-09-22
**IF YOU HEVE BEEN HERE PLEASE READ THE WHOLE POST SINCE IT IS ALL UPDATED!!!
- "Cab Album" support:
A Cab Album is collected information about many Cab files in one place.
Application will here "create" a new Cab Album by scaning folder. (It is possible to include subfolders in search path.)
Since creating a "Cab album" could be time consuming (depends on how many files it has to scan),
collected information - an "Album" can be saved (in xml structured file).
So next time, you can just use the same information by "loading" a saved album from disk (without scaning again).
Creating album is the process that will
a) detact all *.cab files in scaning folder (and subfolders)
b) for each found cab, program will try to locate "_setup.xml" within .cab file and extract information about real / target file names and paths
c) all information will be collected to memory
After that you will be able to
a) browse an album by cab files (from the tree)
b) browse an album by target file names (also from the tree where these files are grouped an counted)
c) search / filter the album by target file names
Also you can
a) click on "save" icon to save the album.
b) double click on cab file (lef side - tree) to open separate window tith that cab info
c) double click on file on the right side to extract it on disk
2009-09-21
- new version suports drag & drop files (from windows explorer)
- small cosmetic changes
2009-09-19
- first published version
***CHANGE LOG END
DID you ever try to find some fine resource (manila file, bmp for phone skin ... or whatever), which you know you have seen somewhere. And you are sure you got it somewhere on your hard or stick or ....
DID you ever wanted to create a new skin based on a few existing skins in some cab files.
DID you ever ask yourself - what will that XY.cab install on my device? Will it remove parst of my customization that I don't want to be changed?
In case you didn't this app is probably NOT for you.
But if you DID then you probably know that
a) most cab extractors will NOT extract files with the correct filenames on your hard disk.
Instead of some "5acc5861_manila" that will be installed on your device, what you get on your pc is some file named "0CABA635.001".
The real target file name "5acc5861_manila" is actually set in _setup,xml which is part of cab file for mobile device.
b) it is hard to find all "5acc5861_manila" resources on your hard disk without decompression of all cab files, and fixing a problem described before - see a
What do you think about a new point of view - an "Album" view.
Album view will help you to "scan" your hard disk folders, searching for cab files, extacting information from them (without extracting cab files on disk), and collecting all important information in one Album list.
That's not all.
Since "scanning" or building an album could be time consuming, you can "save" the album (xml file structure) so next time you just open existing album and you got all information very quick.
You can search albums - for example "Assets*.bmp" will find all files located in album containing dialer skins.
With another few clicks you can extract found files on disk and use you favourite tools to view or edit them.
Prease note tha this application is extended version of
"[APP][v2009-09-17] Cab utility - RENAME cab content/files to normal target names" located at http://forum.xda-developers.com/showthread.php?t=561533
Requirements: .NET framework 3.5 on your PC
BTW: If someone know some good .NET library for converting / previewing or updating _manila files please do let me know.
Also if someone would like to use some of functionality of this app in other projects ... I will be glad if I can help providing details about my libraries.
I hope you'll like it...
Weeeeeeeeeeell
Awesome thank you!
UPDATE
Missing drag & drop support was anoying, so I add it to v2009-09-21.
You can find / download new version in fist post
cablib error
I get an error when opening a cab-file:
FileLoadExeption
Could not load file or assembly 'Cablib, version 10.3.0.0 ... or one of its dependencies. This application has failed to star because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT:0x800736B1)
cc62 said:
I get an error when opening a cab-file:
FileLoadExeption
Could not load file or assembly 'Cablib, version 10.3.0.0 ... or one of its dependencies. This application has failed to star because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT:0x800736B1)
Click to expand...
Click to collapse
Yes in some systems you can get this error. On my laptop I have no problems but on my home PC I had exat the same error.
What I did to solve this problem is to replace version of CabLib, and also I put 2 dlls in the same folder where is application.
You can find CabLibFix in additional attachment in first post. Just put those files in the same directory (replace existing CabLib + additional 2 new files).
Please do let me know if that helps
Could not load file or assembly 'Cablib
Please note that v2009-09-22 should fix problems with error "Could not load file or assembly 'Cablib.." on some systems.
"FIx files" are included in that version, so I removed "fix..." archive.
However if you still have problems please do let me know,
thanks
v2009-09-22
v2009-09-22 works like a charm.
Thank you again
v2009-09-23 now has image / text preview + info about manila type of file (xml, SQLite, Lua_Script, Mode_9 ...)
Also you preview manila IMAGE files (decoded using cfc.exe to png)
The only inconvinience is that I manage to hardcode path to cfc.exe ( "c:\windows\cfc.exe").
Sory!
Error on win64 with an 'any CPU' build
Hi
We are using your CabLib.dll v2009-09-23 to load cab files inside our c# application. It works really well, except for one case.
When we build the application for target 'any cpu' and then install on a windows xp64 machine, we get an error message:
System.BadImageFormatException: Could not load file or assembly 'CabLib, Version=10.3.0.0, Culture=neutral, PublicKeyToken=5c838b77b53f84a0' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'CabLib, Version=10.3.0.0, Culture=neutral, PublicKeyToken=5c838b77b53f84a0'
Everything works fine when we change the target to 'x86', but that then causes problems with our test suite. The 'Any CPU' build only fails in x64 machines.
I was wondering how you build your DLL and if you have any ideas to help us fix this problem.
Here's my config:
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1
The build and test is on an xp64 SP2 machine.
-- update --
I've also found that aiCabExplorer.exe has the same problem on my win64 machine. I see you are including the 32 bit C run time DLL's which you provide in the release - that appears to be the problem, as the OS is trying to dynamically link against the 64 bit version of MSCOREE.DLL, KERNEL32.DLL, OLE32.DLL and OLEAUT32.DLL and doesn't like mixing them up.
So the solution, I think, is for you to build without explicit dependencies on the 32 bit libraries. Is there any chance of getting a version like that?
Thanks,
Mark
Hi,
I use this app all the time.
Super duper.
Thank you very much.
Keith
Seems great Gonna try it

[PC-APP] FindDup - find duplicate files in your ROM

Hi,
I want to share small PC tool - FindDup. I have made it several years ago, as I wanted to know how much disk space is wasted by exactly the same files.
The main feature of this program - it compares all the files in given folders binary and it can found duplicates even if the names of files are different.
I use it now to optimize size of my ROM.
For example - you can see there are 298 junk files, total wasted size 1,56 mb in dumped Mega OEM packages.
HOWTO use:
1. Add folder to "Look in" list. You can use drag'n'drop.
2. Select "Search \ Start" from menu, or click "Start" icon on the toolbar.
3. If there are duplicates - you will see them in a list.
Known issues:
1. It looks like it cannot save result to file under XP. I have made it for Windows 2000 and I need to find sources to fix this...
Download link: FindDup
thanks!
just started cooking, will try to find duplicates on my rom!
Be careful. This tool just give you information. You must to know how to use this information.
For example: Ervius Kitchen copies all the files to "temp" folder. It's OK to have duplicates in temp and for example SYS.
But if there are duplicate Manila resources in dump folder, may be you can edit HTCHomeSettings.xml to reuse one file and delete other.
serfer222 said:
Be careful. This tool just give you information. You must to know how to use this information.
For example: Ervius Kitchen copies all the files to "temp" folder. It's OK to have duplicates in temp and for example SYS.
But if there are duplicate Manila resources in dump folder, may be you can edit HTCHomeSettings.xml to reuse one file and delete other.
Click to expand...
Click to collapse
yes,thanks. just want to have a look if there are duplicated files in some packages, not to delete everything your tool will find.
steph

Vote the next osKitchen feature #1

(Done, now present in 1.31) Internal search system (search file names and file contents, edit the text files directly from the kitchen or launch an external editor)
Automatic localization (support for folder variables in initflashfiles.dat/app.dat to create entries valid for all languages (Done, now present in 1.31), using those variables during import to make ROM translation easier, automatic generation of new OEM_Lang_XXXX folders with a corrected initflashfiles.dat and renamed MUIs as soon as a compatible SYS is added, automatic fixing of all the packages' initflashfiles entries to match the new languages start menus, automatic package To CAB conversion to test all your packages on the phone (Done, now present in 1.32))
(Done, now present in 1.32) Total integrity check (checking the validity of every REG file and app.dat file, checking for broken module folders, checking for invalid SYS/OEM/EXT packages to reduce the hard to track ROM building issues to minimum)
Advanced file attribute management (setting the ROM file attributes according to the DSM file, adding an interface in dialog properties to change the DSM file list and applying file attributes automatically to the files that are not present in the DSM file list)
Internal ProvXML engine (much more accurate CAB to EXT conversion, provxml to REG and APP.DAT conversion)
Batch ROM import (adding long paths (up to 32000 characters) support to oskitchen to allow using the kitchen from any folder no matter where and adding a new internal tool that takes a folder of multilanguage ROMs of similar versions and builds a final Sources folder with all the localized files merged to start working on multilanguage ROMs much more easily)
EXT2 Package Replacement (an EXT format replacement that supports MNGE modules (no more module folders around) and folders with conditional names (for resolution, language, device, windows mobile builds, etc.) to make multidevice packages much easier))
Advanced ROM versioning (allow setting the version in the splash screen and in the RUU)
(Done, now present in 1.31) Manila management support (deleting unneeded localized manila files while building, adding a whitelist-based manila files compression to improve manila speed and free space on the ROM)
Improved UPX support (adding a file cache to remove the delays caused by the UPX compression during cooking process, switching UPX file selection to opt-in, UPXing all the files according to an online whitelist that can be updated/submitted from the kitchen)
Kitchen distribution tools (generating a XML file to allow changing the kitchen titlebar/about/help entries, to automatically load a selected device profile and to add an additional customizable tools menu, adding a "Temporary OS.NB" shrinking tool and a SYS cleanup tool to delete unneeded resolutions and languages)
I vote #9, then #5
so many great ideas .. can't we have all of them?
i guess you will work out on them sooner or later
thanks for all you effort
nosedive said:
so many great ideas .. can't we have all of them?
i guess you will work out on them sooner or later
thanks for all you effort
Click to expand...
Click to collapse
Exactly what I was thinking I love all of these ideas I love the direction this kitchen is heading great work airextreme!
if possible i'd vote for all as well
oh well let the voting begin
"Manila management support" would be great!!
I think you should include something to make different ROM Builds in one shot, to make all the .nbh files just by pushing the cook button once. (like a MaxSense version, CHT Version, Plain Version etc..) Also, an autimated compression + upload feature would be nice, too.
EcoROMchef said:
I think you should include something to make different ROM Builds in one shot, to make all the .nbh files just by pushing the cook button once. (like a MaxSense version, CHT Version, Plain Version etc..) Also, an autimated compression + upload feature would be nice, too.
Click to expand...
Click to collapse
Can it turn on my coffee maker in the morning as well?
WoZZeR999 said:
Can it turn on my coffee maker in the morning as well?
Click to expand...
Click to collapse
then it would have to be called the easy automated kitchen
I voted for deployment tools since I like control but would have also voted for integrity.
This seems like a better place to add other simple requests rather than in the kitchen thread here is a simple one
Add the full version number to "Help About".
I have 3 versions running and am current naming the folder to keep up with it.
OS kitchen
I will vote for #6 and #9
if wish a possibility to select back for easy folder structure (old kitchen). the separation for language, sys-versions, oem-versions ... is not realy nessassary (for me) and the overview of cooking would better.
integrating emulator/simulator for testing cooked rom.
you make very good job.
jjblaster3 said:
if possible i'd vote for all as well
oh well let the voting begin
Click to expand...
Click to collapse
I second the motion. All are great future additions. Good work Air.
Having recently moved form EVK to osK, the one thing I REALLY miss is the internal search...being able to search within files for a keyword...and being able to double click the file to open it from the kitchen...made tweaking sooooooo much easier.
the_scotsman said:
Having recently moved form EVK to osK, the one thing I REALLY miss is the internal search...being able to search within files for a keyword...and being able to double click the file to open it from the kitchen...made tweaking sooooooo much easier.
Click to expand...
Click to collapse
+1. I also miss that feature the most after making the shift to osK. Great job Air!
I Vote For the following:
#1
#3
#5
And thanks for this absolutly great Kitchen!
the_scotsman said:
Having recently moved form EVK to osK, the one thing I REALLY miss is the internal search...being able to search within files for a keyword...and being able to double click the file to open it from the kitchen...made tweaking sooooooo much easier.
Click to expand...
Click to collapse
hello,
i confirm with you. i use totalcommander and pspad for more comfort.
totalcommander is good for listing all files from kitchen-root (without directories) with sorting by filetypes and pspad for searching by keywords.
How about the ability to build a dumpable rom
hoho.hello every one!
Well, I really nead a good PROVXML parser/validator, because straight app.reg editing is inactual now.

Categories

Resources