10,456 questions
21
votes
2
answers
10k
views
Experiences with Wix# WixSharp compared to WiX
We are using Inno Setup and are planning to replace this with WiX. But when evaluating and playing around with WiX, I felt the declarative manner has some limitations compared to programmatic setup ...
20
votes
2
answers
10k
views
Wix Installer - how can I show the value of [Manufacturer] in the install path?
I'm trying to create an installer with a UI, using WiX.
My INSTALLFOLDER is set up using this:
<Directory Id="TARGETDIR"
Name="SourceDir">
<Directory Id="ProgramFiles64Folder"&...
20
votes
5
answers
15k
views
C# WiX CustomAction Session.Log. Where can I find the log?
I am new to the WiX installer.
I am using Session.Log to log some useful data for the process.
session.Log("Begin register the Vdds interface.");
But I am not sure where can find the log. Is there a ...
20
votes
7
answers
43k
views
The WiX Toolset v3.11 (or newer) build tools must be installed to build this project
Just installed Visual Studio 2017 and wix extension and when trying to build a solution which uses Wix I get the following error:
Error The WiX Toolset v3.11 (or newer) build tools must be ...
20
votes
5
answers
30k
views
WIX: Giving Permissions to a folder
I've read all related topics and haven't found a full answer to my problem.
I would like to give full permissions to SYSTEM and Read & Execute permissions to Users group to a folder under Program ...
20
votes
2
answers
46k
views
How to use conditions in features in WiX?
I am trying to make simple Windows intaller, and I don't know how to deal with this.
I have two features - feature1 and feature2. I want feature2 to be installed only if the user selected feature1 to ...
20
votes
1
answer
20k
views
WiX-- always overwrite the previous version
I have an installer of an application that needs to install over any existing version, regardless of version number.
Instead, I've got an installer that constantly says that I need to go to add/...
20
votes
6
answers
13k
views
Including all dependencies
I'm just starting out with WiX as I need to be able to automate building an MSI on our CI server. Is there anyway to automatically include all the dependencies of a project?
19
votes
6
answers
41k
views
SQL Updates/Migrations - How to create windows installer? [closed]
Basically we are releasing our changes/fixes in the form of manual installer (Windows PowerShell script). It will install specified .dll and SQL script files at particular locations by reading config ...
19
votes
6
answers
48k
views
How to create .msi installer with WiX
Can someone help me understand how WiX works? I have a directory structure which I would like to create an installer for. I have generated the for the directory structure with heat.exe and when I ...
19
votes
1
answer
14k
views
WiX install error 2762 while invoking a CustomAction from dialog
I am a beginner, started learning WiX. I want to capture and validate and register user details during the installation process. I have created a dialog to capture user registration and invoking a ...
19
votes
3
answers
13k
views
How can I set recovery-options of a service with WiX?
I have following .wxs-file:
<?xml version="1.0" encoding="UTF-8"?>
<?define ProductVersion="x.x.x.x" ?>
<?define UpgradeCode="{**MYGUID**}" ?>
<?define Manufacturer="My Company" ?...
19
votes
2
answers
17k
views
heat generated files are not able to find SourceDir directory
I am running heat to generate a wxs file. The code are as follows.
I want to add all the files from dir.prompts to the wxs file in the installer. And I added this to be a part of the automated build ...
19
votes
2
answers
13k
views
Component testcomp installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file
I'd like to copy a file under a Doucments location in WiX. But it gives the warning:
Component testcomp installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.
My ...
19
votes
4
answers
12k
views
WiX: Prevent 32-bit installer from running on 64-bit Windows
Due to user confusion, our app requires separate installers for 32-bit and 64-bit versions of Windows. While the 32-bit installer runs fine on win64, it has the potential to create support headaches ...
19
votes
2
answers
21k
views
How can I perform a custom action in WiX that only executes on install or uninstall?
I have two custom actions, one of which I'd like to execute when my product is installed and the other when it is uninstalled.
My custom action is currently called from a merge module after the "...
19
votes
2
answers
16k
views
How to add an MSI file to my installer
I have WiX 3.6 (Oct 2011) installer for my application. My application requires another service to be installed in the system. I added an MSI file to my installer this way:
<Fragment>
<...
19
votes
3
answers
9k
views
Installer capabilities, WIX vs InstallShield Express
Programmers that actually promote their products to production need an installer. (pre-emptive "programming related" justificaton.)
For deploying a new suite of internal corporate apps and services, ...
19
votes
6
answers
5k
views
What method do you use to deploy ASP.Net applications to the wild?
Currently we deploy compiled ASP.Net applications by publishing the web site locally and emailing a zip file to the system administrator with a (usually) lengthy set of instructions for deployment. ...
18
votes
2
answers
11k
views
Can I set a custom license using WiX?
The default license for an MSI generated by WiX is the common public license. How do I change this to GPLv2?
18
votes
3
answers
12k
views
How to kill a process from WiX
I am developing an installer using Wix and need to kill a process (not application) silently during installation so the user doesn't get a pop up asking to kill the process or wait and restart. I ...
18
votes
2
answers
12k
views
WiX bundle for installing .NET
I'm trying to create a bundle for installing .NET Framework 4.0 if it needs to be installed. I realize there are similar questions, but all of the answers are just snippets and don't describe what ...
18
votes
1
answer
9k
views
WiX: How to prevent a registry value from being removed on uninstall?
I want to assert that a certain registry value exists after installation, so I added the following component:
<Component Id="RegistryEntryContextMenuOdt" Guid="4BA5BA24-4F65-4BDF-99EB-CB4B947F31A9"...
18
votes
1
answer
11k
views
Using bootstrapper with MSI ui
I have MSI file that is ready to install. It contains a customized UI that also collects data from user. As part of installation, i would like to install following things if missing
.Net framework 4.0
...
18
votes
2
answers
15k
views
Install .NET Framework 4.7.2 (if needed) with WIX installer
Help!
I've inherited a .NET project with a WIX installer project. They make the implicit assumption that .NET Framework 4.5 is installed on each machine which for the most part is true. Now we are ...