PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2008, 02:30 PM
MarkMoore's Avatar
N00b
Offline
Pocket PC: Sprint PPC6700
 
Join Date: Apr 2008
Posts: 25
Reputation: 15
MarkMoore is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
How to Create a Cab File

OK - I tried searching but keep getting an error that my 'search term contains less that the 3 minimum word requirement' or something to that effect.

Anyhow - I was trying to figure out how to create a cab file. I peeked in to the PPCGeeks_OEM.rar from the Kitchen folder and would like to install some of the additional apps - the problem is when cooking a new ROM, they take up too much space. So how can extract the files (actually I know that part) and create a CAB file to install them (or can I just copy them over and run some magic XML command/progam that will install them?)

Thanks,
Mark
Reply With Quote
This post has been thanked 1 times.
  #2 (permalink)  
Old 05-28-2008, 02:50 PM
jabu's Avatar
Almost a VIP
Offline
Pocket PC: Nexus 5x
Carrier: Republic Wireless
Location: Oregon
 
Join Date: Aug 2007
Posts: 833
Reputation: 675
jabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to jabu Send a message via MSN to jabu Send a message via Yahoo to jabu Send a message via Skype™ to jabu
Re: How to Create a Cab File

I would like to know this also. Good question!
__________________
========================================
For the love of God, SEARCH before asking!
========================================
Need your Apache OEM ROM? Get it here!
========================================
Reply With Quote
  #3 (permalink)  
Old 05-28-2008, 05:41 PM
Unknown Zone's Avatar
VIP Member
Offline
Pocket PC: EPIC
Carrier: Sprint
Location: South Texas
 
Join Date: Jan 2007
Posts: 1,328
Reputation: 2147
Unknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to Create a Cab File

http://www.devx.com/wireless/Article/31198

This might help I myself did not read the article..but you might want to check it out.
__________________
6700(2nd Backup)-------Kirvin C&S 3.5 WM5 "Still Kicking"
TouchPro(1st Backup)---Mighty 4.16 / TouchPro2--Big MaxSense 6/9
If you been helped by forum members remember:
Don't just say "Thanks"....give
Reply With Quote
This post has been thanked 2 times.
  #4 (permalink)  
Old 05-28-2008, 05:56 PM
jabu's Avatar
Almost a VIP
Offline
Pocket PC: Nexus 5x
Carrier: Republic Wireless
Location: Oregon
 
Join Date: Aug 2007
Posts: 833
Reputation: 675
jabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to jabu Send a message via MSN to jabu Send a message via Yahoo to jabu Send a message via Skype™ to jabu
Re: How to Create a Cab File

Packaging CAB Files
The first step toward deploying the project is to first package the application into a Cabinet (CAB) file. The CAB file can then be deployed to devices, where it is then expanded and installed. A CAB file is an executable archive file that contains your application, dependencies such as DLLs, resources, Help files, and any other files you want to include in it.

In this step not only will I create the CAB file for the application, but I will also configure it so that a shortcut is created on the user's Start menu when they install the application. Add a new project to your current solution by going to File(Add Project…. In the Project Types column, expand the Other Project Types node and select Setup and Deployment. Select the Smart Device CAB Project template. Name the project C:\SmartDeviceCab1 and click OK.
In Solution Explorer, click the SmartDeviceCab1 project and set the ProductName property to MySampleApp (see Figure 2). This will be the name of the folder that is created on the Pocket PC when you install the application.
Right-click on SmartDeviceCab1 in Solution Explorer and select Properties. Set the output file name to Debug\SampleApp.cab (see Figure 3). This will be the name and location of the CAB file.
The next step would be to configure how the CAB file will install on the target device when it is deployed onto the user's Pocket PC. For my example, I will create a shortcut on the user's Pocket PC Start Menu so that users can directly launch the application from the Start Menu.
In the File System pane, right-click Application Folder and select Add—>Project Output…. In the Add Project Output Group window, select Primary output and click OK.



Right-click on Primary output from SampleApp(Active) and select Create Shortcut to Primary output from SampleApp (Active) (see Figure 4). The Primary Output refers to the application that will be expanded from the SampleApp.cab cabinet file and here we are creating a shortcut to point to the application.
Rename the default shortcut "SampleApp v1." This will be the shortcut that you will display on the Start menu of the end user devices (you will create the shortcut in the next step).
In the current window, right click on File System on Target Machine and select Add Special Folder—>Start Menu Folder (see Figure 5). This will allow us to put the shortcut we created earlier into the Start Menu folder on the target Pocket PC. If a Start menu already exists on the device simply skip to the next step.



