Questions tagged [wix]

The WiX Toolset (formerly known as Windows Installer XML) is a toolset that builds Windows installation packages and WiX bootstrappers from XML source code. The toolset supports a command line environment that developers may integrate into their build processes to build MSI and MSM setup packages and EXE bootstrappers. For the cloud-based web development platform, use the [velo] tag.

The WiX Toolset (formerly known as Windows Installer XML) is a toolset that builds Windows installation packages and WiX bootstrappers from XML source code. The toolset supports a command line environment that developers may integrate into their build processes to build MSI setup packages, MSM merge modules, MSP patches and EXE bootstrappers. The installer also provides a Visual Studio extension that creates WiX projects, which can be built with Visual Studio or MSBuild.

References:

10232 questions
4
votes
2 answers

How do I add the interactive user to a directory in a localized Windows using WiX?

How do I add the Swedish interactive user, NT INSTANS\INTERAKTIV or the English interactive user, NT AUTHORITY\INTERACTIVE or any other localised user group with write permissions to a program folder's ACL? Is this question actually "How…
nray
  • 2,088
  • 4
  • 14
  • 11
4
votes
3 answers

WiX/MSI: Redirect stdout to file, type 50 custom action

I have a WiX installer all rigged up to run SqlPackage.exe to deploy some installed .dacpac-packaged SQL applications to a database. Actually deploying the database files as follows will succeed:
Ben Mosher
  • 13,251
  • 7
  • 69
  • 80
4
votes
2 answers

Can we upgrade 1.0.0.0 to 1.0.0.1 while changing product code?

I'm asked to upgrade ver 1.0.0.0 to 1.0.0.1. By default, when I tested with a dummy installer, if we change the product code, both 1.0.0.0 and 1.0.0.1 would install side by side. But if we do the ver 1.0.1.0 (while changing product code), it would…
Farrukh Waheed
  • 2,163
  • 2
  • 29
  • 59
4
votes
1 answer

How to create a Wix patch in combination with Heat?

I'm developer on a big system (>100 Projects in Solution, >100 000 LOC, > 10 Services, ...) and did the installation of this system in the past with wix and it worked fine. Now I need a way to patch (Minor Upgrade) parts of the system and run into…
4
votes
1 answer

Using Burn as an alternate to WiX dialogs and custom actions

While digging into BootstrapperApplication (BA) methods and events, I implemented OnExecuteMsiMessage, and I was able to see the messages being returned by my MSI during installation process. That also includes ActionData with some other…
Farrukh Waheed
  • 2,163
  • 2
  • 29
  • 59
4
votes
3 answers

Dynamically assigning name to shortcut at run time in WIX

I want to assign different names to a shortcut based on user input. Is this feasible using the WiX toolset? I have tried assigning value of property to Name attribute of Shortcut element but it does not work.
user1668102
  • 149
  • 8
4
votes
1 answer

How to make a WiX burn bundle that upgrade a "Lite" version of my product

I have two SKUs of my product. Both are using Burn as a bootstrapper. I have authored the MSIs in such a way that the Pro version will upgrade and replace the Lite version. But once I've wrapped them in burn, the Pro version upgrades the MSI…
TroyC
  • 482
  • 1
  • 6
  • 8
4
votes
5 answers

Register ActiveX exe server using WiX

I have several VB6 ActiveX server exe files which need to be registered on install before they can be used. I have tried using Heat to extract the information but it only generates a file element. These files can be registered by calling them with…
trampster
  • 8,598
  • 4
  • 37
  • 52
4
votes
1 answer

Wix burn does not show multiple entries in ARP

I use Wix 3.7's burn to install prereq's (Windows Installer 4.5, .NET 3.5, SQL Server 2008 R2 and Sync Framework 2.1) prior to the installation of my two product MSI's. Even though all of the prereqs' have entries in Add or Remove Programs (ARP),…
Brett Wertz
  • 412
  • 4
  • 19
4
votes
2 answers

Using heat.exe to add bulk files to a new WiX project: HEAT5150

If this is a repeat question, please direct me to the existing solution. I wasn't able to find a matching query. We currently use InstallShield. I'm attempting to covert a project with 407 files to a WiX3 installation package. I tried using…
Karen Kwong
  • 41
  • 1
  • 2
4
votes
1 answer

WiX Custom Actions in 64 bit

I am trying to run a managed custom action in WiX 3.5 as a 64 bit process. All projects involved are configured to be built in x64 (as specified here). My understanding is that the key to this is the sfxca version. According to my build log, it is…
TheWhitness
  • 43
  • 1
  • 3
4
votes
5 answers

Registering a COM server with WiX

I have been trying to determine a best case solution for registering a COM server using WiX to create a Windows Installer package and am struggling. In this post Deployment Engineering Archive: HOWTO: Use Regsvr32.exe with WIX, there is an open…
Rob Hunter
  • 2,787
  • 4
  • 35
  • 52
4
votes
1 answer

WIX and commonAppDataFolder

I am trying to create some empty folder in COMMONAPPDATAFOLDER during installation but it it not working, Can anybody please take a look at my code and let me know what is wrong Please?
Avinash
  • 12,851
  • 32
  • 116
  • 186
4
votes
2 answers

WiX project that references an SSDT project fails to build in TFSBuild - Undefined preprocessor variable '$(var.DatabaseProject.TargetDir)'

My project which is part of a larger solution was converted from a dbproj to asqlproj (SSDT). The solution includes a WiX installer which references the SSDT project. The WiX project builds fine on multiple developer systems through VS2010. The…
Steve
  • 279
  • 3
  • 13
4
votes
4 answers

WIX ServiceInstall - setting the service to run under the NetworkService account

I am trying to create a WIX installer to install my windows service to run under the NetworkService account and getting an Insufficient Priviledges error during the installation. I found this post where someone seems to be experiencing the same…
Martin Cook
  • 51
  • 1
  • 5