Help creating a cab file - General Questions and Answers

I have this comm manager that I found from the forums a while back.. It was made my MFRAZZ... This installs correctly and works fine... However, I wanted to change the color of the buttons from blue to a maroon color that fades to black to match the theme on my phone
I opened the cab file and found quite a few files and an XML file... I found out the the other files were actually .png files renamed. I renamed them to ] .PNG and used Gimp to edit the pictures. I then renamed the files back to the origional file extension and used winrar to make it back into .cab.
I have a pic of the comm manger below, a pic of the error message and a pic of my current theme listed below. I also have the comm manager made by MFRAZZ and the comm manager I have edited attached below. They are clearly labeled.
Any help would be greatly appreciated. Maybe you could enlighten me on what I did wrong.
This is not an issue where the comm manager is open or running in the background. I think I might have done something to the files when editing them to change their colors. Any help would be greatly appreciated.
Picture titled Comm manager: This is the comm manager successfully installed to my device. This shows the blue Icons which I have changed to maroon.
Picture titled Unsuccessful: Error when I try to install the new edited comm manger.
Cab file titled Touch Comm Manager: The blue comm manger made by MFRAZZ
Cab file titled Comm Manager Maroon: The comm manager that I edited the picture colors and which will not install to my Device.

Help??
So no one interest in helping someone out?

you cant simply repack the cab with winrar , you need to sign the Comm Manager with Certificates, search the ofrum for msigner, download it and sign the comm manager with it and then hopefully you'r good to go

Do i run msigner on the cab file or do i run it on the individual files packed into the cab file? thanks

Msigner
Alright, this is what i got when using msigner on the cab file as well on the individual files inside of the cab file.... Looks like I'm doing something wrong.. Heres the error message
Error: Signing Failed. Result = 800b0003, (-2146762749)
I only found 2 threads on this error message while using msigner. Neither one was successful at helping me with my issue.
Thanks in advance

I searched some other forums on signing cab files as well as my best friend.... GOOGLE. It appears that im going to need a windows mobile 6 sdk and a program called MSDN.. Is this correct? Is there an easer way to do this?

i think it misses the Certificates, make sure you dnt take the EXE out of its root folder

Use MSCEinf to dump the CAB file (7th button from the left on the toolbar), then edit the PNGs, then repack the CAB with Cabwiz:
cabwiz "fullpath\filername.inf"
Cabwiz is included with XP, but if you can't find it, you can get it here.
the CAB does not have to be signed, and since you're not editing the EXE, it doesn't have to be signed either.
Thanks to Benthon for his wonderful MSCEinf. A free program that he continually updates for the benefit of us WinCE users.
J03M4N

Ok...
I have a folder on my desktop thats says Msigner. When I open it up, I see a file that says Ssigner.exe. I can click on that and it opens up but it wont let me write a certificate to my cab file. there is also a yellow folder that is labled tools..... It has a quite a few dll files in it.
Any help would be appreciated

Joemanb,
thanks for the software. Tried it out and it wont open up my cab file that I created. however it will open up the origional cab file... Maybe i did something wrong haha.....

*Update*
I used the program in the last post. it wouldnt readthe cab file that I created but It read the origional cab file from MFRAZZ. I put the origional cab file from MFRAZZ into the program and extracted the files.
It extracted all the files into the correct file format. All my pictures were .png. I thought I was on the right track. I went aheadand edited all the pictures to make them the colors I wanted them to be. I also saw a .mui file... and I saw comm.exe. I expect thats the comm manager. There is not .xml fle now.
How to I repack all of this back into a cab file?
Thanks in advanced

Instructions on how to create the CAB are in my first post :
then repack the CAB with Cabwiz:
cabwiz "fullpath\filename.inf"
Cabwiz is included with XP, but if you can't find it, you can get it here.
Click to expand...
Click to collapse
Type the command at a DOS prompt: 'fullpath' is the full path to the folder you dumped the CAB to, and 'filename.inf' is the name of the .inf file created when you dumped the CAB. Don't forget the quotes.
J03M4N

