58BITS
  • Home
  • Tech Stuff
  • Other Stuff
  • Photos
  • About
  • Contact
58BITS
  • Home
  • Tech Stuff
  • NAnt, WiX and How to Build and Deploy a Utility...

NAnt, WiX and How to Build and Deploy a Utility Library

Submitted on Aug 29, 2008, 9:01 a.m.

 

 Well - on the off chance that I get enough votes at BarCamp in the morning... here's my presentation for BarCamp Bangkok 2 .

A while back - and thanks mainly to an open source project created by Alexander Groß  (a Now Playing Plugin for Windows Live Writer ) I discovered the Windows Installer XML (WiX)  project.  WiX is pretty cool. It's an XML script based compiler and linker that creates .MSI install packages. Because it's script and command-line driven - it fits well into automated build and deployment systems (using build tools like NAnt  or MSBuild).

I've generally kept all my utility and helper classes in a separate solution, separated into namespaces for Strings, Data, Web, Math, Image helpers etc... all static classes (slowly being updated with extension method  versions as well).

So for my demo at BarCamp - I've created a SampleUtils solution - with NAnt and WiX and a fairly well organized solution that shows how this can all be put together.

The solution layout looks like this... 

 (screen shot to the right).

Again - if I get the chance. I'll do a quick run through of the NAnt build file (I've annotated the targets). And then a quick look at the WiX scripts. Demo the build process and then deploy the library using the installer - followed by a Console app that uses the library to make a few calls... (at least that's the plan).

Here are links to the source package for the demo (all lib and tools included so it will build as soon as you run build-release.bat) as well as the slide deck.

UtilitiesSolution.zip (5.43MB) 
BarCamp2_SlideDeck.zip (61KB). 

And here are the links at the end of the slide deck...

http://nant.sourceforge.net/ 
http://wix.sourceforge.net/index.html 
http://msdn.microsoft.com/en-us/library/aa367449(VS.85).aspx 
http://msdn.microsoft.com/en-us/library/aa368047(VS.85).aspx 
http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET 
http://en.wikipedia.org/wiki/Daily_build 

Wish me luck... :-)

 

Technorati tag: Barcampbangkok2 

Featured

ความเสี่ยงที่เกี่ยวข้องกับเทคโนโลยีหน้าจอสำหรับเด็ก (วัยก่อนรุ่นและวัยรุ่น)

ความเสี่ยงที่เกี่ยวข้องกับเทคโนโลยีหน้าจอสำหรับเด็ก (วัยก่อนรุ่นและวัยรุ่น)

Sep 15, 2024, 10:53 a.m.
An Executive Summary of the Current State of AI

An Executive Summary of the Current State of AI

Jul 20, 2024, 5:45 p.m.
Digital Media Preservation - Why Media Organizations Can’t Archive

Digital Media Preservation - Why Media Organizations Can’t Archive

Sep 17, 2012, 11:59 a.m.
The Long Road Home

The Long Road Home

Nov 09, 2011, 8:12 p.m.

Latest

อันตรายที่ซ่อนเร้นของน้ำตาล: ผลกระทบต่อสมองเด็กและสุขภาพผู้ใหญ่

Nov 27, 2024, 2:36 a.m.

General Purpose Encrypt and Decrypt Functions with Jose

Sep 16, 2024, 11:19 p.m.

ความเสี่ยงที่เกี่ยวข้องกับเทคโนโลยีหน้าจอสำหรับเด็ก (วัยก่อนรุ่นและวัยรุ่น)

Sep 15, 2024, 10:53 a.m.

Migrating a Google Workspace Account to a Personal Google Gmail Account

Aug 04, 2024, 9:30 p.m.
58bits

Tech, art, and life...

Copyright © 2026 Anthony Bouch. All rights reserved.

Made with ❤️ by Infonomic

Explore
  • Home
  • Tech Stuff
  • Other Stuff
  • Photos
Legal
  • Terms of Use
  • Privacy Policy
  • Cookies
Connect
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Copyright © 2026 Anthony Bouch. All rights reserved.

Made with ❤️ by Infonomic

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.