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
- Choice of elements (min: 0, max: unbounded)
- AppId (min: 0, max: unbounded)
- Binary (min: 0, max: unbounded)
- ComplianceCheck (min: 0, max: unbounded)
- Component (min: 0, max: unbounded)
- ComponentGroup (min: 0, max: unbounded)
- Condition (min: 0, max: unbounded)
- Container (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)
- EmbeddedChainer (min: 0, max: unbounded)
- EmbeddedChainerRef (min: 0, max: unbounded)
- EnsureTable (min: 0, max: unbounded)
- Feature (min: 0, max: unbounded)
- FeatureGroup (min: 0, max: unbounded)
- FeatureRef (min: 0, max: unbounded)
- Icon (min: 0, max: unbounded)
- IgnoreModularization (min: 0, max: unbounded)
- LayoutDirectory (min: 0, max: unbounded)
- LayoutDirectoryRef (min: 0, max: unbounded)
- Media (min: 0, max: unbounded)
- PackageCertificates (min: 0, max: unbounded)
- PackageGroup (min: 0, max: unbounded)
- PatchCertificates (min: 0, max: unbounded)
- PatchFamily (min: 0, max: unbounded)
- PayloadGroup (min: 0, max: unbounded)
- Property (min: 0, max: unbounded)
- PropertyRef (min: 0, max: unbounded)
- SetDirectory (min: 0, max: unbounded)
- SetProperty (min: 0, max: unbounded)
- SFPCatalog (min: 0, max: unbounded)
- UI (min: 0, max: unbounded)
- UIRef (min: 0, max: unbounded)
- Upgrade (min: 0, max: unbounded)
- WixVariable (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') Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema.
- CloseApplication
- ComPlusApplication
- ComPlusApplicationRole
- ComPlusPartition
- ComPlusPartitionRole
- ComponentSearch
- DirectorySearch
- FileSearch
- Group
- HelpCollectionRef
- HelpFilter
- LayoutDirectory
- LayoutDirectoryRef
- Mutation
- PackageGroup
- PayloadGroup
- ProductSearch
- RegistrySearch
- SqlDatabase
- UnitTest
- UnitTestRef
- User
- UX
- WebApplication
- WebAppPool
- WebDirProperties
- WebLog
- WebSite
- Attributes
-
Name Type Description Required Id String Optional identifier for a Fragment. Should only be set by advanced users to tag sections. - See Also
- Wix Schema