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
1
vote
1 answer

How to create SDK based WIX custom action in WIX v4 ? Specifically how to get the ..CA.dll to map in the .wxs file?

I have an existing custom action project in .Net framework 4.8 and wix setup project v3. The goal is that I need to convert the framework project to SDK. I found out that WIX v3 doesn't support SDK projects and needs to move to WIX V4. I tried below…
1
vote
1 answer

ARM64 support in WiX Toolset for building for Surface Pro X?

With Microsoft's release of the Surface Pro X, I am looking to create an MSI setup installer for ARM systems. I have been looking around and it appears that WiX Toolset v3 does not have support for ARM setup projects. However, it looks like WiX v4…
Code Doggo
  • 2,146
  • 6
  • 33
  • 58
1
vote
1 answer

invalid character. WIX but where?

I'm trying to make a wix installer. for a web application. the following is my wsx file
Helbo
  • 473
  • 10
  • 32
1
vote
2 answers

Wix Toolset RegistrySearch is not saving a registry key

I have an application that is saving multiple registry keys on install to ensure that certain choices a user makes are persisted in the application. Most of these keys work correctly, but some do not record an entry. Am I doing something wrong? or…
1
vote
1 answer

How can I use Wix Properties

I'm working with Wix v4 to create a msi package. I had the problem, that I must set a Property in a CustomAction (C#) at the beginning of the installation. This works fine, but now I'm a little bit confused. The property can't be used in all my…
RCP161
  • 199
  • 1
  • 13
1
vote
1 answer

Why is my bind-time variable failing after migrating from WiX v3 to v4?

Given following bundle:
user57508
0
votes
1 answer

WIX installer does not launch after upgrading Wix v3 to v4

I have a .Net solution which have a WPF Project, WIX Package project and another WIX Bundle project. It was previously in Wix v3 and setup was working fine. Now I have upgraded WIX v3 to v4 using WIX auto conversion. After the conversion, if I try…
Riz
  • 6,746
  • 16
  • 67
  • 89
0
votes
2 answers

Wix4: Getting started impossible and examples wrong

For some projects I'm working on, I'd like to move my deployments from ps1 scripts to an msi (built at the end of a pipeline). I decided then to follow the "Wix way" and also take the opportunity to learn it. I went to the official website, and…
ff8mania
  • 1,553
  • 3
  • 19
  • 28
0
votes
0 answers

Using WiX Toolset Version 4, in Visual Studio, how can I build the project from the command line instead

I have a project in Visual Studio, and I can right click and Clean Build and Rebuild. How can I do these operations from the command line i.e. $ wix .... , or inspect what Visual Studio is doing in the background, and see what commands it's…
Wayne
  • 3,359
  • 3
  • 30
  • 50
0
votes
0 answers

WIX 4 HarvestDirectory creates build errors

I am currently trying to build MSI files to install our Autodesk Revit add-ins. For this I use Wix 4 (4.0.1). Now it is so that I get 125 errors during the first build process with "dotnet build", which are the same in the end, for example: error…
CaptTaifun
  • 321
  • 5
  • 15
0
votes
0 answers

WiX 4 remove "Do not close applications" option from FilesInUse

I'm using WiX 4.0.1. The "Files In Use" dialog displays an option that says "Do not close applications. A reboot will be required." I would like to force the user to either exit the installation or close the file in use. I looked at…
TrinaE
  • 33
  • 6
0
votes
0 answers

How to build WixV3 upgraded to WixV4 with custom boostrapper?

I am in the process of trying to learn custom UI's in Wix Burn but was finding most articles are written for WixV3. As a fallback I decided I should try opening some WixV3 sample projects and update them to WixV4 to see if they run, but…
S Yuki
  • 85
  • 5
0
votes
1 answer

How to fix wix v4 build not finding extension

I'm using the util extension in my Wix project to get the util:ServiceConfig element. I get the following build error: SampleFirst.wxs(61): error WIX0200: The ServiceInstall element contains an unhandled extension element 'ServiceConfig'. Please…
rimono
  • 440
  • 4
  • 9
0
votes
0 answers

Theme file (thmutil) did not reconize my WixLocalization string

If this issue is a bug: Which version of WiX are you building with? 4.0.1+6e6eb478 Which version of Visual Studio are you building with (if any)? 2022 Which version of the WiX Toolset Visual Studio Extension are you building with (if any)? 4 Which…
0
votes
1 answer

Wix Bundle Managed Bootstrapper Application - Error 0x80131524: Failed to create the bootstrapper application

I want to create a custom installer with Managed Bootstrapper Application in WiX toolset v4. The tutorial what I used to setup a simple example installer was this:…