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
8
votes
1 answer

Using wix, how to install Dot net framework 4.5 for Windows 7/8 and dot net 4.0 from Xp and vista

I want to install Dot net framework 4.5 as a prerequisite for my application wherever it is possible.As minimum OS requirement for dot net framework 4.5 is Windows Vista SP2.I would like to install dot net framework 4.5 on OS on or above Windows…
ABHI
  • 173
  • 3
  • 7
8
votes
1 answer

WiX installer: Installing to Appdata - Error ICE38, ICE64 & ICE91

I've been banging my head against this one for a while and I've finally caved (after a lot of searching) and have come to stack overflow for help. As the title suggests I am trying to create an installer that can carry out a per-user install without…
DrMattsuu
  • 191
  • 1
  • 10
8
votes
1 answer

Unresolved reference to WixUI:WixUI_InstallDir

i am using wix from command line. the problem i am facing is that i don't know how i will load the WixUtilExtension.dll at link time. currently i am using the following commands candle install.wxs and then light -ext WixUtilExtension…
Madu
  • 4,849
  • 9
  • 44
  • 78
8
votes
1 answer

How to use ProgramFilesFolder value in a variable in a wxi file

In my wxi file, I want to set a variable that has the Program Files directory. I want it to pick the localized value of Program Files. I have defined LocalizedProgramFilesFolder…
8
votes
1 answer

Complete WiX sample *.wxs to download and install a specific version of .NET Framework if it's not available

There are many incomplete questions and answers about how to download and install .NET Framework(s) if they are not available but none complete code seems to be available on Internet. Can you provide a minimal compilable code or a link to a clear…
sw.
  • 3,240
  • 2
  • 33
  • 43
7
votes
1 answer

WIX : Substitution in 'C:\Program Files (x86)\XXX' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0)

I am getting below message in the log file while uninstalling hotfix . WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\INSTALLDIR\XXX' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0). Is this a…
Sharath Vollala
  • 107
  • 1
  • 3
  • 16
7
votes
2 answers

WiX remove default IIS website before creating a new one

I created a WiX package for my website, and it works fine, except that my newly created website doesn't start after installation. That's because my website is registered to use *:80. IIS by default has a website setup with the same binding. Is there…
Ilya Volodin
  • 10,929
  • 2
  • 45
  • 48
7
votes
3 answers

WiX 3.7: How to delete registry key on uninstall based on condition set by user?

I need to allow a user to specify whether the installer should remove or retain a registry key during uninstallation. Here is what I do. I have a RemoveRegistryKey component with a Condition element that looks like this:
Alek Davis
  • 10,628
  • 2
  • 41
  • 53
7
votes
2 answers

Including .NET installer in WiX Bundle not detecting if already installed

I'm on WiX 3.7, and I can't get the simple bundle element to work, as it doesn't bring across the Net FX installer package, or embed it in the setup.exe. I've resorted to creating my own package for this in my…
Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176
7
votes
1 answer

ICE03: String overflow (greater than length permitted in column); Table: CustomAction

I am getting an ICE03: String overflow warning for the following code: This…
Syed Ali
  • 1,817
  • 2
  • 23
  • 44
7
votes
2 answers

Getting the file version of a native exe in MSBuild

I have a number of Visual C++ projects in a Visual Studio 2010 solution. Also in this solution is a WiX project that builds the installer for the executable that is the product of one of the C++ projects. The executable has a resource file in its…
Alex
  • 581
  • 7
  • 21
6
votes
3 answers

Wix custom uninstallation action - how to run before msi removing files

I have a custom action that adds files to the installation directory. When the program is being uninstalled, another custom action tries to remove those files, so that the installation directory can be deleted. The problem is that my custom…
František Žiačik
  • 7,511
  • 1
  • 34
  • 59
6
votes
1 answer

wix example of dual purpose (per-user or per-machine) package using ui

Does any one have or know of a location of a sample Product.wxs on how to properly write Single Package Authoring? I am trying to create a dual purpose (per-user or per-machine (user choice)) MSI. I am looking for an example that inserts the…
Gustavo
  • 685
  • 3
  • 7
  • 17
6
votes
1 answer

How to Combine WIX Setup Project with WIX Bootstrapper Project

I have a WIX Setup Project that includes my custom UI and a WIX Bootstrapper Project that includes prerequsites/dependencies in form of exe and Msi of my projects. I want to combine them to make a single exe. If i give reference of my WIX Setup…
User
  • 351
  • 1
  • 8
  • 20
6
votes
1 answer

Two PathEdit dialogs in one MSI (error 2343 - Specified path is empty)

I am creating a WiX installer, and I want to allow the user to select the path of the installation directory as well as a data directory. I added two InstallDirDlg's to my code and named one Custom_Dir and the other Custom_DirData. In…
user2437443
  • 2,067
  • 4
  • 23
  • 38
1
2
3
30 31