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
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
2
answers
112
views
VSTO Outlook Add-in: SDK-style Project Works with Direct Install but Fails with WiX MSI
Problem Summary
I have a critical issue with my SDK-Style generated VSTO Outlook add-in when deployed via WiX MSI installer. The same VSTO files work perfectly when installed directly (double-click ....
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 ...
0
votes
0
answers
82
views
CustomActionData value is correct in runtime log, but null when evaluated in ExeCommand
I am trying to pass INSTALLDIR to a deferred CustomAction with ExeCommand and for the purpose of making the reproducible simple, I am just calling echo [CustomActionData].
I have the following code:
...
0
votes
2
answers
44
views
Wix Installer - Why is it printing invalid/non-printing characters in my License.rtf?
I have a Wix installer for my project OpenRGB, and ever since we created it an annoying issue has presented itself in the License screen. The source file License.rtf displays normally in WordPad, but ...
0
votes
1
answer
313
views
Wix heat replacement with Advanced Harvesting
After upgrading from WixToolset 4.0.1 to 6.0.1 we try to replace the old heat configuration in the .wixproj files with the recommended advanced harvesting. here is an example of the old config:
<!...
1
vote
0
answers
48
views
How to remove the “Print” button from the WiX License Agreement dialog?
I'm building a custom installer using WiX Toolset v4, and I want to remove the Print button from the default License Agreement dialog (LicenseAgreementDlg).
My installer uses the WixUI_Minimal built-...
0
votes
0
answers
52
views
Exe is not working while executing from the Wix installer custom action
I have an exe which I am executing using a custom action in wix installer.
During the installation when the installer executes this exe, I am getting an error logged in event viewer as follows.
...
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 ...
0
votes
1
answer
54
views
WiX 6 - How to remove wxs files from a project
How can I prevent e.g. wxs files that are located below a project at file level from being automatically included in the project, i.e. from being displayed in the Solution Explorer? It is then also ...
1
vote
1
answer
67
views
Back Up Files During a WiX MSI Installation
I am using the WixToolset 6.0 with Visual Studio 2022. I am trying to create an installer that installs the following files:
<ComponentGroup Id="ApplicationFiles" Directory="...
0
votes
1
answer
70
views
light.exe : error LGHT0306 : An error (E_FAIL) was returned while finalizing a CAB file
Running two Windows 11 Pro vms on Fedora Linux. One vm runs light.exe 3.11.2 just fine and creates the .msi. The other vm has this error when trying to create the .msi using the exact same codebase, ...
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 ...
0
votes
0
answers
42
views
Wix installer breaks icon if shortcut has the same name as the executable
I'm using Wix Toolset to create a Windows installer. When I create a shortcut to the main executable and give the shortcut the exact same name as the executable (e.g., both are named MyApp.exe), the ...
1
vote
1
answer
775
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
0
answers
22
views
The setup(Bootstrapper exe) file is failed on launching [duplicate]
Earlier, I had created an installer using the Wix toolset, but at that time, the setup(bootstrapper exe) file was not code signed. Recently, I signed the setup file, but since then, the setup file has ...
0
votes
1
answer
71
views
How can I add a README note (from a .txt file) to a Wix installer before the Finish button?
I'm creating a Wix installer and I want to show a README note (stored in a .txt file) before the user clicks the Finish button.
I tried using the WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT property to allow ...
0
votes
0
answers
17
views
MSI installer dialog says (Machine - MSI) and and the app name also contains '(Machine)' in the Window App directory. Why is that there?
MSI installer dialog says (Machine - MSI) in welcome window and and the app name also contains '(Machine)' in the Window App directory. Why is that there? I dont want that suffix in my app name so ...
0
votes
1
answer
56
views
how to read the MSI installer properties in C# custom action
I want to use the MSI installer properties like REMOVE, Installed, WIX_UPGRADE_DETECTED in my c# custom action.
What i want to do is currently i have the following custom action
<Custom Action=&...
0
votes
1
answer
36
views
Wix StartupFolder Shortcut shows as "Icon.ico" in Task Manager
I install a Shortcut with my Wix Installer like this:
<Shortcut Name="Tray Application"
Directory="StartupFolder"
...
0
votes
0
answers
32
views
Is there a way to have a WiX installation package mimic the behavior of Visual Studio's deployment?
I've built out a winforms application in Visual Studio that utilizes the WebView2 control. When I deploy the application to one of my users via publishing directly to their computer, the application ...
0
votes
1
answer
86
views
MSI not getting generated
I am getting this error while creating msi. I checked it everywhere but I am not able to find the solution.
The error is:
wix.exe : error WIX0001: WixToolset.Core.Native.WixNativeException: wixnative....