Fragment Element
- Description
-
The Fragment element is the building block of creating an installer database in WiX. Once defined, the Fragment becomes an immutable, atomic unit which can either be completely included or excluded from a product. The contents of a Fragment element can be linked into a product by utilizing one of the many *Ref elements. When linking in a Fragment, it will be necessary to link in all of its individual units. For instance, if a given Fragment contains two Component elements, you must link both under features using ComponentRef for each linked Component. Otherwise, you will get a linker warning and have a floating Component that does not appear under any Feature.
- Windows Installer references
- None
- Parents
- Wix
- Inner Text
- None
- Children
- Sequence (min: 1, max: 1)
- Choice of elements (min: 0, max: unbounded)
- AppId (min: 0, max: unbounded)
- Binary (min: 0, max: unbounded)
- ComplianceCheck (min: 0, max: unbounded)
- ComponentGroup (min: 0, max: unbounded)
- Condition (min: 0, max: unbounded)
- CustomAction (min: 0, max: unbounded)
- CustomActionRef (min: 0, max: unbounded)
- CustomTable (min: 0, max: unbounded)
- Directory (min: 0, max: unbounded)
- DirectoryRef (min: 0, max: unbounded)
- EnsureTable (min: 0, max: unbounded)
- Feature (min: 0, max: unbounded)
- FeatureRef (min: 0, max: unbounded)
- FragmentRef (min: 0, max: unbounded)
- Group (min: 0, max: unbounded)
- Icon (min: 0, max: unbounded)
- IgnoreModularization (min: 0, max: unbounded)
- Media (min: 0, max: unbounded)
- PatchCertificates (min: 0, max: unbounded)
- Property (min: 0, max: unbounded)
- PropertyRef (min: 0, max: unbounded)
- SFPCatalog (min: 0, max: unbounded)
- SqlDatabase (min: 0, max: unbounded)
- UI (min: 0, max: unbounded)
- UIRef (min: 0, max: unbounded)
- Upgrade (min: 0, max: unbounded)
- User (min: 0, max: unbounded)
- WebApplication (min: 0, max: unbounded)
- WebAppPool (min: 0, max: unbounded)
- WebDirProperties (min: 0, max: unbounded)
- WebLog (min: 0, max: unbounded)
- WebSite (min: 0, max: unbounded)
- Sequence (min: 1, max: 1)
- InstallExecuteSequence (min: 0, max: 1)
- InstallUISequence (min: 0, max: 1)
- AdminExecuteSequence (min: 0, max: 1)
- AdminUISequence (min: 0, max: 1)
- AdvertiseExecuteSequence (min: 0, max: 1)
- Any Element namespace='##other' processContents='Lax'
- Choice of elements (min: 0, max: unbounded)
- Attributes
-
Name Type Description Required Id String Optional identifier for a Fragment. Should only be used if you plan to refer to this Fragment via a FragmentRef element elsewhere. - See Also
- Wix Schema, FragmentRef