Questions tagged [votive]

Votive is a codename for Visual Studio add-ons for Windows Installer XML Toolset (WiX)

"Votive" project aims to provide a set of tools and IDE extensions that simplify working with WiX source files. It provides several Project and Item templates for common setup types like MSI or MSM, and also adds a set of MSBuild tasks that allow to integrate WiX tools (i.e. heat.exe) into the build tasks.

Votive project home

49 questions
51
votes
1 answer

WiX undefined preprocessor variable

I'm starting to use WiX in order to do automated builds to create msi's of my c# projects and am experiencing the error "Undefined preprocessor variable '$(var.MyProject.TargetDir)'" I am using the latest WiX v3.0.5419. Inside my wxs file I am…
David
  • 15,150
  • 15
  • 61
  • 83
21
votes
8 answers

Custom Action in C# used via WiX fails with error 1154

I am using WiX 3.5.1930 in Visual Studio 2010, targeting the .NET Framework 3.5. (Later weekly builds of WiX seem to be very broken with respect to their custom action template, at least for now. 1930 is the most recent build that seems to make a…
MikeBaz - MSFT
  • 2,938
  • 4
  • 28
  • 57
19
votes
7 answers

How to debug custom bootstrap application?

I am using Burn for MSIs package. I am using Votive (Visual Studio) & my own custom BA instead of WiXBA. I tried to debug custom BA using Debugger.Launch(). But when I start debugging, error messages occur. No symbols are loaded for any call stack…
user1356862
  • 201
  • 2
  • 5
13
votes
1 answer

Harvesting files leads to LGHT0231 error

I'm using latest votive (Wix v3.5) and created a simple Wix VS 2010 setup project. I added my website reference and set the Harvest option as true. Now since my INSTALLDIR points to a folder under IISROOT, I get this light.exe error: [filepath]:…
Mrchief
  • 75,126
  • 20
  • 142
  • 189
12
votes
1 answer

Accessing TargetDir of a project with WiX preprocessor $var syntax

I have just started using WiX for the first time. I added a WiX Votive project to my existing C project. To automatically select the correct source folder for the binaries add used the following:
Leith Bade
  • 121
  • 1
  • 3
11
votes
1 answer

WiX build warning: The Media table has no entries

I'm trying to create a simple installer for a .net application in WiX. I installed Votive and am using the basic template wxs file it creates. When I compile it I get warning LGHT1076: ICE71: The Media table has no entries. Also when I run the…
whatupdave
  • 3,124
  • 5
  • 28
  • 32
9
votes
5 answers

Is it possible to localize EULA in WiX using .wxl file?

My installer, created wth WiX is localized via .wxl files. It is possible in WiX to specify multiple cultures and light.exe will be called multiple times, creating an installer for each language (this is available while building installer from…
grigoryvp
  • 40,413
  • 64
  • 174
  • 277
7
votes
3 answers

WIX Toolset integrated into VS 2012 beginner problems

My company recently forced us to use Wix Toolset (v.4.0.12), because we upgraded to Visual Studio 2012 which unfortunately no longer contains installer projects. My problems are the following. I have a big solution with many projects which all in…
Jihad Haddad
  • 592
  • 1
  • 6
  • 19
6
votes
3 answers

How to create and edit WiX files?

Microsoft is moving away from the Visual Studio built-in MSI setup projects. WiX seems to be one alternative. But the tutorials I've found for WiX are all about five years old. For example, WiX: Hints for New Users (Part 1 of 3) is one from…
aaaa bbbb
  • 3,003
  • 2
  • 23
  • 23
5
votes
1 answer

WiX project error when opening up solution in Visual Studio

I have a solution with a WiX project in it. Everytime I open it I get an error and then the WiX project is displayed as unavailable. The error is: Setup\Setup.wixproj : error : Error HRESULT E_FAIL has been returned from a call to a COM…
John Mills
  • 10,020
  • 12
  • 74
  • 121
5
votes
1 answer

How to manage Bundle's code using preprocessor variables?

I had created several configurations on my bundle-project in Visual Studio and I want to define which fragments of code must be included in each configuration. My aim is to get several bootstrappers: some of them will include prerequisites and some…
Nerielle
  • 984
  • 1
  • 11
  • 29
4
votes
1 answer

Pass MSBuild variables to linker in Votive

I am attempting to dynamically name the output of my WiX installer project, so that the resulting MSI is MyProject-Version-Configuration.msi (e.g. MyProject-1.2.0.1325-Debug). Since the name of the output file is set by the linker (light.exe), I…
David Keaveny
  • 3,904
  • 2
  • 38
  • 52
4
votes
1 answer

WiX (Votive) Project Reference Harvesting (HEAT) an ASP.Net Web Application

What I'm Doing I have an ASP.Net Web Application and a WiX Setup Project in Visual Studio 2010. I can explicitly harvest the web application with the following HEAT command set as a pre-build event for the setup project: “%WIX%\bin\heat.exe”…
Matt Poland
  • 398
  • 4
  • 9
4
votes
1 answer

Visual Studio WiX and patches

I tried to build a WiX patch with Visual Studio. Easy enough. I build with Visual Studio, and it builds. But, when I try to run the resulting MSI, I am told This installation package could not be opened. Contact the application vendor to…
Doo Dah
  • 3,979
  • 13
  • 55
  • 74
4
votes
4 answers

WIX MSBuild automation help - solution best practices

I know there are many questions out there regarding this same information. I have read them all, but my brain is all turned around and I don't know which way to go. Plus the lack of documentation really hurts. Here is my scenerio. We are trying to…
awilinsk
  • 2,054
  • 6
  • 31
  • 50
1
2 3 4