The Design-Time Developer

Links from today's ClickOnce Prerequisite webcast

If you have found this post, but have not yet viewed the webcast, do not fear - you can review the on-demand version here within a day or so.  The other webcasts in the ClickOnce, and broader MSDN Events Online, series can be found here.

Now for the links:

  • Most importantly, the GotDotNet site where you can download the Bootstrap Manifest Generator (BMG) for a UI tool to very easily generate the manifests necessary for your prerequisites
  • Another great place to look for info on ClickOnce and Smart Client development is the Smart Client Developer Center
  • For ClickOnce-specific FAQs, visit the WindowsForms.net ClickOnce FAQ

Happy coding,
Jacob

Published Tuesday, June 14, 2005 1:45 PM by jacobcy
Filed under:

Comments

 

Steven Guo said:

Thanks for your presentation! You had mentioned the creation of custom package as prerequisite. What about 3rd party software as a prerequisite?
June 16, 2005 2:18 PM
 

jacobcy said:

Steven,

That's a great question about 3rd party applications and libraries. There is a whole load of things that you can do with Microsoft Windows Installer (http://msdn2.microsoft.com/library/h2zwd6bw(en-us,vs.80).aspx). You can effectively distribute 3rd party components by pairing installation with postbuild events (a property of Setup Projects in Visual Studio).

Regards,
Jacob
June 20, 2005 8:38 AM
 

JR said:

Are you doing your ClickOnce presentation for Fort Wayne's .NET group tonight? Thought I saw you scheduled on NUFW's web site (http://www.nufw.com) a week ago, but now the site appears to be down or gone.
June 20, 2005 1:31 PM
 

Jake said:

You also mentioned the ability to use the bootstrapper withoug clickonce but all the samples pertained to ClickOnce. Do you have any information regarding using the bootstrapper without going through the Publish dialog. I noticed that there is an MsBuild task called GenerateBootstrap, is this the only way to do it? If so, do you have any samples on using it in this way?

Thanks,

Jake
June 23, 2005 10:41 PM
 

Jake said:

Yet, one more comment/question. What about automated build scenarios? You can't very well use VS.NET to publish an app for ClickOnce. So for example, I write the installs for our product using WiX. We have nant builds that go off every night to build the product. We have a client/server application which runs completely on a service oriented architecture. So after installing the server and portal, a client could browse to the server web site and click a link to download and install the client applications. If I want to make an application for the client using ClickOnce, how do I go about integrating the publishing into the build. Because we would never know the name of the server or DNS name, we could not use a static manifest.

I see lots of examples using click once in the most basic form and usually not in any real world applications but none as I described above.

Any information would be appreciated.

Thanks,
June 23, 2005 11:42 PM
 

Ken LeFebvre said:

Jake,

Great questions!

First, in regards to the use of the bootstrapper without using ClickOnce... if you create a regular Setup Project in Visual Studio (to create an MSI deployment package), in the project properties you can tell it to create a "Setup.exe" program. The button right next to that check box (it says "Settings" or "Advanced" or something) will open up the exact same Bootstrapper configuration dialog that you get from the ClickOnce configuration GUI.

Second, about the automated build scenario. You are correct, there really isn't any command-line utility to perform the equivalent of a Visual Studio Publish command, at least at this time. However, it's easy enough to script that I'm sure it won't be long before all the automated build tools have scripts to handle it... (maybe you'll write one! ;)

Remember, all you need to do, to publish an application (especially after the first time), is to update the deployment manifest to point to the location of your new version (by convention, a version-named folder in the same location as the deployment manifest). Publishing is really just a matter of copying files around.

The hardest part will be generating the manifests, because Visual Studio doesn't really create these files until it does its own publish thing. Until better tools for automating the generation of these manifests from project properties exist, you'll probably want to use the MAGE tool to create them and include them into whatever build scripts you write.

This sounds like a great GotDotNet workspace project to me!
June 25, 2005 9:28 PM
 

Jake said:

Hi Ken thanks for the info.

I found the following documentation on MSDN which lists the MSBuild target required to publish from the command line.

http://msdn2.microsoft.com/library/ms165431(en-us,vs.80).aspx

As for using the bootstrap. I see what you are saying but honestly, how many real world software packages use the setup project from VS. I know that it is getting better but there is a reason why the Office team uses WiX instead of VS.NET Setup Project. With that said, I suppose I could create a dummy setup project just to create the bootstrap.

Thanks,

Jake
June 27, 2005 8:59 PM
New Comments to this post are disabled

This Blog

Syndication

News

This is the blog of Jacob Cynamon, Microsoft developer community champion (DCC) for Illinois, Indiana, and Wisconsin.


All postings on this blog are provided "AS IS" with no warranties, and confer no rights. All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer.

Developer Events

Other Microsoft Events TechNet Briefings
[IT Pros]


Connections
[Small/Mid-Sized Business Owners]


TS2 Seminars
[MS Partners]


MBS
[Business Professionals]


Stay up-to-date on developer happenings
Localized MSDN Flash Newsletter

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker