PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Build CAB File for Release

Reply

Build CAB File for Release

 
Thread Tools Rate Thread
Old 07-03-2006, 03:28 PM   #1
Davy B
Guest
 
Posts: n/a
Default Build CAB File for Release


I'm trying to build a CAB file for a .NET app I've built using C#. I
am using the cabwiz.exe applet with an INF file. The CAB file builds
ok, but in order to enable users to install the app on a virgin Pocket
PC I have to provide seven other CAB files, including Compact Framework

2, SQL Client, SQL CE, etc.

Rather than expect the customer to copy eight CAB files onto their
Pocket PC and process each one in the correct order, how can I combine
all files into one CAB file? If I include CAB files in the INF file,
they are just ignored.


Thanks in anticipation,


David Bridge

  Reply With Quote
Old 07-03-2006, 03:41 PM   #2
Harry Simpson
Guest
 
Posts: n/a
Default Re: Build CAB File for Release

I solved this very same problem by using this free open source
components....works great!
http://nsis.sourceforge.net/Main_Page

WISE really wasn't up to the task when I was looking.....don't know what
they have now -----but NSIS met my needs right away....and the price is
right!

Harry Simpson

"Davy B" <david.bridge@itv.com> wrote in message
news:1141745307.620673.324860@j52g2000cwj.googlegroups.com...
> I'm trying to build a CAB file for a .NET app I've built using C#. I
> am using the cabwiz.exe applet with an INF file. The CAB file builds
> ok, but in order to enable users to install the app on a virgin Pocket
> PC I have to provide seven other CAB files, including Compact Framework
>
> 2, SQL Client, SQL CE, etc.
>
> Rather than expect the customer to copy eight CAB files onto their
> Pocket PC and process each one in the correct order, how can I combine
> all files into one CAB file? If I include CAB files in the INF file,
> they are just ignored.
>
>
> Thanks in anticipation,
>
>
> David Bridge
>



  Reply With Quote
Old 07-03-2006, 03:42 PM   #3
Ginny Caughey [MVP]
Guest
 
Posts: n/a
Default Re: Build CAB File for Release

David,

You can't combine the CAB files into one big CAB file as you'd like, but you
can write a desktop app using Rapi to copy the CAB files to the device and
explode them under programmatic control. You can find a .NET wrapper for
Rapi at www.opennetcf.org in the Desktop.Communications section.

--
Ginny Caughey
..NET Compact Framework MVP


"Davy B" <david.bridge@itv.com> wrote in message
news:1141745307.620673.324860@j52g2000cwj.googlegroups.com...
> I'm trying to build a CAB file for a .NET app I've built using C#. I
> am using the cabwiz.exe applet with an INF file. The CAB file builds
> ok, but in order to enable users to install the app on a virgin Pocket
> PC I have to provide seven other CAB files, including Compact Framework
>
> 2, SQL Client, SQL CE, etc.
>
> Rather than expect the customer to copy eight CAB files onto their
> Pocket PC and process each one in the correct order, how can I combine
> all files into one CAB file? If I include CAB files in the INF file,
> they are just ignored.
>
>
> Thanks in anticipation,
>
>
> David Bridge
>



  Reply With Quote
Old 07-03-2006, 08:02 PM   #4
Ilya Tumanov [MS]
Guest
 
Posts: n/a
Default Re: Build CAB File for Release

Note RAPI can be disabled on WM 5.0 devices. Using CeAppMgr.exe with INI
files would work even in that case.

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group...framework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

