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="...
2
votes
5
answers
2k
views
Wix Bundle condition to for Windows 10 Anniversary update or later
I'm trying to add .Net 4.7 as part of the installation process. However, for Windows 10, .Net 4.7 only supports Anniversary update or later.
Unfortunately, in Burn, there is no built-in property 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 ...
0
votes
1
answer
55
views
Wix not installing new exe package after old package is removed
I am trying to uninstall SqlServer 2017 and install SqlServer 2022. It is uninstalling SqlServer 2017 but never installing the 2022.
I have a class named RemoveSql2017.cs that's as follows:
public ...
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 ...
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 ....
8
votes
1
answer
2k
views
How to change the background gray color of radio button and checkbox in wix?
I have a radio button group and checkbox overlaying a white background bitmap. The
radio buttons and checkbox appear with what look like the default background control
color (gray). Is there a way to ...
4
votes
2
answers
3k
views
Writing install location to registry from installer
I am using WiX 3.6 to create an installer.
One of the needs is to write the location of the install location to the registry in either HKCU or HKLM depending on the ALLUSERS property.
Now based on ...
4
votes
1
answer
7k
views
WiX- How to allow user to change install location on bootstrapper
I need to allow user to change install location. I have tried solution given in this question
I need to add my wix msi file into my bootstrapper project.
below is the my msi project code,
<...
0
votes
1
answer
70
views
How can I copy an entire directory using the new WiX 5 Files syntax?
In WiX Version 5 there is support for a new wave of file harvesting that removes the need for additional tools to add whole folders.
I can't get this to work at all, and the documentation seems to be ...
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 ...
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:
...
32
votes
4
answers
43k
views
Include all Files in Bin folder in Wix installer
I'm new in Wix, I succefully create an MSI installer for my project, but my Bin folder have a lot of DLL's files with EXE main file, I want to include all these files with the installer
I found THIS ...
10
votes
2
answers
2k
views
Visual Studio build not using Active Solution Configuration with WiX Project
I have a VS2012 Solution with 3 build configurations:
Debug
Release
"Mine"
In the Configuration Manager, I have some .NET projects with options based on the Mine configuration. All ok.
I have a ...
5
votes
1
answer
382
views
Hide WIXUI_EXITDIALOGOPTIONALCHECKBOX with condition
My setup consists of 6 features.
I have feature named "Server".
If Server feature is not installed WIXUI_EXITDIALOGOPTIONALCHECKBOX should be disabled or hidden.
<Publish Dialog="ExitDialog" ...
0
votes
0
answers
38
views
WiX skip uninstall registry set to 1 and during upgrade uninstall all unnecessary stuff
I have a problem during my WiX upgrade - after normal installation of my program for example in version 1.0 I am installing all necessary stuff like RabbitMQ, Erlang and so on but if I want to upgrade ...
2
votes
2
answers
2k
views
WiX Toolset bundle installer - Hiding a package in Programs And Features
I am creating a bundle installer using WiX Toolset, and I have chained several MSIs and an .exe installer in it. Is it possible to hide the .exe package from Programs and Features? I would like to ...
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:
<!...
15
votes
8
answers
8k
views
Error LGHT0301: Failed to open the database
I'm using WiX 3.5. Recently, the following WiX error started occurring frequently on the build server:
light.exe (,): error LGHT0301: Failed to open the database. During validation, this most ...
5
votes
4
answers
4k
views
WiX Permissions, how do I express 'Modify' in terms of DACL flags
I'm attempting to apply custom rights to a folder as part of a WiX 3.0.4318.0 installer.
In terms of the Security properties UI in explorer, I want to add Modify to the rights for BUILTIN\Users. ...
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
64
views
Run PowerShell script as admin in WiX Toolset 6 using namespaces Product.wxs to set ManagedRuntimeVersion of my created AppPool to 'No Managed Code'
UPDATE:
Don't use Powershell and use a custom action with a C# dll (.net4.7.2 not core8)
Nothing else worked
..I’ve created a Product.wxs using WiX Toolset 6 that deploys all necessary files, ...
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="...