Feature in fragment does not appear in parent project #7794
Unanswered
mikehenselersimfront
asked this question in
Questions
Replies: 3 comments 1 reply
-
WiX only links in resources that have a reference from the parent product. |
Beta Was this translation helpful? Give feedback.
0 replies
-
yes, this has been my experience, |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks Rob for explaining it.
From: Rob Mensching ***@***.***>
Sent: Thursday, October 26, 2023 10:26 AM
To: wixtoolset/issues ***@***.***>
Cc: Mike Henseler ***@***.***>; Author ***@***.***>
Subject: Re: [wixtoolset/issues] Feature in fragment does not appear in parent project (Discussion #7794)
If the WiX Toolset worked as you hoped, you'd always get all the code from any referenced .wixlib. That design would require us to ship a few hundred tiny .wixlibs (not an exaggeration) so you would not experience massive bloat of unused behavior in your MSI anytime you used one of the WiX extensions.
I don't think you'd actually like the world you hoped for. 😄
—
Reply to this email directly, view it on GitHub<#7794 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMYCT5XRQVL7XGDHVUPZTMLYBJXGVAVCNFSM6AAAAAA6MB5TMSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGOJTGYZTS>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
***** This email was sent outside of your organization *****
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
create fragment-project that includes components/files and feature
compile fragment-project to wixlib
add fragment-project.wixlib into parent.msi compile
run new installer, or open msi with orca
observe: feature from fragment project does not appear. no files from fragment project have been added to installer.
I would expect just adding the fragment-project.wixlib to parent compile would include the fragment features automatically.
workaround:
create feature in parent project and add component refs for components in fragment-project
or add FeatureRef to feature in fragment project
Beta Was this translation helpful? Give feedback.
All reactions