Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable WiX project in Visual Studio 2013

I have a VS 2012 solution with WiX Installer projects. However, when I open the solution in VS 2013 (Release) the WiX project is incompatible.

Does anyone know where / whether a VS 2013 version (wixtoolset ?) is available being worked on yet? Or is there a way to make the current project compatible in VS 2013?

like image 545
Redeemed1 Avatar asked Oct 18 '13 11:10

Redeemed1


People also ask

How do I run a WiX project in Visual Studio?

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.

How do I install WiX?

Steps to Install WiX on Windows 11.1 and click on the download button. Step 2: You will be redirected to the source code present in the version control system GIT, and we need to choose the appropriate .exe file and click on download. Here we have chosen wix311.exe and click on it, and then it will be downloaded.


1 Answers

Update 2013-12-02: WiX Toolset 3.8 is released with official support for Visual Studio 2013 editions. It is available for download from wixtoolset.org.

You can manually enable Visual Studio 2013 compatibility with older versions of WiX:

  1. Copy
    C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\WiX to
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\WiX

  2. Modify
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\WiX\extension.vsixmanifest by adding the following:

    <VisualStudio Version="12.0">     <Edition>Ultimate</Edition>     <Edition>Premium</Edition>      <Edition>Pro</Edition>     <Edition>Express_All</Edition> </VisualStudio> 
  3. Then open VS2013 Native Tools Command Prompt (from C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts) and execute:

    devenv /setup

When you open Visual Studio 2013, WiX 3.7 projects will be compatible.

like image 167
Chris Schiffhauer Avatar answered Sep 20 '22 13:09

Chris Schiffhauer