Experimenting with WiX

by admin 11. October 2006 17:42

I've just tried using WiX for the first time. For those that don't know, WiX is an open source project started at Microsoft for developing installers using the Windows Installer framework. WiX is supposed to be much simpler than the standard tools, but doesn't claim to be simple.

My only previous experience has been with the installer projects built into Visual Studio, which I've found to be very confining. I'm happy to say that WiX is the exact opposite. I feel like I'll be able to do pretty much anything I want to once I fully understand WiX. The learning curve is pretty steep however.

The best site I've found for learning is the tutorial at http://www.tramontana.co.hu/wix/ Just read through it all to get a good overview then use it as a reference as you start writing your own stuff.

So far, I have just one tip to share. The tutorial shows how to create shortcuts in the start menu and desktop, but doesn't show you how to add shortcuts for all users. Luckily it's quite simple, just add this:

<Property Id="ALLUSERS">1</Property>

Of course, just connect that up to some radio buttons and allow the user to choose whether to install for themselves or everybody :)

Comments (3) -

1/29/2009 5:07:35 AM #

Thank you so much for that tip! I looked all over and found a bunch of info about the ALLUSERS property, but you're the first to give the exact syntax I needed.

Devin

1/29/2009 2:58:02 PM #

Glad I could help Smile Always figure it's good to share these things if you've had to go searching yourself for them.

Richard Mason

4/26/2009 5:36:01 AM #

den

hey ive just started wix like 1 day ago and i was wondering, how can i make a forum on my wix website

this is the first time i'm doing thing stuff so if u have and answer please send it to my email.

den

Comments are closed

About Us

RikWare is a software development company based in Brisbane, Australia. Led by director, Richard Mason, RikWare focusses on solving challenging business problems promptly and effectively.

RikWare is also the owner of Aussie Bushwalking, a free, wiki-like collaboration site for bushwalkers and the creator of RikMigrations, a migration framework for .NET.

Aussie Bushwalking

Want to discover some new bushwalking ideas? Share a few of your own? Aussie Bushwalking is like Wikipedia... but for bushwalkers. Head on over. Anybody can see the walks and it's free to sign up and share your own.

 

RikMigrations

RikMigrations is a database migration library for .NET based on the migrations facility provided by Ruby on Rails. It allows simple upgrading and downgrading of databases using .NET code (such as VB or C#) either from the command line or built into your application. Unlike many other migration frameworks, RikMigrations is a stand-alone library which does not rely on a large surrounding framework.