10,456 questions
0
votes
0
answers
20
views
WiX MSI installer not stopping and removing .NET 8 Windows service
Here is my .wxs file contents:
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package Name="...
0
votes
1
answer
82
views
Is it safe to store a product serial number under the Uninstall registry key where WiX stores bundle metadata?
I’m seeking clarification about storing custom data—specifically a product serial number—under the Windows Uninstall registry key created by WiX Toolset.
When we install a WiX-based bundle or MSI, it ...
1
vote
1
answer
46
views
WIX v4/Test Complete. Installer runs 2 parallel processes
I have problem with Test Complete software, and WiX software.
When we build installer(MSI file) from pipeline (or locally) after running installer we see two different processes (on screenshot).
When ...
0
votes
0
answers
26
views
Wix quite custom action not working when running exe with arguments
I'm new to wix msi and trying to write the custom action to run the exe(which writes a registry entry) with the arguments. With all this changes would able to build the MSI but, getting error while ...
0
votes
0
answers
30
views
How to configure the Custom Action with WIX toolset to execute the action only on the first install
I'm trying to configure the custom action to be executed only on first install and not to be executed on upgrade during installing the new product.
My current Custom Action condition looks like that:
(...
0
votes
1
answer
42
views
'RemoveRegistryValues' after upgrade to Wix 6.0
After upgrading our Wix installer project from Wix 3.14 to 6.0, the installation does not upgrade properly from a previous version.
I did a compare of the install log files, between an upgrade from ...
0
votes
1
answer
54
views
Wix installer Custom dialog is not refreshing after Custom Action
I'm new to WIX MSI Installer. And creating a custom dialog for password and validation of password with that I have added a custom action for password validation.
The issue I'm facing is, when I ...
1
vote
1
answer
475
views
Can the Heatwave Community Edition extension for Visual Studio be used to generate installers, with no costs at all, in an enterprise environment?
Looking into Wix v4 and v5, coming from v3, their official tutorials in FireGiant's site use HeatWave Community Edition. I need to create an installer of a software from the company I work in.
I don't ...
1
vote
1
answer
776
views
WiX 6 - package all files and dependences from multiple projects
Let's assume I have two executable projects, Foo and Bar, both of which reference a common library, let's call it Shared. I want to add all the output files from those projects into the MSI installer ...
0
votes
1
answer
76
views
msi file is not placing the dlls to the installation path
I have an .msi which installs my application which consists of multiple .NET projects.
This .msi is created using nant build and wix installer.
Now I have added a new project to the solution whose ...
3
votes
1
answer
415
views
Attempting to Create a HeatWave (WiX) MSI Project Causes VS Error
I'm new to HeatWave / WiX and wanted to get started with it, but am running into a strange issue that I haven't been able to find a resolution to.
In short, when I select Add > New Project from the ...
264
votes
31
answers
228k
views
WiX tricks and tips
We've been using WiX for a while now, and despite the usual gripes about ease of use, it's going reasonably well. What I'm looking for is useful advice regarding:
Setting up a WiX project (layout, ...
0
votes
0
answers
36
views
In Wix installer how to add on the desktop a shortcut to a file [duplicate]
I am testing a very simple structure
which is declared as below in the product section
...
<Feature Id="ProductFeature" Title="MyProgram" Level="1">
&...
0
votes
1
answer
101
views
Reference NuGet content files from WiX Toolset (SDK style project)
I'm using WiX 5 to build an MSI. My setup needs to include files that are obtained through a NuGet package. The files in the NuGet package are set as content files. When referencing the NuGet from my ...
113
votes
14
answers
373k
views
xml.LoadData - Data at the root level is invalid. Line 1, position 1
I'm trying to parse some XML inside a WiX installer. The XML would be an object of all my errors returned from a web server. I'm getting the error in the question title with this code:
XmlDocument xml ...
0
votes
1
answer
92
views
Launch condition in Wix for all the 3 platforms : x64, x86 and ARM64
<?if $(var.Platform) = x64 ?>
<Launch Condition="VersionNT64 AND (NOT NativeMachine = 43620)" Message="Please run 32-bit installer." />
<?elseif $(var.Platform) = ...
2
votes
2
answers
1k
views
Wix v4 Installer: Mix built in dialogs from WixUI_InstallDir with custom dialogs
I am trying to create a wix v4 installer for a windows service which is based on .net 8.
According to the official docu it should be possible to accomplish this.
What I want to do is to get rid of the ...
0
votes
0
answers
65
views
Prevent Windows Service from being removed automatically during MSI uninstall
I’m using an MSI installer (built with the WiX ServiceInstall element) to deploy a Windows Service. The service installs correctly, and I start it manually in the Services.
When uninstalling the MSI ...
0
votes
1
answer
47
views
Why does property from directory ID not get set to expected value in WiX source?
<Fragment>
<StandardDirectory Id="ProgramFilesFolder">
<Directory Id="INSTALLDIR" Name="FurooAccountantSync" />
</...
2
votes
1
answer
255
views
Can't create MSI using Wix 6.0.0
I have the Test.wxs code:
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
xmlns:ui="https://wixtoolset.org/schemas/v4/wxs/ui"
<?define ProductVersion = "...
1
vote
4
answers
516
views
WinAPI / WIX - How to detect if the MSI installer is running on ARM64 or x86?
I'm updating an existing installer and want to install specific ARM64 binaries when the OS is running on ARM64.
I'm using WIX 3.11 (a bit old, I know) to create the installer. The custom actions are ...
3
votes
1
answer
321
views
WiX 5: remove license dialog from WixUI_InstallDir.wxs
I need to make an installer showing a folder selection dialog. This is easy using a standard WixUI_InstallDir sequence, but it also indicates a license dialog I don't need.
Removing this dialog should ...
0
votes
0
answers
31
views
migration of HF/SP setups from Wix tool set 3 to Wix tool set 5 where RTM is using WIX 3
The base version (RTM) and subsequent Hotfix/Service Pack (HF/SP) installers were originally created using WiX Toolset version 3. I am now attempting to migrate the HF/SP setups to WiX Toolset version ...
1
vote
3
answers
589
views
Wix v5 UI - Adjusting minimal template
Armed with only the Wix docs, I'm struggling immensely to put together a basic UI for my installer, to the point where I'm evidently failing to grasp some foundational ideas here.
Reading https://...
2
votes
2
answers
146
views
Trying to extract msi file metadata in powershell
Given:
PowerShell 5.1
Can someone help me extract metadata from an msi file?
I've tried the following, but no comments property.
$filePath = "C:\Users\user1\source\repos\PRACTICE\WpfApp1\...