The icon for the SampleAppv1 shortcut should be visible from the current window. Drag and drop it onto the Start Menu Folder. The Start Menu Folder should now look like Figure 6. This will cause a shortcut to be created on the user's Pocket PC Start Menu when the application is installed.
The next step is to generate the CAB file. To do that, go to Build—>Build SmartDeviceCab1 to build the CAB file project.
The CAB file is, in itself, an installer, but only end users with above-average computer savvy will know what to do with it. The next step is to actually make a Windows-style application installer that better mimics the typical experience installing applications on PCs.



Source: http://www.devx.com/wireless/Article/31198/0/page/2


You don't need to goto the next step in the walkthrough unless you want to create a windows installer.


NOTE: These instructions are for Visual Studio. You can get the Express version for free here: http://www.microsoft.com/express/download/


Thanks to Unknown Zone for digging up this article.
Reply With Quote
This post has been thanked 1 times.
  #5 (permalink)  
Old 05-29-2008, 08:26 AM
weedahoe's Avatar
VIP Member
Offline
Pocket PC: XV6800
Carrier: VZW
Location: GA
 
Join Date: Jun 2007
Posts: 3,250
Reputation: 1593
weedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to weedahoe Send a message via MSN to weedahoe Send a message via Yahoo to weedahoe
Re: How to Create a Cab File

Has everyone forgotten about WinCE CAB Manager?
__________________
Loving my rooted Droid X
Reply With Quote
This post has been thanked 1 times.
  #6 (permalink)  
Old 05-29-2008, 11:10 AM
jabu's Avatar
Almost a VIP
Offline
Pocket PC: Nexus 5x
Carrier: Republic Wireless
Location: Oregon
 
Join Date: Aug 2007
Posts: 833
Reputation: 675
jabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to jabu Send a message via MSN to jabu Send a message via Yahoo to jabu Send a message via Skype™ to jabu
Re: How to Create a Cab File

Quote:
Originally Posted by weedahoe View Post
Has everyone forgotten about WinCE CAB Manager?
Yes.
Reply With Quote
  #7 (permalink)  
Old 05-29-2008, 11:56 AM
nxtech3's Avatar
VIP & Proud Member of CBM
Offline
Pocket PC: Touch Pro 2-Sprint, HTC Evo Fully Rooted-Sprint
Carrier: Sprint Nextel
Location: Daytona Beach, FL
 
Join Date: Nov 2007
Posts: 1,304
Reputation: 1373
nxtech3 is halfway to VIP status based on repnxtech3 is halfway to VIP status based on repnxtech3 is halfway to VIP status based on repnxtech3 is halfway to VIP status based on repnxtech3 is halfway to VIP status based on repnxtech3 is halfway to VIP status based on repnxtech3 is halfway to VIP status based on repnxtech3 is halfway to VIP status based on repnxtech3 is halfway to VIP status based on repnxtech3 is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to Create a Cab File

if Visual Studio Express is free then why would someone want to pay for WinCE Cab Manager?? What are the major differences?
__________________


"I pity tha fool... that don't press !"
Reply With Quote
  #8 (permalink)  
Old 05-29-2008, 12:03 PM
jabu's Avatar
Almost a VIP
Offline
Pocket PC: Nexus 5x
Carrier: Republic Wireless
Location: Oregon
 
Join Date: Aug 2007
Posts: 833
Reputation: 675
jabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to jabu Send a message via MSN to jabu Send a message via Yahoo to jabu Send a message via Skype™ to jabu
Re: How to Create a Cab File

Visual studio takes a GRIP of hard drive space. I haven't used WinCE Cab Manager, so I don't know how it differs.
Reply With Quote
  #9 (permalink)  
Old 05-29-2008, 01:18 PM
weedahoe's Avatar
VIP Member
Offline
Pocket PC: XV6800
Carrier: VZW
Location: GA
 
Join Date: Jun 2007
Posts: 3,250
Reputation: 1593
weedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to weedahoe Send a message via MSN to weedahoe Send a message via Yahoo to weedahoe
Re: How to Create a Cab File

You guys are pathetic, the first thing we teach and preach here is 'search' and you guys still dont do it.
Reply With Quote
  #10 (permalink)  
Old 05-29-2008, 01:24 PM
jabu's Avatar
Almost a VIP
Offline
Pocket PC: Nexus 5x
Carrier: Republic Wireless
Location: Oregon
 
Join Date: Aug 2007
Posts: 833
Reputation: 675
jabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuffjabu knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to jabu Send a message via MSN to jabu Send a message via Yahoo to jabu Send a message via Skype™ to jabu
Re: How to Create a Cab File

I really don't care enough about making cabs to search!
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache


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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 12:12 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com