Questions tagged [wix3.5]

For issues relating to deployment using Windows Installer XML, version 3.5.

The Windows Installer XML (WiX) is a toolset that builds Windows installation packages 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.

768 questions
16
votes
2 answers

Wix darice.cub file missing when building from visual studio 2010

We have created a simple wix project for a basic windows application. Everything builds fine and the MSI is produced. However, switching to Release gives the following error message; light.exe(0,0): error LGHT0222: The cube…
Julius
  • 946
  • 1
  • 10
  • 26
16
votes
2 answers

How to include fragments in Wix?

I have created a wixlib to share fragments in some wix projects. I can reference fragments which have Property in my main wix file with a PropertyRef, but how can I reference fragments where I want a bulk copy of its content?? For example I have a…
Steph Ragazzi
  • 381
  • 1
  • 4
  • 15
15
votes
1 answer

Web application install with initial IIS settings; using WiX, need upgrade files, NOT changing IIS settings

I have a WiX install project that includes IIS setings for virtual directory and application settings with an application pool. After initial install, the customer will change the application pool identity from default network service set in…
longday
  • 4,075
  • 4
  • 28
  • 35
15
votes
2 answers

Wix Interactions with Conditions, Properties & Custom Actions

I am having a problem with a setting the enabled state of a button on a Dialog. The button in question is defined as:
BBoy
  • 1,063
  • 1
  • 10
  • 21
15
votes
7 answers

Error LGHT0301: Failed to open the database

I'm using WiX 3.5. Recently, the following WiX error started occurring frequently on the build server: light.exe (,): error LGHT0301: Failed to open the database. During validation, this most commonly happens when attempting to open a database…
Michael Liu
  • 52,147
  • 13
  • 117
  • 150
15
votes
1 answer

How to create a .NET event log source using WiX

This is an intentional semi-duplicate of How do you create an event log source using WiX and WIX: Create EventSource using .NET message file. My first question is, does it really have to be so complicated? Isn't there some way to simply specify to…
RenniePet
  • 11,420
  • 7
  • 80
  • 106
15
votes
1 answer

How to change icon in UAC prompt of signed installer (WiX)?

I'm creating an msi package with WiX 3.5 (VS2010) and everything is fine, except that I don't know how to set my icon in UAC prompt. I already have a signing certificate and know how to sign with "signtool.exe" to get the publisher information and…
ptkvsk
  • 2,096
  • 1
  • 25
  • 47
14
votes
1 answer

WiX CustomActionData is empty in called CustomAction

once again I'm stuck at a problem, that is probably easy to solve. I want to extend a setup, created with WiX, to make changes in the configuration file of the installed program. In order to do this I've created a CustomAction. To be able to change…
Skalli
  • 2,707
  • 3
  • 27
  • 39
14
votes
4 answers

Is it possible to pass variable to WIX localization file?

I need to use variable in WIX localization file WIXUI_en-us.wxl. I tried use it like this: A another version of product $(var.InstallationVersionForGUI) is already…
Elena
  • 266
  • 3
  • 12
13
votes
1 answer

Harvesting files leads to LGHT0231 error

I'm using latest votive (Wix v3.5) and created a simple Wix VS 2010 setup project. I added my website reference and set the Harvest option as true. Now since my INSTALLDIR points to a folder under IISROOT, I get this light.exe error: [filepath]:…
Mrchief
  • 75,126
  • 20
  • 142
  • 189
13
votes
4 answers

Wix, where can I find WixUI_InstallDir.wxs and InstallDirDlg.wxs

I've just been assigned a task of working (learning) WIX. To better understand the dialog handling and stuff, I found many references of "just get..." and then WixUI_InstallDir.wxs and InstallDirDlg.wxs (and obviously the others out there). I've…
DRapp
  • 47,638
  • 12
  • 72
  • 142
13
votes
1 answer

How do I distinguish between a normal install and an upgrade in WIX?

I have some custom actions that I only want to execute in an upgrade scenario. I am trying to set some properties, for example "MYPROPERTY"... When I come in via a standard install, I can set them, and an example of that XML is as follows...…
Slippy
  • 1,253
  • 5
  • 22
  • 43
13
votes
3 answers

Wix how to hide feature options

I'm using Wix 3.5 to build a MSI installer. I want to know if there is any way to hide some options from the "Features Custom Setup dialog" (in which you select from the Feature tree what to install). I want to only have the options for "Will be…
Herno
  • 1,497
  • 2
  • 21
  • 40
13
votes
2 answers

Unable to update "PATH" environment variable using WIX

I have used the following wix fragment to update "PATH" environment variable.
user1512683
  • 131
  • 1
  • 3
12
votes
1 answer

InstallExecuteSequence in Fragment not included in installer

I have a strange issue that although not critical I'm wondering why it's happening. After finishing my fairly complex installer I decided to refactor the code and abstract the different tasks into separate fragments. I have C# CustomAction that is…
caveman_dick
  • 6,302
  • 3
  • 34
  • 49
1
2
3
51 52