Questions tagged [wix4]

For issues relating to deployment using WiX Toolset version 4

The WiX Toolset builds Windows installation packages from XML source code. The toolset supports a command-line environment that developers may integrate into their build processes to build MSI and MSM setup packages.

75 questions
6
votes
2 answers

How to use HarvestDirectory in WiX 4

I'm trying to use the HarvestDirectory project element in WiX 4, Preview 1, and finding it pretty unintuitive. I can't seem to get it to actually do anything obvious, even though I'm following the breadcrumbs in the documentation. In WiX 3, I used…
jamesm
  • 71
  • 6
3
votes
1 answer

Migrate Wix Project to version 4.0

I recently ugraded Wix to Version 4.0. After updating the namespaces Visual Studio (2015) won't recognize these new ones.
Muffex
  • 55
  • 1
  • 12
2
votes
1 answer

Wix4 C# CustomAction project compile error - WixToolset.Dtf.WindowsInstaller reference

I am looking to write my first C# CustomAction project in .net7 using Wix4. I have a very simple class in the project with one function decorated with the CustomAction attribute. The reading that I have carried out, as well as a clone of the Wix4…
David H
  • 21
  • 1
2
votes
0 answers

How do you use Wix Toolset v4 to harvest files from a directory

I have multiple installers under a Setup directory, which have been converted to wix v4 using wix convert. Each setup maps to a visual studio sln file with the same name. I was going to change our master build to use heat to harvest from our build…
dgxhubbard
  • 703
  • 2
  • 7
  • 18
2
votes
1 answer

Explanation for Wix 4 Harvest Directory?

I am trying to learn Wix 4.0 to create an installer for an application I am developing. Once my application is built I have a bunch of files one folder that I would like to install to program files, I have read that the harvesting functionality…
2
votes
2 answers

Any latest development is happening on releasing a stable build for Wix 3.14 or Wix 4.0

There is an existing issue with Wix SQL extension not working with TLS1.2 enabled (https://github.com/wixtoolset/issues/issues/5543).We would like to consume this fix as most of our installation environment is shifting to TLS 1.2.The issue seems to…
mfuser
  • 21
  • 2
2
votes
1 answer

Unable to set a WiX Property equal to a Property from a Properties file

I might be suffering from a case of Sometimers Disease, but I could have sworn the last time I dipped my toe in WiX, it was recommended to have a seperate file for setting properties to be referenced later if any of those properties aren't meant to…
kayleeFrye_onDeck
  • 6,648
  • 5
  • 69
  • 80
2
votes
1 answer

WiX Bootstrap - The element contains an unhandled extension attribute

I am having trouble developing a WiX Bootstrap Application using WiX Toolset 4.0. My main objective right now is to check and prevent from reinstalling .NET 4.5 Framework when running the installer. So I need to use the RegistrySearch extension…
Emilio
  • 47
  • 2
  • 7
1
vote
1 answer

WiX4 Toolkit generates error "wix7506" when building a bundle

I'm learning to work with the Wix Toolset using Visual Studio and Heatwave. I've successfully build multiple example projects: Editing/reading the windows registry. Editing/reading Windows/User Enviroment variables. harvesting files, folders and…
Arkarin0
  • 13
  • 3
1
vote
2 answers

EXE prerequisite installs fine with WiX bundle, but WiX returns install failed

I'm building a bundle to install some driver prerequisites along with my main application using WiX 4.0 and the HeatWave Visual Studio extension. I've got the bundle up and running, and all the prerequisites install fine, but one of the three EXEs…
1
vote
1 answer

Setup Wix v4 Installer for Console Application

I want to create a Installer for a Asp.Net Core WebAPI as a Windows Service. But during setup I always get errors from wix. I started setting up a Console Application:
Franz
  • 358
  • 6
  • 18
1
vote
1 answer

Wix v4 UI optional checkmark box for desktop icon creation

I'm trying to add an optional "Create Desktop Shortcut" checkmark box to the user interface of my bundle.wxs file. This file is part of my Wix v4 bundle project in Visual Studio 2022. How can I get this checkmark box added? This is my XML so…
Stephen
  • 11
  • 3
1
vote
1 answer

Wix V4 - CustomAction Condition only when updating

Details of the problem: I have an action that has to be executed when unistalling but not when updating the product to a new version. I have defined the UpgradeVersion like this:
aiGreek
  • 41
  • 4
1
vote
1 answer

error WIX0094: The identifier 'Binary:Wix4UtilCA_X86' could not be found

After this was fixed: https://github.com/wixtoolset/issues/issues/7139 I pulled the github source and compiled it, but still get an error for the Custom Actions regarding the Binary Reference: error WIX0094: The identifier 'Binary:Wix4UtilCA_X86'…
1
vote
1 answer

Cannot launch wix managed boostrapper with .net6

I’m trying to upgrade my project from wix v3 to wix v4. The wix project are as follow : A wix setup A wix bundle A wpf .net 6 class library managed bootstaper I followed this example…
Bob John
  • 63
  • 5
1
2 3 4 5