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

Unable to launch custom .NET 6 BA with WixDotNetCoreBootstrapperApplicationHost

I'm converting a WIX3/.NET4.8 installer to WIX4/.NET6. At the moment, I'm trying to see from the bundle our custom BA, which was converted to .NET6. But I still get these errors on a fresh Win 11 VM, when launching the installer bundle: Error…
PBY
  • 3
  • 3
0
votes
1 answer

Wix4: Undefined preprocessor $(Configuration)

I have a wix3 project that creates an msi file that works fine from VS and from the msbuild cli. I decided to start playing with wix4 and check if I can grab some of its advantages soon in the future. After converting my wix3 project to the new wix4…
juagicre
  • 1,065
  • 30
  • 42
0
votes
1 answer

WIX v4 Unable to reference action state of a feature in the custom element property condition

When trying to add a custom action condition to the Install Execute Sequence of that action. The build will fail when the action state of a feature is referenced via the '&'.
Chris
  • 3
  • 1
0
votes
0 answers

How check UAC (admin rights) in WIX v4 Installer?

I didn't work with WIX Installer. Now I work with latest WIX v4. I want to check with which rights was started installer and after this dynamically select the installation path. Idea example: if is_admin() StandardDirectory…
0
votes
2 answers

WiX Toolset v4: Dynamically set Target/Ouput Name of installer

After upgrading a WiX installer project (.wixproj) file to v4, the MSBuild step in the project to set the TargetName of the installer file output is no longer working. I would like to dynamically append the assembly version of the application to be…
Euan Mair
  • 1
  • 1
0
votes
1 answer

Wix4 does not install Web application in IIS

I had an installer that was working fine in Wix 3.11, recently I tried Wix4. Everything is working fine excepted that the web application is longer installed in IIS. No application pool or website created. I guess there is something missing that is…
Francis B.
  • 7,018
  • 2
  • 32
  • 54
0
votes
1 answer

Error WIX0150: Undefined preprocessor variable when using ProjectReference against a multi-targeted project

I have two projects: ConsoleApp1 and Package1. Both are the "empty" project templates for a net7.0 and wix4 setup project respectively. ConsoleApp1 is modified to have net7.0. Adding a project reference from…
Mitch
  • 21,223
  • 6
  • 63
  • 86
0
votes
1 answer

error WIX0001: System.InvalidOperationException: Nullable object must have a value at MSI Build with Wix v4

If i try to build an MSI with Wix v4 RC1 i got: PS C:\temp> wix build .\Notepad.wxs -o .\Notepad.msi wix.exe : error WIX0001: System.InvalidOperationException: Nullable object must have a value. at System.Nullable1.get_Value() at…
0
votes
1 answer

WIX v4 Cannot make a component condition based on RegistrySearch Property

`Hi, I have three components(files). One should be installed whatsoever, and for the other two, only one should be installed based on a registry key value. Unfortunately, I am not making any progress with it (dosens of attempts due to real…
0
votes
1 answer

How to Utilize Burn Policy `EngineWorkingDirectory` in Wix4

I'm creating a WiXv4-Preview1 install bundle and running into a security policy issue where the installer executable can't be launched from the %TEMP% directory. I see in the release notes that I am supposed to be able to set a registry value at…
lumberjack4
  • 2,772
  • 4
  • 30
  • 50
0
votes
1 answer

Values not being passed to custom action

Hello I have a dialog with two inputs:
szpic
  • 4,346
  • 15
  • 54
  • 85
0
votes
3 answers

Wix v4: Run custom action only on install

In wix 3 you could specify a condition inside the custom element. In wix 4 the same element does not seem to accept inner text anymore. If you try to set a condition the compiler throws a The Custom element contains illegal inner text: 'NOT…
gthvmt
  • 3
  • 1
  • 1
0
votes
1 answer

Migration from WiX 3 to Wix 4 (4.0.0.5918) now generating an error in Candle.exe (CNDL0200)

I'm a very lightweight user of WiX and could readily stay on V3 was it not for the fact that I believe it requires .net 3.5 and that seems to not to want to install on my new Win 10 development machine. So I'm looking at V4 which does not have that…
Paul
  • 597
  • 3
  • 11
0
votes
1 answer

How to integrate iis in wix v4?

I want to make an installer, but IISExtension isn't available for wix4 (IIS v10). Where could I find that iis tag?
Alex
  • 1,013
  • 1
  • 13
  • 27
-2
votes
1 answer

WIX4 Bundle does not show up in "Programs and Features" after installation

I upgraded a WIX 3.11 bundle to WIX 4, now (after some other troubles) everything is working again. The only problem left is, that the bundle show up in "Programs and Features" during installation, but as soon, as the "Done" dialog appears, it…
1 2 3 4
5