Re: Creating an installer
From: Raj Kumar (RajKumar_at_discussions.microsoft.com)
Date: 08/02/04
- Next message: Silvana_Vix: "Push in RDA - Help"
- Previous message: Carl Brochu: "Re: pbEmulator and /MemorySize"
- Next in thread: David Gonzales [MS]: "Re: Creating an installer"
- Reply: David Gonzales [MS]: "Re: Creating an installer"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 2 Aug 2004 11:57:03 -0700
Hi! David,
After struggling for a while to include the device/processor specific cab files within the application installer to install the Compact framework SP2 on a device, I have resorted to the following option:
-- To include the redistributable from MS on the CD with the application's installer.
In order to do that, I want to put a check in the application installer to find out if the CF SP2 has been installed. If not, I want to rollback/abort the installation and inform the user to install the SP2 from the other .msi file. This way I can keep the installations separate and there by, keep the size of future application updates smaller.
I am trying to figure out where to put the check and so far there hasn't been any solution. How should I be going about this? Any ideas/suggestions would help a lot.
Thanks and regards,
Kumar
"David Gonzales [MS]" wrote:
> Hi Raj,
>
> > How do I go about creating the DLL and invoking it?
>
> You can use VB .NET or C#.NET. Download the sample 'Deployment.msi' project
> from:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfdeployment.asp
> This is for a single application. You can modify the DLL to call
> CeAppMgr.exe multiple times (once for each application). Microsoft Product
> Support Services does not support wrapping up redist CABs into a setup
> project, but theoretically it should work just like any other two
> application setups.
>
> > Do I need to use the redistributable [Compact Framework(sp2)] .msi file?
>
> Use the redist package ".NET Compact Framework 1.0 SP2 Developer
> Redistributable"
> http://www.microsoft.com/downloads/details.aspx?FamilyID=10600643-09b3-46d8-ba28-bc494bc20d26&DisplayLang=en
> These are extracted to a folder of your choice
> - Do not use the CABs from Visual Studio
> - if you want to pick individual CABs, that's fine ... but we have no
> published information on which CABs you should include for specific devices
>
> Microsoft's recommendations for including Compact Framework are here:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfdepl.asp
> This is more sophisticated: It detects which device, and whether the
> Framework is needed or not
> - developers may include the .NET Compact Framework web redistributable
> inside their own MSI and simply invoke it
> - deployment from a PC via RAPI (main subject of the article)
>
> David
> ------
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Raj Kumar" <RajKumar@discussions.microsoft.com> wrote in message
> news:362D82FF-41E3-4843-8A71-EC541AA347F7@microsoft.com...
> > We are in a similar situation and would like to include with our
> app-installer a valid version of Compact Framework(sp2) to be installed if
> not already there. How can this be done. How do I go about creating the DLL
> and invoking it?
> > Do I need to use the redistributable .msi file?
> > Thanks for your time.
> > Regards,
> > Kumar
> >
> > "David Gonzales [MS]" wrote:
> >
> > > Make it simple: Just have your custom action MSI Setup DLL make three
> calls
> > > to CeAppMgr.exe:
> > >
> > > 1. Call CeAppMgr.exe with command line to first package's INI file
> > > 2. Call CeAppMgr.exe with command line to second package's INI file
> > >
> > > If you want your setup program to detect whether SQLCE or CF is already
> > > installed, or correct version installed, that puts a bit of a twist on
> it.
> > > You will need to create a another DLL which can be invoked as a custom
> > > action from the MSI file, or (wrap the same functionality into the DLL
> used
> > > by the Deployment sample).
> > >
> > > Let us know which particulary part you are having trouble with.
> > >
> > > David
> > > ------
> > > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > >
> > > "Brett" <brettmetcalfe@hotmail.com> wrote in message
> > > news:c6f85ddd.0405191724.2fd01036@posting.google.com...
> > > > Hi
> > > >
> > > > We are trying to deploy an application to .NETCF. Thanks largely to
> > > > the sample code (.NET Compact Framework-based Deployment Sample), the
> > > > developer looking after this part of the project can create a valid
> > > > .msi file which he can deploy to PocketPC and install correctly.
> > > >
> > > > However, he cannot get this to work when the Installation includes
> > > > anything more than the primary Application. We need not only the
> > > > primary app, but also a secondary app, SQLCE & .NET Compact Framework.
> > > >
> > > > He cannot make any sense of the MSDN explanation in "Creating an MSI
> > > > Package that Detects and Updates the .NET Compact Framework"
> > > > explanation, and following another of their documents "Developing and
> > > > Deploying Pocket PC Setup Application" results in my PC freezing all
> > > > the time.
>
>
>
- Next message: Silvana_Vix: "Push in RDA - Help"
- Previous message: Carl Brochu: "Re: pbEmulator and /MemorySize"
- Next in thread: David Gonzales [MS]: "Re: Creating an installer"
- Reply: David Gonzales [MS]: "Re: Creating an installer"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|