Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Talk

Reply
 
Thread Tools Display Modes
  #1  
Old 09-07-2008, 05:58 AM
Rocco Augusto
Editor Emeritus
Rocco Augusto's Avatar
Join Date: Aug 2006
Posts: 2,432
Default What Is a Cabinet (.cab) File?

http://www.microsoft.com/technet/pr...b.mspx?mfr=true

"You may have noticed that people (including me) often write about installing software for Windows Mobile smartphones from a CAB file. So, what exactly is a CAB file? CAB is shorthand for Cabinet. CAB files are compressed files that can contain multiple files or even multiple folders with multiple files. You can find its official description on Microsoft TechNet (see below)."

If you're like me you might find articles like this interesting. Personally I love to tinker with things and figure out how they work. In a nutshell though, a Windows Mobile cabinet file is a compressed archive, like a Zip file, which contains an XML file that tells the operating system where to put all the items within and which registry keys to create and/or edit. Cabinet files are relatively simple to create as long as you have the right tools and can be used to do some really handy stuff. For instance I had a CAB file that I created for the sole purpose of restoring all of my registry hacks after a hard reset or ROM upgrade. This saved a ton of time for me since I usually ended up hard resetting my device once every few weeks to get rid of all the junk that was left over from the software I installed and uninstalled during that time.

__________________
Follow me on Twitter - @therocco
 
Reply With Quote
  #2  
Old 09-08-2008, 12:23 AM
Brad Adrian
Editor Emeritus
Brad Adrian's Avatar
Join Date: Sep 2006
Posts: 3,060
Send a message via AIM to Brad Adrian Send a message via MSN to Brad Adrian

How difficult is it for a non-programmer to create custom CAB files? On my Pocket PC Phone Edition, every week or so my corporate Exchange e-mail stops working and the only way to fix it is to delete the server entered on my device, soft reset and then re-enter the server settings.

Is there an easy way for me to create a file that will quickly re-configure the Exchange server settings on my device?
 
Reply With Quote
  #3  
Old 09-08-2008, 02:19 AM
Rocco Augusto
Editor Emeritus
Rocco Augusto's Avatar
Join Date: Aug 2006
Posts: 2,432

I know there was one or two open source CAB file creators in the past that were compatible with Windows Mobile CAB files but since I last read about them both projects have went belly up.

The only way I know to create a CAB file at the moment is with Microsoft's Visual Studio. Who knows, maybe there is a WM developer out there that has read this and might have a solution for you. If anything I will look around and see what I can find out
__________________
Follow me on Twitter - @therocco
 
Reply With Quote
  #4  
Old 09-08-2008, 07:45 PM
mirskym
Neophyte
Join Date: Apr 2005
Posts: 9

Have a look at

http://translate.google.ca/translate...hl=en&ie=UTF-8

This freeware app pulls apart a cab file telling you what's in it. The documentation explains how you can use Microsoft's cabwiz app to reassemble it after you make changes. Also you can use MS's Knowledge base to learn how to code the various parts of the files needed to build the cab (but it's not the easiest to understand).
 
Reply With Quote
  #5  
Old 09-08-2008, 11:07 PM
yawanag
Thinker
yawanag's Avatar
Join Date: Apr 2002
Posts: 378
Default Cab Files

I really could use your help on this one. I am forever downloading, installing and uninstallling. I go through "Remove Files" Check the registry, etc. but I know there are still files left. Occasionally, I find them looking for something else. I use "SKTools" and "Total Commander." I have enough memory on my stoarge card, but I am down to 5.88 in storage. I could delete some of the programs, but most of what I have I have on there because I use it almost daily.

You mentioned doing a hard reset frequwntly. I dread that like a plague. I have a SBHB backup, but my question is if I perform a backup and then perform a hard reset won't I get back what I had before?

Thanks for any help.
__________________
"It's alright to pick your friends, but not to pieces."
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:38 PM.