216 questions
0
votes
1
answer
37
views
Wixproj property value passed to Candle is not replaced in the wxs file
Why is the property value passed from the wixproj not end up replacing the variable defined in the wxs file. I verified in the generated wixobj file, it is still $(...) and not replaced by the actual ...
0
votes
1
answer
81
views
Wix Installer failing with Hash mismatch error
My installer failed with below log errors.
e000: Error 0x80091007: Hash mismatch for path: C:\ProgramData\Package Cache{0120503F-72AF-4880-B381-B9F1418EB786}v1.0.0.0\IISInstallation, expected: ...
0
votes
0
answers
53
views
Custom Action prevents .msi upgrade
I created an msi for an application that relies on a deferred custom action to do a few necessary things.
<CustomAction Id="MyCustomAction" Directory="INSTALLFOLDER" Execute=&...
1
vote
0
answers
535
views
Update to Wix 3.14 from 3.11 get error MSB4181: The "MSBuild" task returned false but did not log an error
After upgrade from Wix Toolset v3.11.2 to v3.14 i only get the following error.
C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\Wix.targets(1027,5): error MSB4181: The "MSBuild" task ...
0
votes
2
answers
147
views
What's the best way to start/stop a windows service before install/uninstall?
I currently have a bootstrapper wix project that contains two msi projects. I'm trying to figure out the best way to do the following on installation/uninstallation/modify/repair.
Prompt user that ...
1
vote
1
answer
870
views
How does WiX decide the installation scope (perUser, perMachine)?
I have two products, ProdU and ProdM. ProdU gets installed "per user" (=registered under Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Installer\Products\), ProdM gets installed "per ...
0
votes
1
answer
76
views
The Wix bundle size was doubled after signing
I'm trying to sign a wix3 bundle, following are my steps, the signed bundle.exe work perfectly, but size was doubled after whole process, any suggestion?
extract burn engine from bundle. the bundle....
0
votes
0
answers
190
views
Wix Custom Action always creates 32 bit powershell process. How to make it to create a 64 bit process?
I'm executing a powershell script using WixQuietExec. As a part of the ps1 file, I'm trying to set a registry key under the HKLM path.
Set-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\...
1
vote
1
answer
92
views
Can WiX Bootstrapper detect and uninstall previously installed MSI?
I'm creating a simple executable bundle installer with WiX Bootstrapper (using WixStandardBootstrapperApplication) which installs only one MSI and when I run it, install and uninstall work just fine.
...
0
votes
1
answer
372
views
Wix Toolset v3 - Add custom dialog to WixUI_Minimal with checkbox that conditionally runs an EXE file after installation
I am trying to add a custom dialog with a checkbox that conditionally will run an EXE file after the installation is finished with WiX Toolset v3.11
I have tried the following (and other things) but ...
0
votes
2
answers
318
views
Use multiple .wxs files to create .msi in a GitHub workflow (WiX Toolset)
I want to create an .msi file using the WiX Toolset within a GitHub Action. Since I generate a .wxs file (Components.wxs) using the "heat" command, I have two files (Components.wxs and ...
1
vote
2
answers
918
views
Execute custom action only once when install and when upgrading
I have a custom action which I need to execute only once during install or upgrading.
What happens is that the custom action is being executed twice if there is an older version of the same product ...
1
vote
1
answer
849
views
error WIX0005: The Fragment element contains an unexpected child element 'Merge'
Currently I am migrating my wix setup from wix v3.11 to wix v 4.0 i have used the command WIX Convert <setup.myapp>.wxs
while using this above command i am getting an error in my msi file that
...
0
votes
1
answer
164
views
how to fetch the .net runtime version from a client machine using wix bootstarper?
my requirement is to check the latest .net runtime version in client machine so that i can compare weather the particular version is belong to .net 6 runtimes or not ,i have tried some few steps to ...
1
vote
0
answers
118
views
Install fails on Windows 11 with OneDrive
I've had at least two users complain about our myapp.msi quickly failing, rolling back and then exiting without any messages. This just got reported again by an internal tester running Windows 11 (I ...
0
votes
1
answer
143
views
wix bootstrapper not allowing feature change
I have a simple wix burn bootstrapper that installs an msi. The msi has two features, one of which can be enabled/disabled.
If I set Visible="no" and DisplayInternalUI="yes" in ...
1
vote
1
answer
67
views
Implement dependency of ExePackage on other MSI so uninstall completes if required MSI was already removed
Background:
I have a large project which consists of a server component, client component and microservice hosting component. Each is packed in its own MSI.
The server component and the microservice ...
1
vote
1
answer
301
views
Using Guid=* with Component when creating multiple shortcuts in start menu with Wix Toolset
I am trying to create multiple shortcuts that are installed with my application.
For an unknown reason, one is missing from the Start Menu and I can’t figure out why.
We create a new version in format ...
1
vote
1
answer
94
views
Wix not able to find the .NET 6 exe
I have a console application that has <TargetFramework>net6.0</TargetFramework>. I am trying to use the exe of this console application in the wix project for creating the setup as shown ...
0
votes
1
answer
390
views
MVC Web Application Deployment - Create an MSI using Wix
our team is at delivery state for an MVC Web Application - ASP.NET with Wix toolset V3.11 and Wix Extension (Votive) for VS2019.
The requirement is that the clients will only need to install the ...
0
votes
1
answer
249
views
How to remove the Options button when having a RTF License inside a Wix installer?
I have made a bundled installer with Wix.
This is how it looks like:
This is the code in my wix file that makes this possible:
<BootstrapperApplicationRef Id="...
0
votes
1
answer
57
views
What is, for Wix, the difference between pressing the uninstall button of an installer and uninstalling via Apps&Features?
I have an application with a Wix installer. When the user uninstalls without the installer executable but just uses the Apps&Features inside windows, how does that differ? Because it seems that ...
1
vote
1
answer
213
views
How do I set up my Wix installer to rollback all installed packages after mid-install restart
I have a WiX 3.11-based installer with a managed bootstrapper application. One of the packages in the installer chain could trigger a restart. In my MBA, I handle the resume-from-restart behavior in ...
0
votes
1
answer
2k
views
Wixtoolset version says I need a newer version installed (3.11) but it already is installed
I have a C# project that uses the wixtoolset to create the msi installer.
When I try to run dotnet build -c Release I get the follwing error:
Runtime.Installer.wixproj(43,5): error : The WiX Toolset ...
2
votes
1
answer
422
views
WIX Burn upgrade removes ExePackages after installing new version
How can I prevent Wix burn from removing ExePackages during an upgrade install?
Background: I'm creating an installer using Wix 3.11 with a custom bootstrapper application, and multiple ExePackages ...