Create Setup part 1

Now you had some theoretics and installed WiX with Votive. In this tutorial we will create step by step a WPF Application with a Setup. Let’s get our hands dirty!

Create the WPF Project

  1. In Visual Studio: File -> New Project
  2. Create a WPF Project with the following settings:
    wix_new_wpf_application
  3. On the created solution -> Right Mouse click -> Add -> New Project
  4. Create a new Setup Project with the following settings:
    wix_wpf_application_setup
  5. Open the file product.wxs
    wix_wpf_application_productwxs

When you build the project now, you’ll get the following error:

wix_wpf_application_error1

  1. Set a name for the Manufacturer-attribute in the product-element.
  2. Build the solution

You have now built you first setup, but at the moment it still does not install our WPF-program.