"Ginny Caughey [MVP]" <ginny.caughey.online@wasteworks.com> wrote in message
news:uFXAz3fQGHA.3916@TK2MSFTNGP11.phx.gbl...
> David,
>
> You can't combine the CAB files into one big CAB file as you'd like, but
> you can write a desktop app using Rapi to copy the CAB files to the device
> and explode them under programmatic control. You can find a .NET wrapper
> for Rapi at www.opennetcf.org in the Desktop.Communications section.
>
> --
> Ginny Caughey
> .NET Compact Framework MVP
>
>
> "Davy B" <david.bridge@itv.com> wrote in message
> news:1141745307.620673.324860@j52g2000cwj.googlegroups.com...
>> I'm trying to build a CAB file for a .NET app I've built using C#. I
>> am using the cabwiz.exe applet with an INF file. The CAB file builds
>> ok, but in order to enable users to install the app on a virgin Pocket
>> PC I have to provide seven other CAB files, including Compact Framework
>>
>> 2, SQL Client, SQL CE, etc.
>>
>> Rather than expect the customer to copy eight CAB files onto their
>> Pocket PC and process each one in the correct order, how can I combine
>> all files into one CAB file? If I include CAB files in the INF file,
>> they are just ignored.
>>
>>
>> Thanks in anticipation,
>>
>>
>> David Bridge
>>

>
>



  Reply With Quote
Old 07-03-2006, 08:13 PM   #5
Ginny Caughey [MVP]
Guest
 
Posts: n/a
Default Re: Build CAB File for Release

Good point, Ilya. Thanks.

--
Ginny Caughey
..NET Compact Framework MVP


"Ilya Tumanov [MS]" <ilyatum@online.microsoft.com> wrote in message
news:440de6bb$1@news.microsoft.com...
> Note RAPI can be disabled on WM 5.0 devices. Using CeAppMgr.exe with INI
> files would work even in that case.
>
> --
> Best regards,
>
> Ilya
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> *** Want to find answers instantly? Here's how... ***
>
> 1. Go to
> http://groups-beta.google.com/group...framework?hl=en
> 2. Type your question in the text box near "Search this group" button.
> 3. Hit "Search this group" button.
> 4. Read answer(s).
>
> "Ginny Caughey [MVP]" <ginny.caughey.online@wasteworks.com> wrote in
> message news:uFXAz3fQGHA.3916@TK2MSFTNGP11.phx.gbl...
>> David,
>>
>> You can't combine the CAB files into one big CAB file as you'd like, but
>> you can write a desktop app using Rapi to copy the CAB files to the
>> device and explode them under programmatic control. You can find a .NET
>> wrapper for Rapi at www.opennetcf.org in the Desktop.Communications
>> section.
>>
>> --
>> Ginny Caughey
>> .NET Compact Framework MVP
>>
>>
>> "Davy B" <david.bridge@itv.com> wrote in message
>> news:1141745307.620673.324860@j52g2000cwj.googlegroups.com...
>>> I'm trying to build a CAB file for a .NET app I've built using C#. I
>>> am using the cabwiz.exe applet with an INF file. The CAB file builds
>>> ok, but in order to enable users to install the app on a virgin Pocket
>>> PC I have to provide seven other CAB files, including Compact Framework
>>>
>>> 2, SQL Client, SQL CE, etc.
>>>
>>> Rather than expect the customer to copy eight CAB files onto their
>>> Pocket PC and process each one in the correct order, how can I combine
>>> all files into one CAB file? If I include CAB files in the INF file,
>>> they are just ignored.
>>>
>>>
>>> Thanks in anticipation,
>>>
>>>
>>> David Bridge
>>>

>>
>>

>
>



  Reply With Quote
Old 08-03-2006, 08:16 AM   #6
info@it-design.biz
Guest
 
Posts: n/a
Default Re: Build CAB File for Release

Hi
But I do I have do check the current running os on the Pocket PC don't
I ?

Did you solve this ?

I've the same issue I need to solve

  Reply With Quote
Old 09-03-2006, 03:54 PM   #7
Markus Humm
Guest
 
Posts: n/a
Default Re: Build CAB File for Release

Hello,

maybe Install Shield is an option for you. IS Express is sufficient to
write nice setup applications which can also target PDAs.
They can deploy CF as well as any other file...

Greetings

Markus
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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

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