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
0
votes
0 answers

Wix Toolset v4 Shortcut & installation directory per login user

Using WiX Toolset v4 & Heatwave plugin from Visual Studio, I just try to add shortcut to current user Desktop but have a hard time doing it. My install directory is Id="ProgramFilesFolder". my goal is have shortcut at C:\Users\{User}\Desktop\ and…
0
votes
0 answers

WiX: Using SourceDir as the Target of a (Menu) Shortcut

I'm having a lot of trouble using SourceDir as the target of a shortcut in my WiX script. I'm now using Wix v4 built under dotnet. The relevant code is below...
Mikey
  • 89
  • 7
0
votes
1 answer

error WIX0005: The Fragment element contains an unexpected child element 'Merge'

Currently I am migrating my wix setup from wix v3.11 to wix v 4.0 i have used the command WIX Convert .wxs while using this above command i am getting an error in my msi file that error WIX0005: The Fragment element contains an…
0
votes
0 answers

unable to build the solution after migrating wix 3.11 to wix 4 by using heatwave visual studio extention

In my application everything was working in wix 3.11 ,but due to make it crossplatform we have migrated the some application to .net 6 after that setup also works fine , we can not give a check in setup whether client machine has .net 6 installed or…
0
votes
1 answer

How to migrate custom Wix extension from 3 to 4

I have a custom WiX extension (an extension for WiX itself). https://github.com/nbelyh/VisioPanelAddinVSTO/tree/master/VisioWixExtension This one is for building Office (Visio) related installations. It has a custom table, scheduled actions, exec…
Nikolay
  • 10,752
  • 2
  • 23
  • 51
0
votes
1 answer

Wix v3 to Wix v4 no Product-tag anymore?

The code below which I borrowed as an example from https://github.com/wixtoolset/issues/issues/5610 is for Wix v3. (don't know if the code works, it is about the file structure)
juFo
  • 17,849
  • 10
  • 105
  • 142
0
votes
0 answers

Create MSI using WiX 4.0.1 and Gitlab CI/CD pipeline

I am trying to figure out how to use WiX 4.0.1 with Gitlab CI/CD to create an MSI installer package. I can see in some examples I found for WiX 3 that binaries are needed in the pipeline, but I am not sure what if anything is required for WiX 4.0.1…
jforward5
  • 93
  • 1
  • 12
0
votes
1 answer

Add a folder of dependencies for an ExePackage in Wix

Something similar to this has been asked before, but I can't seem to find a solution that matches my needs. I'm working on streamlining the install process of a legacy WinForms application. It's for a piece of hardware that required three driver…
0
votes
0 answers

WiX v4 Bootstrapper: Unable to uninstall MsiPackage (Error 0x80070643)

I am currently utilizing a WiX v4 bootstrapper bundle to install and uninstall an MsiPackage. Although I've encountered no issues during the installation process, I've been unable to successfully execute the uninstallation. Strangely, rather than…
Lucas
  • 373
  • 1
  • 9
0
votes
1 answer

How to correctly harvest a published .NET 6 project?

I have a Windows service built in .NET 6 and want it installed with WiX. My project file looks like this: Jenkins Log Collector Installer
Haxton Fale
  • 564
  • 1
  • 4
  • 13
0
votes
1 answer

Wix Toolset 4, GUID Error Path, not Rooted in Standard Dir

I am trying to harvest files from the folder structure bellow using Wix Toolset 4, with the WixToolset.Heat nuget package, in Visual Studio 2022 in order for my files to go into C:\Testing.
0
votes
1 answer

How can I fix a Wix 4 bundle installation where dialogs are not displayed?

How can I fix a Wix 4 bundle installation where dialogs are not displayed? When installing directly from MSI (msiexec -i installer.msi ..) , installation succeeds. When installing from the Wix 4 bundle (installer.exe), installation starts, but…
0
votes
1 answer

Support for .NET 6 in WixNetfxExtension

I am building an installer in Wix 3.14. I want to check if the .NET 6 runtime is already installed, and if not, offer a way to install it by downloading it (I don't want to include the .NET 6 runtime in the installer). I found the following…
Helena
  • 1,041
  • 2
  • 12
  • 24
0
votes
1 answer

ERROR on Wix v4: "The Package element contains an unexpected child element 'LaunchCondition'."

Hope to find you all well! I'm creating a Wix v4 MSI Project to make an Windows Service Installer, and I can't fix this compiler error: WIX0005 The Package element contains an unexpected child element 'LaunchCondition'. My Package file…
Marcio Martins
  • 320
  • 4
  • 11
0
votes
0 answers

WIX Setup Project - Could not load file or assembly GMap.net

I have a windows form app that I have deployed using a WIX4 Setup project. The app installs fine, but I am getting the following error message when opening it (I added some exception handling to show the error message). I used a visual studio set…
andtodd
  • 240
  • 1
  • 13