Results 1 to 6 of 6

Thread: [RESOLVED] Setup Package

  1. #1

    Thread Starter
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Resolved [RESOLVED] Setup Package

    Hello there,

    I am trying to create a setup package for my Windows Mobile application that I have created in Visual Studio 2005 using C#.

    I have followed the tutorial here, and I have been able to create the setup application, and my application installs, however, I have also to install the .Net Compact Framework 2.0 and SQL Server 2005 Compact. In order to do this, I have tried to include these additional CAB files in a setup.ini file, however, the actual installations of the framework and the sql server does not seem to happen. Here are the contents of my setup.ini file:

    [CEAppManager]
    Version = 1.0
    Component = MyApp


    [MyApp]
    Description = MyApp
    Uninstall = {CC9EA2BC-BCFA-4DEA-8F5F-1E1032567673}
    CabFiles = NETCFv2.wm.armv4i.CAB,sqlce30.ppc.wce5.armv4i.CAB,MyApp.cab

    Does this look ok to everyone? Is there anything I am missing?

    As stated, the actual installation of my application installs, but not the .net framework or sql server!

    Thanks

    Gary

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Setup Package

    There is a great article here by Chris Tacke. Also try a search for the following articles on MSDN for:
    Deployment Patterns for Microsoft .NET Compact Framework by Jon Box and Dan Fox

    I use pocket installer, but can't you just drag the cab files into your 'dependents'?
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Setup Package

    Hello,

    Have you got a link to the package that you use?

    I have been hunting all over the web today, and I can't find any simple ways to accomplish this! I would have thought this would have been something easy to achieve within Visual Studio?!?! I create the application to target a particular .net framework, and then you include this in the setup package incase it is not already installed.

    Thanks

    Gary

  4. #4

    Thread Starter
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Setup Package

    Hello there,

    I finally figured out what I needed to do in order to achieve what I wanted. There were various websites that gave individual snippets of information, I just needed to put them all together

    I have created an article about it here, so if anyone is interested, please feel free to have a look.

    Thanks

    Gary
    Last edited by gep13; Sep 8th, 2008 at 09:21 PM.

  5. #5
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: [RESOLVED] Setup Package

    Hi,
    the package I use is Pocket PC Installer
    I have no affiliations with the company, just think it is a fine product that has saved me hours.

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  6. #6

    Thread Starter
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] Setup Package

    Thanks for that!! Will stick with what I have finally got working now, but I will maybe look to using this product in the future.

    Thanks

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width