Sorry. I get a little ahead of myself. This is my first go at making a cab file. if all goes well i might do this more.
Nice I read on later and back tracked. I noticed that the link provided takes me to msdn's website with a title of Cabwiz(PPC Only) there is no download option. IS cabwiz built into the Windows Mobile 6 sdk?
Thanks in advanced again

ok im slowly getting this.... HaHa. I used command prompt and cabwiz. I took the inf file and pasted it into the folder that was dumped from the other program. I typed it in like this in command prompt.
cabwiz "d:\documents and settings\rzrgs6\desktop\windows\maroon_comm_manager.inf"
it kicked back with this error message...
Error: section [CEStrings] key"installDir" - data value must be an absolute path, or must start with a supported windows CE DirID <of the form %CEx%>
confused on this, maybe a little light shining on this might help.. Any Clues?
Heres an attachment of what I have so far...

you shouldn't have to move or copy the .inf, it should already be in the folder you dumped the CAB to.

It dumped a folder on my desktop callled windows. The comm manager.inf file was dumped on my desktop next to the yellow folder called windows. what you are saying is to do this
in command prompt, navigate to the cabwiz file. Type in cabwiz "d:\documents and settings\rzrgs6\desktop\windows" for the filename and just leave the .inf file on the desktop?
What to type exactly in command prompt is what is confusing me.
Thanks

Ok... I got frusturated with the .cab making process. I just took the pictures for the comm manager that I edited in GIMP and dropped them in my windows directory of my device.
It will keep me happy for now.
Below is my comm manager now and my theme on my phone which i created for Manila 2D

I'd like to help but it's hardfor me to describe it in english(my english is poor).I suggest that you can open it by winrar,see what it likes.And you can search it on google.

I appreciate everyones help.
I used WinCE to unpack the .cab file. It left me with a windows folder on my desktop with a bunch of .png files. I edited those from blue to the maroon fading black. The windows folder also had a .dll file a .mui file and the comm manager.exe file.
Next to the yellow windows folder I saw a .inf file which was dumped from the origional cab file. I expect this was the .xml installation file that was packaged in the origional cab.
Heres what I did. I searched and found Cabwiz and a few other cab making programs. I tried them all out with no success. I keep trying to use cabwiz as I fell it will do what I want. The only think is, I get an error when using Cabwiz which is in an earler post.
For now I gave up.... I just took the .png files that I edited in Gimp and copied them over to my windows Directory on my phone. I soft reset and the icons on my comm manager are the way that I want them to be
If someone could help me actually in the making of this file or just get me back on my feet and try again. I want to understand what it is that I am doing wrong.
Thanks

use the path to the .INF file like I said....
if you dumped the stuff to your desktop (WHY?) then your path to the inf file is:
"d:\documents and settings\rzrgs6\desktop\maroon_comm_manage r.inf"
so your command line is:
cabwiz "d:\documents and settings\rzrgs6\desktop\maroon_comm_manage r.inf"
why you stuck 'windows' in your path I don't know since that is NOT the path to the .INF file. The Windows folder was dumped along with the .INF file, but it was NOT the folder you dumped the CAB to. the Folder you dumped the CAB to is the folder you select after clicking the seventh button from the left in MSCEinf. Obviously you just selected the folder that was presented to you in the dialogue (Desktop) instead of navigating to a work folder and dumping it there.
I did NOT say to navigate anywhere after going to the command prompt (Cabwiz is in the system path). Nor did I say to move or copy anything.
You're reading alot into what I've said, and that seems to be your problem.

Related

BtT: Easily customizing your splash screen for JAM, PDA2k

