Questions tagged [wix3.7]

The WiX Toolset v3.7. The WiX toolset builds Windows installation packages from XML source code. The toolset integrates seamlessly into build processes.

The WiX Toolset v3.7. The WiX toolset builds Windows installation packages from XML source code. The toolset integrates seamlessly into build processes.

WiX the Windows Installer XML toolset lets developers create installers for Windows Installer, the Windows installation engine.

The core of WiX is a set of build tools that build Windows Installer packages using the same build concepts as the rest of your product: source code is compiled and then linked to create executables; in this case .exe setup bundles, .msi installation packages, .msm merge modules, and .msp patches. The WiX command-line build tools work with any automated build system. Also, MSBuild is supported from the command line, Visual Studio, and Team Build.

WiX includes several extensions that offer functionality beyond that of Windows Installer. For example, WiX can install IIS web sites, create SQL Server databases, and register exceptions in the Windows Firewall, among others.

With Burn, the WiX bootstrapper, you can create setup bundles that install prerequisites like the .NET Framework and other runtimes along with your own product. Burn lets you download packages or combine them into a single downloadable .exe.

The WiX SDK includes managed and native libraries that make it easier to write code that works with Windows Installer, including custom actions in both C# and C++.

452 questions
0
votes
1 answer

Parameters are not passing to deferred custom actions in WiX

I have written a sample WiX project wherein I am trying to save project files while installing and later delete these files during the uninstall process. I have written custom actions to achieve this. Below is the code. Here, UninstallCustomAction…
user2544690
  • 1
  • 1
  • 2
0
votes
1 answer

Execute custom action on Install type/level

We have an installer being built in WIX. The installation takes two different paths, one of which includes a service installation. The service is written with Topshelf so we needed to use a custom action to install it. What we can not figure out how…
Matt
  • 2,795
  • 2
  • 29
  • 47
0
votes
1 answer

Publish install event

I am creating a WiX installer, and have configured it to show a prompt when the user clicks 'install' if the user is missing a certain file. I added this line in order to link my custom prompt to the rest of my dialogs (My prompt is called…
user2437443
  • 2,067
  • 4
  • 23
  • 38
0
votes
2 answers

Return a value / cancel installation with vbscript custom action

I have a custom action in my installer that opens a message box using a vbscript custom action.
user2437443
  • 2,067
  • 4
  • 23
  • 38
0
votes
1 answer

WiX bootstrapper Project Reference Variables

I'm a beginner, WiX 3.7, VS2010. Bootstrapper project. Currently I'm blocked by: "Undefined preprocessor variable '$(var.Bootstrapper2.TargetPath)'" Where do I find my project name? ?Bundle name? In the Projects tab of "Add References" there's…
0
votes
1 answer

Getting Location path Wix installation

How to get location path if i want to access mylocation.txt file, this file currently is in E:drive. [CustomAction] public static ActionResult FillList(Session xiSession) { //Can i get store mylocation.txt into application root instead…
reapen
  • 705
  • 4
  • 13
  • 26
0
votes
1 answer

WIX Combobox Bind Values

I am trying to populate values using custom actions and want to bind the values into combobox which is inside product.wxs. Can anyone guide me how to bind values if I want to populate a list of countries inside the combobox? I am struggling with how…
reapen
  • 705
  • 4
  • 13
  • 26
0
votes
0 answers

wix code to create msi and install it on already installed application

I have developed a wix code to create a msi for my company's application.when i install the msi on the system,if already the older version say 2.1.9115 of that application is present, it is not updating on it and installing the newly created msi.It…
Aramanethota
  • 683
  • 2
  • 9
  • 23
0
votes
1 answer

Finding or creating web application using WiX

I have this requirement where I have to install files to a web application that may or may not exist, in an existing web site. I was hoping to convert our current custom actions to use the iis extension. Basically, what I have right now is a dialog…
Netfangled
  • 2,071
  • 1
  • 18
  • 28
0
votes
1 answer

How to check and install required .net version while installing bootstrapper application

Following is the code for my bootstrapper application:
Monika
  • 669
  • 1
  • 6
  • 6
0
votes
0 answers

Create Web app pool and Site on on Server 2008 R2 with IIS 7.5, WiX 3.7

Site is not getting created as intended. Please see the Image. Two virtual directories for CoreWebServicesV3 are getting created one pointing to default app-pool and another app-pool which I have created.
Chat
  • 185
  • 1
  • 5
  • 15
0
votes
2 answers

Accessing embedded resources in Wix DTF Custom Action

My DTF project contains some embedded resources and I would like to access the same in the CustomAction. I tried the following code in the Custom Action method // Gets the current assembly. Assembly Asm = Assembly.GetExecutingAssembly(); //…
Msdnexpert
  • 284
  • 1
  • 2
  • 16
0
votes
1 answer

How to create WiX.targets file

I'm working on an existing WiX project. The project imports a wix target file. Unfortunately, I cannot seem to find this file anywhere. How was it created in the first…
Rich
  • 1,895
  • 3
  • 26
  • 35
0
votes
1 answer

How to add linked files in a WIX Visual Studio Project to the setup using Heat task

I have a WIX Visual Studio project in which I have created a folder structure which is to be read by a Heat MSBuild task to generate the .wxs file. Now if I add some files as links to a folder in this structure, the heat task does not generate…
Syed Ali
  • 1,817
  • 2
  • 23
  • 44
0
votes
2 answers

How to install / uninstall single msi from wix custom bootstrapper bundle containing multiple MSIs like add/remove feature of Setup project?

I have 2 msi in wix bundle I am using custom bootstrapper of wix 3.7. My Install,uninstall, and cancel command works perfectly. When I am trying to give functionality of add/remove msi from bundle using: this.ModifyCommand = new…