Questions tagged [wixlib]

A .wixlib file is a collection of .wixobj files bundled together. This format allows simplification of the WiX linker commandline, provides better introspection and metadata than MSM modules, and can be used to remove the hassle of sharing multiple .wixobjs with other people.

A .wixlib file is a collection of .wixobj files bundled together. This format allows simplification of the WiX linker commandline, provides better introspection and metadata than MSM modules, and can be used to remove the hassle of sharing multiple .wixobjs with other people.

Rob Mensching has written an introductory article about wixlibs.

33 questions
1
vote
0 answers

How to make Win64 attribute as a variable in wixlib?

We have some components in wixlib project and different installer projects reference it. The problem is Win64 attribute and several others as per my investigation can be bound only to preprocessor variable.
Andrey Ershov
  • 1,773
  • 1
  • 16
  • 26
1
vote
1 answer

How to pass additional WXS files to candle when using votive?

When building a WIXLIB from Visual Studio using Votive, how do you specify to candle where to find additional WXS files that are not part of the Visual Studio project (and are also not part of a referenced project)? I do not want to add the WXS…
dan9298
  • 195
  • 1
  • 11
1
vote
1 answer

I'm referencing an WiX extension in a WiX library project -- how do I avoid having to reference this extension in other projects that use this wixlib?

I'm referencing a WiX extension in a WiX library project. This WiX library project is itself referenced by my main WiX MSI project. Why does the main project have to also reference the WiX extension, even though it doesn't directly need it? I'd like…
arathorn
  • 2,098
  • 3
  • 20
  • 29
1
vote
1 answer

WiX and shared, versioned components

This has to be a common need yet I find hardly ANY references to it on the web... I've got a product that has three sets of components, one installed on the server, one on the web head, and one on the developer's machine. All three sets could be…
Jason Kleban
  • 20,024
  • 18
  • 75
  • 125
1
vote
1 answer

ComponentGroupRef not working with WiX library

I created a library in WiX with a single ComponentGroup, Component and File, this way:
Marlos
  • 1,927
  • 2
  • 22
  • 44
1
vote
2 answers

wix 3.x - Failed to load xml file

I have a WIX package - created using Wix Toolset 3.7, which is strangely failing on a specific environment with the following message, ExecXmlFile: Error 0x80070005: failed to load XML file: …
Tarun Arora
  • 4,692
  • 4
  • 30
  • 40
1
vote
1 answer

Writing Data to MSI Database

I need to be able to update a binary table and i do it like so: View v = session.Database.OpenView("SELECT `Data` FROM `Binary` WHERE `Name` = '{0}'", binaryKeyName); v.Execute(); var IsReadOnly =…
ShaneKm
  • 20,823
  • 43
  • 167
  • 296
1
vote
1 answer

Application does not arrive in Programs and Features after installation

I have made an installer for website application. It is built successfully, and has entries in registry and IIS. But it was not registered in the Programs and Features for uninstall. I have to manually remove from registry and IIS. What's that I am…
Anudeep
  • 337
  • 2
  • 4
  • 13
1
vote
2 answers

Suppressing InstallDir UI during Upgrade on wix

I want to suppress the InstallDir UI for upgrade scenario. I will get previously installed path from registry and i just want to suppress the this UI. Is there any way to do this?
gramcha
  • 692
  • 9
  • 16
0
votes
1 answer

Wix : Install Executable

I am new to WiX and I have been trying to create a installer for my application. Rest of things are working fine but I am stuck at one point. I need to unzip a file once it is copied to Program Files Folder. I am not sure if windows can do it…
0
votes
1 answer

How to replace the value in script using WIX

I have SQL Script and executing that script as part of MSI Intallation using WIX Tool. Now I would like to declare a variable in the script and want to replace the variable value from Include file variable value. Script: CREATE TABLE $(tablename)…
0
votes
0 answers

HowTo define a HarvestDirectory element in a library (WixLib) so the Wix projects associated with the library does not need to implement it?

We've defined a conditional setup with few main projects and a central library. No when we try to harvest a directory in a library (WixLib) the ComponentGroupName "reference" goes unresolved. On the WixLib: ```
0
votes
1 answer

Using files 'included' in a wixlib

We use a wixlib that has all the dialogs (most of which can be shared with other products on our portfolio). One of these dialogs will show a EULA. This EULA is added to the wixlib project as (RTF) content (Build Action: Content, Copy to output:…
Frank Kaaijk
  • 293
  • 1
  • 3
  • 12
0
votes
1 answer

Trying to move a Wix .wxl file to a Wix .wixlib project

The Setup So I have two Wix projects, one is our main one with the Product.wxs file in it and the second one is our library of shared .wxs files. Our main Wix project references the the library one. This is also all in a Visual Studio 2015 solution.…
0
votes
0 answers

WiX Setup project referencing two Wixlib having same File/@Id

I am new to WiX, but need a complicated scenario! I manage a modular web application containing multiple WCF Library (i.e. module), and need to put every module as a feature in the final setup. So I managed a WiX Setup Library for every module…
Saeed
  • 1
  • 2