What you'll need:
CAB editor, such as OCP WinCE CAB Manager
Madkat's WM2k3 Boot Image Tool (attached)
Adobe Photoshop or other image editor
a compatible HTC device such as the Magician or Blue Angel
Summary:
Customized SplashX.nb files to be installed in \Windows directory of your device
Included:
Customizable Splash2.psd file for use with Adobe Photoshop
Steps:
1. Change the Splash2.psd file as necessary, then save a 24-bit BMP file called Splash2.bmp.
2. Use Madkat's Tool to convert the BMP file to an NB file.
3. Use the CAB editor to replace the Splash2.nb file with your version. WinCE CAB Manager may state an "Unspecified Error" when replacing the file. Instead, delete the original file, then drag the new NB file into the CAB file, hardcoding the \Windows folder as the install destination.
4. Save the CAB file and run it on your device!
Magician devices have only one splash screen, and it must be saved as Splash2.nb.
Blue Angel devices have two splash screens, Splash1.nb and Splash2.nb. Use the above steps to incorporate both splash screens as necessary.
Splash screens will be retained even after a hard reset, so use this after the Anansky's Big Storage hack, or if you just want to personalize your device, such as in the unfortunate event that it's lost or stolen - unless they know this trick, they won't be able to get rid of it!
Have fun!
Thanks mate works like a dream!!
Maybe it's just me, but I've read this post here and at Howardforums and I'm clearly missing something.
I've only ever used the nb_image_converter_859_418.exe to convert "any" bmp to the Splash2.NB file.
Then I drop that into my Windows Folder and use MDA3_bootimage_changer2.cab to apply the file. (Yes I'm using a Magician with this file!)
Soft reset and that's that. No need to do any cab file editing.
Cheers
Howard
PS. I've have both tools on my pc and can repost them, but they are from this site!
hshortt said:
Maybe it's just me, but I've read this post here and at Howardforums and I'm clearly missing something.
I've only ever used the nb_image_converter_859_418.exe to convert "any" bmp to the Splash2.NB file.
Then I drop that into my Windows Folder and use MDA3_bootimage_changer2.cab to apply the file. (Yes I'm using a Magician with this file!)
Soft reset and that's that. No need to do any cab file editing.
Cheers
Howard
Click to expand...
Click to collapse
Tried that way myself a while ago but for some reason it refused to work for me? (could of been the fact i used a file called XDA2_bootimage_changer.CAB)?? anyway now I can use self contained cabs so I make some splash's for my friends
PS. I've have both tools on my pc and can repost them, but they are from this site!
it must be me, but what cab file are we using here ?
3. Use the CAB editor to replace the Splash2.nb file with your version. WinCE CAB Manager may state an "Unspecified Error" when replacing the file. Instead, delete the original file, then drag the new NB file into the CAB file, hardcoding the \Windows folder as the install destination.
Click to expand...
Click to collapse
:?: :idea: :!: :?:
DOH! I forgot to include the file. It's there now in the top post.
3. Use the CAB editor to replace the Splash2.nb file with your version. WinCE CAB Manager may state an "Unspecified Error" when replacing the file. Instead, delete the original file, then drag the new NB file into the CAB file, hardcoding the \Windows folder as the install destination.
well, i'm using resco file explorer. i'm choosing on my pc to send the file to windows directory. he ask's me if i wanna overwrite it, i click yes and then it's done. i'm reloading, but still qtek logo on the screen(( what am i doing wrong?
ps. i tried to use WinCE CAB Manager but i didn't figured out how to use the program....
update:
oh, i needed to use a different file...
thanks guys! well done)
my version (unfortunatelly understandble only for russian speaking users) but maybe somebody will like it)
http://zhgun.ru/pics/i/draw/jamming_.jpg
http://rapidshare.de/files/2112736/jamming.cab.html
hshortt said:
Maybe it's just me, but I've read this post here and at Howardforums and I'm clearly missing something.
I've only ever used the nb_image_converter_859_418.exe to convert "any" bmp to the Splash2.NB file.
Then I drop that into my Windows Folder and use MDA3_bootimage_changer2.cab to apply the file. (Yes I'm using a Magician with this file!)
Soft reset and that's that. No need to do any cab file editing.
Cheers
Howard
PS. I've have both tools on my pc and can repost them, but they are from this site!
Click to expand...
Click to collapse
hi, can't seem to download the attachments, could you repost them?
If you don't like Bill's Stuff...
I wonder if anyone can put some help my way.....
I used the xda2 image changer before and I had custom images on my XDA2.
I use this and all I get is a black screen on startup. If I open the .nb file with the converter it shows as it should. (this same .nb works on my XDA2!)
I now have a plain black boot up screen!!
DOH!!!!
Any ideas......?
THanks
First i had the t-mobile splash... wich i didn't like.
Now, whatever bootsplash cab i make, or download here.. after running it, my bootscreen stays blank ( as in black ).
oh well... its an improvement over t-mobile pink
( or is it because i'm running an ancient rom : 1.01.00 WWE ?, only have the device for 3 days... will be upgrading this weekend tho )
Here are my 2 favourites Splashscreens.
The blue one ist for the silver Magician, the darker one is for the new O2 XDA mini (black edition).
Hi I've editted the o2 logo here's the jpg file
I tried to upload the psd so you can edit it but it doesn't work, to bad!
Step-by-step making your own splashscreen
Guys,
Simpler than this you will not find.
Goto
http://pocketpcdubai.infopop.cc/groupee/forums/a/tpc/f/582600994/m/138105069
and find everything you need to know.
It worked perfectly for me...
Excellent information, real easy to do
this is mine:
Awesome...
I saw this before, but I have just tried it... and it is really cool 8) ... it gives the device a whole new look...
thanks BTT
My way to splash changer.
Hi,
I thanks to BTT for Splash Changer how to. But it is troublesome to everytime run WinCE cab manager in order to put Splash2.nb to the .cab file.
I try to remove Splash2.nb from the .cab file (and renamed the .cab to splash_changer.cab). Afterthat, put the Splash2.nb manually to \windows on PPC. Voila....., no need to everytime run WinCE cab manager!!!!!
Process:
1. Edit .bmp file to your like (Must be 240x320 pixels, 24bit).
2. Use nb_image_converter_859_418 to convert .bmp file to .nb, and change the .nb file to Splash2.nb.
3. Put Splash2.nb file directly to your \windows on PPC. You can do activesync and explore it.
4. Put splash_changer.cab to \temp for you to easier found it.
5. Run file explorer on PPC, and tap on splash_changer.cab.
6. Done! You can check by soft reset the PPC.
Hope it is helpful!
Regards,
Arto.
can it work on normal pocket pc?
can it work on normal pocket pc? (x50v)
Re: can it work on normal pocket pc?
avi9899 said:
can it work on normal pocket pc? (x50v)
Click to expand...
Click to collapse
No idea....
Regards,
Arto.

How to open attached *.php files?

I'm able to open every attached 'download.php' file on this forum, but a few seems to be empty to my variO, while other members don't have that problem. I myself use pRAR 3.60. Are there other tools/programs to open them or are there diffferent types of *.php files which are created by forummembers?
If I understood correctly you are talking about downloading stuff from this forum directly to your device?
The *.php extension in this case is a bug. Any file may it be exe or zip or doc downloaded from a thread here by PIE will wind up as php on your device.
The only way I know around this is to use Total Commander (or similar) to change the extension to what it suppose to be (doc, exe, zip) and then try opening the file.
Opening the *.php files is not the problem, but they seems to be empty, no archived included. Like the attached one. I renamed it as rar but still no joy.
Could you try to see if this one is empty?
And are there other NLD variO users experience the same problem, with my config (see signed info)?
I think I solved you problem.
Quick look with a hex editor reviles that his is not a rar file.
It's a cab. Also desktop WinRAR has no problem opening it or extracting files.
If you rename it with cab extension then run it by clicking on it in file explorer you get the desired effect.
I am not familiar with pRAR but it may be limited to rar and zip file formats.
That's it..!!
I wished I asked this months before...
Thanx alot

OEM Package making question

I have a cab with the following extentions
_setup.xml
JETBTC~1.001
JETBTH~1.000
JetBTHFix.002
JetBTHFix.999
I added the .dsm & .rgu files
I edited the _setup.xml file to redirect the Shortcut to a different folder.
Is that all I need to do?
Will it work puting it into an OEM folder now?
Can I remake it back into a cab file? (How do I make a cab file)
Thank you
You can't open a cab with a simple unzip program (which appears what you have done). You have to use a program that can pull a cab apart. In HyperCore there is a free utility that will do this (sorry, not on my computer with a kitchen so I don't remember what its called, but its in the tools and/or panel area of HyperCore). You can use Cabwuz (demo version) to see what I mean also.
MSCEinf
Its a tool called MSCEInf.exe, Windows CE CAB Analyser. It opens up Windows Mobile .CAB files and creates the original files and installation options (registry changes, shortcut creation etc).
http://www.codeppc.com/telechargements/msceinf/msceinf.htm
Andy
Ok I got the program up and running, but not sure how to use it. There seems to be no help files.
Anyone know how to use this. Can you give me a quick run though.
All that MSCEInf.exe does is extract the original files and settings from the .CAB file. What you should do is extract the files to a folder, then if the XML button is available click it and then look at the Registry Keys and Shortcuts tabs to see what shortcuts you need to create and what settings you need to add to the .RGU file. If the XML button isn't available then click the 'RTF Document' tab, this contains all the settings but is a bit harder to cut-&-paste from.
It is probably a good idea to look at on existing OEM package to see what files are included, what the shortcuts look like and what the .RGU file looks like.
HTH
Andy
Little more help.
Ok need a little help still.
This is what I have done.
1) created a folder with in the OEM folder called JETBT
2) Opened Msceinf
3) Loaded my cab file
4) Changed "Use Folder Name" to NO
5) Pressed "Extract Cab files with original names to a folder"
6) Extracted them to the JETBT folder I credated.
Now this is where I am at.
I have the following 5 files.
_setup.xml
BT HFP Extension 1.31.inf
JetBTConfig.exe
JetBTHFx.999
JetBTHFx.dll
I know I need to create a .dsm and .rgu file
the .rgu file is where I add reg entries
I also know I need to make a inirflashfile.dat
which is where I have it move the .ink file.
First how do I make a .ink file.
Then is this all I need to do?
Does the OEM folder us the info inside _setup.xml ?
If it does can I simply edit that file. Inside I see where it makes and moves the .ink file
And where it adds the reg info.
I could simply just add the info into that file.
and then create empty .dsm and .rgu files.
So what do I need to do? Am I missing any steps.
there are other cabs I need to edit aswell.
Thanks for your help.
? Anyone? PLEASE
Read my OEM package tutorial. 95% applies to all phones and Ervius Package Creator is the greatest thing to OEM packages since sliced bread
Thank Man!

