I also have a short article on how to write NuGet packages for application to 
Wixproj Wix project files at my blog at:

http://borgsdemons.com/blog/2013/06/13/wix-and-nuget-creating-nuget-packages-to-deploy-wix-wixlibs-and-msbuild-tool-task-assemblies-to-wix-wixprojs/
 

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com 




-----Original Message-----
From: andy smith [mailto:andysmi...@gmail.com] 
Sent: Thursday, July 11, 2013 10:44 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Guidance on WiX and NuGet integration

That's really helpful Wilbert, thanks.
To be honest I hadn't got my head round the fact that it was really only for 
developers. I've now got an example project pulling down the packages from an 
external private feed and being compiled by the build so can now get on with 
the wix part!

:)


On Wed, Jul 10, 2013 at 12:02 PM, Wilbert van Dolleweerd < 
wilb...@arentheym.com> wrote:

> NuGet is simply meant as package management for a developer. For example:
> instead of having to download and install Nunit to be able to use in 
> their Visual Studio solution, they can simply add a NuGet package to 
> their solution. See the following link for some more background information:
>
> http://www.hanselman.com/blog/IntroducingNuGetPackageManagementForNETA
> notherPieceOfTheWebStack.aspx
>
> Some pointers:
>
>
>    - I would integrate NuGet in your CI build. NuGet has the ability to
>    modify the project file to automatically download a NuGet package (if
>    needed) when building the project.
>    - You could also create your own NuGet server. If you download the NuGet
>    package from your supplier, you could add it to your own NuGet server.
> This
>    way you don't have to deal with authentication.
>    - You could create a MSI that packages only the new NuGet package bits.
>    - If the NuGet package is updated, simply add a new version to your own
>    server (see above). NuGet also has the ability to NOT automatically 
> update
>    to a new version, but stick to a specific version. This way, you control
>    when to update.
>
>
> Kind regards,
>
> Wilbert van Dolleweerd
> http://gplus.to/WilbertVanDolleweerd
>
>
> On Wed, Jul 10, 2013 at 12:19 PM, andy smith <andysmi...@gmail.com> wrote:
>
> > I'm really confused by where NuGet fits in with a WiX deployment 
> > (which
> you
> > can guess by the questions at the end...)
> >
> > Currently we're really happy with our WiX (3.6) setup (smile)...
> >
> > Our TeamCity build creates the installers using Burn and Neils burn 
> > UI customisations for our WinForms products that are FTP'd to our servers.
> The
> > apps call our web services to determine whether there is a later 
> > version that it's entitled to, and if so downloads it in the 
> > background so that's it's ready to be installed the next time the app 
> > starts.
> >
> > Now I need to include some functionality that is included into our 
> > c# solution via a nugget package. The package will not be required 
> > by 90% of our client installations due to the specific functionality 
> > in the
> package,
> > so presumably will need it's own msi. The nugget package in question
> isn't
> > ours, and resides on one of our suppliers servers and requires 
> > authentication to get hold of.
> >
> > I'm somehow new to the world of NuGet, and cannot get my head round 
> > where it fits in with WiX...
> >
> > - Do I somehow include the nugget package as part of the CI build 
> > and include it within the WiX installer so it's not downloaded from 
> > the suppliers site (this would resolve the authentication issue)?
> >
> > - Do I create a new MSI which includes the components within the 
> > Nuget package, but not actually use NuGet for the final client 
> > deployment at
> all?
> > (This would solve a number of issues but would potentially need work 
> > each time the NuGet package is updated )
> >
> > - Do I create a headless MSI package which downloads separately as 
> > part
> of
> > the burn install? Clients won't be able to enter the authentication 
> > required as they won't have it.
> >
> > - If the nugget package is installed during installation, and always 
> > get the latest available presumably our install may fail at a later 
> > date if
> the
> > nugget package is updated by the supplier which breaks our install
> somehow.
> > Is there a way around this if the NuGet package is downloaded on the 
> > client?
> >
> > Many thanks, Confused!
> >
> >
> ----------------------------------------------------------------------
> --------
> > See everything from the browser to the database with AppDynamics Get 
> > end-to-end visibility with application monitoring from AppDynamics 
> > Isolate bottlenecks and diagnose root cause in seconds.
> > Start your free trial of AppDynamics Pro today!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c
> lktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ----------------------------------------------------------------------
> -------- See everything from the browser to the database with 
> AppDynamics Get end-to-end visibility with application monitoring from 
> AppDynamics Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c
> lktrk _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to