Questions tagged [wixsharp]

For C# developers needing to create a Windows Installer MSI to deploy their app, Wix# is perhaps the best replacement for the "Packaging and Deployment" project type that Microsoft removed from Visual Studio starting with VS2012. Wix is a C# front end for the WiX toolset that allows building a complete Windows Installer MSI in the C# language.

For C# developers needing to create a Windows Installer MSI to deploy their app, Wix# is perhaps the best replacement for the "Packaging and Deployment" project type that Microsoft removed from Visual Studio starting with VS2012. Wix is a C# front end for the WiX toolset that allows building a complete Windows Installer MSI in the C# language. Wix# works by translating C# code to WiX XML (.wxs file), that is then processed by the WiX toolset, to produce a resulting MSI. Wix# is generally simpler to start creating installers with than using WiX XML directly. In the process of learning and using Wix# you will also want to learn more about the WiX toolset, to fully understand what Wix# is doing.

For WiX features that are not directly implemented in Wix#, it is possible to include them in your installs by using a feature known as XML injection, which injects the WiX XML for the feature into the .wxs file that Wix# produces, which is then processed by the WiX toolset compilers.

Wix# also removes the necessity to develop MSI Custom Actions in a completely different language (e.g. C++) from the main installer. Using Wix#, the MSI installer's components plus also any Custom Action behaviors can both be specified in the same language (C#), and in the same C# source file. This simplifies the creation of MSI installers and allows developers with a strong C# skill set to use their preferred skill set in creating MSI installers.

100 questions
0
votes
0 answers

WixSharp installer Registry Creation

There are several posts regarding the creation of registry keys. However, i am trying to create the registry entries during radiobutton clicks. I get the error message "Requested registry access is not allowed" when i try to access registry. I tried…
0
votes
1 answer

Wixsharp MSI. How to uninstall files that are not shared between components and leave those that are shared in dir?

I have 10 services and they share a few of the same .dll-s. When I install those services, dll-s are installed in the same folder and the ones that are shared are not duplicated (which is what i want), but when i uninstall of of the services. lets…
Jure Beton
  • 137
  • 1
  • 9
0
votes
0 answers

Wix:Is it possible to remove the bundle entry from the "Add/Remove programs" in control panel?

If the installer is built by "Microsoft Visual Studio Installer Projects", no matter I run the Setup.exe or Setup.msi to install my program, the "Add/Remove programs" in control panel will add only one item to manage my…
Iori Kyo
  • 85
  • 8
0
votes
1 answer

Installing FTDI drivers programmatically in C#

So I have a WixSharp installer which is able to run .exe driver installers. The problem is that the FTDI driver is a folder named WIN10_30bit+64bit which contains following files and folders: FTDI files In device manager, if there is a connected…
0
votes
1 answer

How to add image background to custom MSI dialog?

I have a custom MSI dialog in my wxs file: ... How can I set its background to some image file (bmp/png/...)?
Tar
  • 8,529
  • 9
  • 56
  • 127
0
votes
1 answer

How to avoid addition of *.g.wxs file in my Wix Sharp setup project?

I have created a wix sharp setup project and it works well. msi is created as desired. Unfortunately, wix (sharp?) creates a folder called 'wix' in the project and places an autogenerated file in it. I really don't like that. Is there a way to avoid…
Anders Juul
  • 2,407
  • 3
  • 34
  • 56
0
votes
0 answers

Remove bundle but keep its msi as installed

I want to create an installer like a Resharper or VisualStudio with few msi inside the bundle and with three buttons for each msi: install/update skip remove i'm using own UI and own BootstrapperApplication. i have two same bundles but different…
maratoss
  • 21
  • 3
0
votes
1 answer

Load custom assembly in dialog

I'm using a custom dialog in a wixsharp setup console application project. I've referenced 2 assemblies that I want to use in the custom dialog. Whenever the dialog is loaded it tries to load the assemblies but fails. An error that the files are not…
Albert Hoekstra
  • 128
  • 2
  • 12
0
votes
1 answer

Wixsharp External UI (WPF) Installation Path

I've been working on external UI for my installer, generated with WixSharp. WixSharp samples library has a quite good example on how to create WPF external UI, but I don't understand, how to prompt user to change installation path of my application.…
0
votes
1 answer

How to create an installer for Visual Studio C# WPF project using wixsharp

I want to create an installer with wixsharp for my visual studio c # WPF application. In order for the user to install my application, I have to check if .NET 4.6 is installed or not. If this is the case, I proceed with the installation otherwise, I…
0
votes
0 answers

wixsharp service not getting installed

This may be a newbie question so excuse me for that. My installation works fine without any error, All the files get copied to the install folder BUT there is no service installed? Any help is appreciated. I have a simple installation that copies…
0
votes
1 answer

WixSharp: create .msi at RunTime, not CompileTime

Thanks in advance! At the moment, my .msi is being built cat Compile time. Compiler.BuildMsi(managedProject); Is it possible to make so that the .msi is created at Run time?
Andrey K.
  • 665
  • 8
  • 29
0
votes
1 answer

WixSharp Windows Forms UI: Passing instalation directory from Form to Wix

I am working on a WixSharp windows forms application that lets the user choose an install directory and install some files at that location. Right now I don't know how to pass the installation directory path (stored as a string) selected by the user…
Mihai
  • 307
  • 2
  • 6
  • 14
0
votes
1 answer

Running msi installer command line

I am building msi installer using wixsharp with silent installation using command line without any User Interface. I am having many custom action methods similar to the following for checking prerequisite conditions. I want to warn the users if…
AnandhaSundari M
  • 1,098
  • 2
  • 10
  • 23
0
votes
1 answer

Change color on banner text in Wixsharp

Is it possible to change the color of the text displayed in the banner when using the default WiXUI_Minimal or do I have to add custom dialogs?
andy.e
  • 170
  • 10