Nooby .cab question.

Ok, please excuse me and this question. I'm a At&t Tilt, Treo and iPAQ user.
I'm new to this forum and I have an issue.
When I download a file, for instance: Risidoro_Intent_MIDlet_Manager_11.1.7.1023.cab.zip
I open it with WinRar and Extract to my desktop
inside the new folder is _setup.xml and a bunch of different files that say stuff like 00CAB10D.004
How do I install these?
When I open _setup on my Tilt or on my PC I get a script that opens up in Internet Explorer.
Thanks a bunch,
Alan
You don't install them.
Windows Mobile installer files are in cab format
to install just copy the cab file itself to your device and run it thru your PDA's file explorer
Still confused, what do I open?
Theres around 10 files and when I open them they say something like open this with an application.
And when I open _setup it shows me a script.
unzip the ZIP file so you get a file.CAB (DON'T exctract the CAB).
drop the cap into your device and double click it..

How to install?

Hi there, I just bought a new HTC 2 Pro and upgrade to 6.5, so now I want to install a few application that I download from here but all I see is files and a setup.xml, there is no .cab file on it. Can some body tell how can I work this out.
Thank You.
What kind of files besides the xml? What were you trying to install?
Does the file you download appear as a .zip when you find all the files (like _setup.xml)? Your internet browser might be renaming the .cab extension on the downloaded files to .zip. When you're looking at the file you downloaded on your computer, does it show up with the extension .cab or .zip (does it look like a filing cabinet or a zipped folder)? If the file with _setup.xml inside it shows up as a ZIP file, rename the extension to .cab, place it on your device somewhere, and open it with File Explorer Mobile (on your device). You're likely opening the cab file one way or another
Thank you for your replys. I am trying to install (Srub) in my phone. when I extrac the files to a folder all I see is _setup.xml, 000scrub.000, 000scrub.001 and thats it. So do I have to rename one of this to .cab? if it is which one is?
my money is on the file you extracted those files from
rename that to cab
Problem Resolve, I upgrade to the later Rom (EnergyROM Leo! Landscape and Documents!) and this rom have an application named (Pocket Rar) so I just create a folder inside my Doc and launch the .cab from there. I love it!!! Thank You all for your help.

Categories

Resources