Blog Stats
  • Posts - 8
  • Articles - 0
  • Comments - 2
  • Trackbacks - 0

 

Thursday, November 05, 2009

PDC Underground

For those that wish to attend the PDC Underground but do not live in the US, please use your local address during PDC (for example the address of your hotel).  While the PDC Underground is designed for local developers, all are welcome.  A chance for the local developer community to meet their counterparts around the world is a greeat opportunity.

Tuesday, November 03, 2009

PDC Underground

Some people have had trouble with the link in the e-mail I sent out for the PDC Underground Party at the Conga Room at LA Live.  If you had trouble, please go to the main website at: http://www.undergroundatpdc.com and click on the big registration at the bottom of the page.  The direct link in the email does not seem to work correctly.

Monday, November 02, 2009

Speaking at SoCal .NET on Wednesday night

I will be speaking at SoCal Dot Net on Wednesday night.  My topic is VS 2010 and MSDeploy, the new ASP .NET deployment tool.  To RSVP go to http://www.socaldotnet.org

PDC Underground

  Don't miss The Underground @ PDC 2009!  Sponsored by Microsoft, INETA, and local partners and community, The Underground is your chance to hear from Microsoft and tech community leaders announcing Microsoft's Technology roadmap and newly released developer strategies.  At The Underground, network with hundreds of other developers, architects and designers.  Add savory cuisine, hosted Mojito bar, hand rolled cigars & more, at the world famous Conga Room in downtown L.A., and you have an experience you won’t want to miss!  Did I mention there will be prizes, too? Wednesday, November 18 from 7:00 p.m. Must register in advance of event. Special prizes for the first 100 in the door. Register at www.undergroundatpdc.com using RSVP code:  hhrzqo Twitter: @undergroundpdc

Monday, September 15, 2008

INETA Board News

Big news from the board meeting, our president, Daniel Egan, has taken a job with Microsoft, so we have a new president of INETA, Rob Zelt.

Sunday, September 14, 2008

INETA Board

Sorry it has been so long since I have blogged.  I was elected to the INETA board over the summer, and am currently attending our board meeting in Seattle.  I should have news to blog about the meeting soon.

Wednesday, November 21, 2007

How to add custom prerequisites to ClickOnce

For my first entry I would like to talk about ClickOnce.  It is a very cool technology allowing you to automatically update you Windows Forms application.  One feature that has been talked about is that you can add your own prerequisite to the application.  In fact there is even a tool that you can use to generate the manifests requires here:  http://www.codeplex.com/bmg there is also an article about how to use it here: http://www.codeproject.com/useritems/Add_Custom_Prerequisite.asp.   I also learned how to do this process manually which is what I want to talk about in this post.

The first thing I did was create a standard Windows Installer for my application.  The application I tested this with was a Windows Forms application, but it could have been a Console Application.

Next I copied the application to a language subfolder to a subfolder of the BootStrapper folder.  The default location looks like this:

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\(packagenamehere)\en

Inside this folder I have the MSI Installer I created and a new xml document called Package.xml.  Here is what my package.xml document looks like:

<?xml version="1.0" encoding="utf-8"?>

<Package xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"  Name="HelloWorld" Culture="En">

                <PackageFiles CopyAllPackageFiles="false">

                                <PackageFile Name="HelloWorldSetup.msi"/>

                </PackageFiles>

                <Commands Reboot="Defer">

                                <Command PackageFile="HelloWorldSetup.msi" Arguments="">

                                                <ExitCodes>

                                                                <DefaultExitCode Result="Success" FormatMessageFromSystem="true"/>

                                                </ExitCodes>

                                </Command>

                </Commands>

</Package>

 

You would just need to change the HelloWorld to what you named your application and MSI file (My MSI file is called HelloWorldInstaller).

 

There is only one more thing you need to do to make the prerequisite work.  You need another xml document in the folder one level up.  In my example the folder would be here:

 

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\(packagenamehere)

 

This xml file is called Product.xml and it looks like this:

 

<?xml version="1.0" encoding="utf-8" ?>

<Product

  xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"

  ProductCode="HelloWorldSetup"/>

 

Once again change the ProductCode to match the installer name.  That’s it.  When I go to publish a ClickOnce program, the HelloWorld prerequisite is available to me just like any other.

 

Monday, November 19, 2007

My First Blog Post

Well, this is my Blog.  I will be writing about .NET mostly as that is what I teach and know.  I plan on using this site as a notepad for myself, and hope to put enough interesting information here that you will want to keep coming back.

I guess I should tell you a little about myself…

I have been a developer for about 10 years.  I started working in .NET when it first came out in March of 2002.  I was lucky that I had a job that allowed me to learn .NET while working.  I think .NET is a great development environment allowing me to be more productive than I could ever be in other languages.

I guess that is it for now, thanks for reading.

 

 

Copyright © Blog Author