[wix-users] Referencing a library project artifact (wixlib) from a setup project (MSI)
Edwin Castro
egcastr at gmail.com
Fri Dec 1 09:18:01 PST 2017
The details matter... in general you need to add an element reference of
some kind into your setup project (that is in addition to the project
reference). Think ComponentGroupRef for example. Something like a
ComponentGroupRef will bring in the fragment that defines that
ComponentGroupRef into the setup project. Of course, what you need to do in
your case will depend on the contents of your wixlib. Presumably there is a
setup project getting built by appveyor for the larger project. Can you
take a look at that one for an example of how they consume the content of
the wixlib?
--
Edwin G. Castro
On Fri, Dec 1, 2017 at 7:38 AM, Jace Malloy via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> I apologize ahead of time, in that I'm not familiar at all with WiX;
> however, in reading some of the documentation in my plight to resolve my
> current issue, I see it's power and why it's preferred over the standard VS
> options.
>
> I'm maintaining a large .NET sub project through Visual Studio 2015, that's
> part of a larger project. The guy before me configured a Wix Setup Library
> (wixlib output) for the smaller, sub project. The sub project is referenced
> through a build process (Appveyor), which creates a MSI file for the entire
> product (the larger project).
>
> What I need to do is quite simple, but I'm at a loss with what I've tried
> thus far. I want to create a MSI file for the sub project component for
> testing. I want to do it through Visual Studio to where the build process
> outputs a MSI using the existing wixlib.
>
> I've added a WiX Setup Project to the sub project, but can't figure out how
> to simply reference the existing Setup Library (wixlib). I've added a VS
> reference to the Library Project in the Setup Project, but I'm not sure how
> to call the Fragment from the library, from the newer Setup Project.
>
> Any help is greatly appreciated.
>
> Thanks all...
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
More information about the wix-users
mailing list