Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Write a WPF Wix Installer

I have written an installer using WIX for a product, which uses:

  • custom extensions
  • custom actions
  • customized ui dialogs

etc.

I noticed Microsoft Office Installer uses WPF and was wandering how I would go about creating these custom looking installers? does anyone know how i would go about this, I cant seem to find any information on it or examples.

I have been told Wix Burn can do what I want but I can't find any examples.

like image 803
pengibot Avatar asked Mar 05 '12 16:03

pengibot


People also ask

How do I create an MSI file with WiX?

In Visual Studio, open your solution, and add a WiX project to it: go to the Visual Studio main menu and click File -> Add -> New Project to open the Add New Project dialog. Choose the Setup Project item in the Windows Installer XML node, specify the project name and click OK.


1 Answers

Download the WiX latest (weekly) release source code at http://wixtoolset.org/releases and look at the project located in src\Setup\WixBA. The WPF you write will be the bootstrapper UI which references the WiX bootstrapper engine (Burn).

I also created a minimal example that I blogged about here. Please note that it is a bare bones example to get someone started. Using the WiX source as an example is better because it's complete and robust.

like image 143
BryanJ Avatar answered Sep 25 '22 19:09

BryanJ