WiX Toolset

SnapIn Element (Ps Extension)

Description
Identifies the parent File as a PowerShell snap-in to be registered on the system.
Windows Installer references
None
Parents
File
Inner Text
None
Children
Choice of elements (min: 0, max: unbounded)
Attributes
Name Type Description Required
Id String The identifier for this PowerShell snap-in. Yes
AssemblyName String This attribute has been deprecated.  
CustomSnapInType String The full type name of a class that is used to register a list of cmdlets and providers.  
Description String A brief description of the snap-in.  
DescriptionIndirect EmbeddedResource An embedded resource that contains a brief description of the snap-in. This resource must be embedded in the current snap-in assembly.  
RequiredPowerShellVersion VersionType The required version of PowerShell that must be installed and is associated with the snap-in registration. The default value is "1.0".  
Vendor String The name of the snap-in vendor.  
VendorIndirect EmbeddedResource An embedded resource that contains the name of the snap-in vendor. This resource must be embedded in the current snap-in assembly.  
Version VersionType The version of the snapin. If not specified, this is taken from the assembly name.  
Remarks
PowerShell snap-ins allow developers to extend the functionality of of the PowerShell engine. Add this element to identify the parent File as a PowerShell snap-in that will get registered on the system.
See Also
Ps Schema