C# Class WixSharp.DriverInstaller

Defines the file driver installation approach.
Inheritance: WixEntity
Show file Open project: Eun/WixSharp Class Usage Examples

Public Properties

Property Type Description
AddRemovePrograms bool?
Architecture DriverArchitecture
DeleteFiles bool?
ForceInstall bool?
Legacy bool?
PlugAndPlayPrompt bool?
Sequence int?

Public Methods

Method Description
ToXml ( ) : System.Xml.Linq.XContainer[]

Emits WiX XML.

Method Details

ToXml() public method

Emits WiX XML.
public ToXml ( ) : System.Xml.Linq.XContainer[]
return System.Xml.Linq.XContainer[]

Property Details

AddRemovePrograms public property

Specifies that the DIFxApp CustomActions should add an entry in the Add/Remove Programs Control Panel applet. The default is 'true'.
public bool? AddRemovePrograms
return bool?

Architecture public property

The architecture of the driver to be installed. Default value is 'x86'
public DriverArchitecture Architecture
return DriverArchitecture

DeleteFiles public property

If set to "true", configures DIFxApp to delete binary files that were copied to the system from the driver store when a driver package was installed. If this attribute is set to "no" or not present, DIFxApp does not remove these files from a system. Note that configuring DIFxApp to delete these files is controlled by the Flags entry value of the component that represents the driver package in the MsiDriverPackages custom table. Setting DeleteFiles to "true" sets the corresponding bit in the Flags entry value. Setting DeleteFiles to "false" clears the corresponding bit in the Flags entry value. If this attribute is not present, DIFxApp uses a default value of "false".
public bool? DeleteFiles
return bool?

ForceInstall public property

If set to "true", configures DIFxApp to install unsigned driver packages and driver packages with missing files. For more information, see "Installing Unsigned Driver Packages in Legacy Mode" earlier in this paper. If this attribute is set to "false" or not present, DIFxApp will install only signed driver packages. Note that configuring DIFxApp to install unsigned drivers is controlled by the Flags entry value of the component that represents the driver package in the MsiDriverPackages custom table. Setting Legacy to "true" sets the corresponding bit in the Flags entry value. Setting Legacy to "false" clears the bit in the Flags entry value that configures DIFxApp to install unsigned driver packages. If this attribute is not present, DIFxApp uses a default value of "false".
public bool? ForceInstall
return bool?

Legacy public property

If set to "true", configures DIFxApp to install unsigned driver packages and driver packages with missing files. For more information, see "Installing Unsigned Driver Packages in Legacy Mode" earlier in this paper. If this attribute is set to "false" or not present, DIFxApp will install only signed driver packages. Note that configuring DIFxApp to install unsigned drivers is controlled by the Flags entry value of the component that represents the driver package in the MsiDriverPackages custom table. Setting Legacy to "true" sets the corresponding bit in the Flags entry value. Setting Legacy to "false" clears the bit in the Flags entry value that configures DIFxApp to install unsigned driver packages. If this attribute is not present, DIFxApp uses a default value of "false"
public bool? Legacy
return bool?

PlugAndPlayPrompt public property

Specifies that the DIFxApp CustomActions should prompt the user to connect the Plug and Play device if it is not connected. The default is 'true'.
public bool? PlugAndPlayPrompt
return bool?

Sequence public property

Specifies an optional installation sequence number. DIFxApp CustomActions install the driver packages in an installation package in the order of increasing sequence numbers. The same sequence number can be used for more than one driver; however, the order in which packages with the same sequence number are actually installed cannot be determined.
public int? Sequence
return int?