C# Class WixSharp.File

Defines file to be installed.
Inheritance: WixEntity
Datei anzeigen Open project: Eun/WixSharp Class Usage Examples

Public Properties

Property Type Description
Associations WixSharp.FileAssociation[]
Condition Condition
DriverInstaller DriverInstaller
Feature Feature
IISVirtualDirs WixSharp.IISVirtualDir[]
Permissions FilePermission[]
ServiceInstaller ServiceInstaller
Shortcuts WixSharp.FileShortcut[]

Public Methods

Method Description
AddItems ( WixEntity items ) : void
File ( ) : System

Initializes a new instance of the File class.

File ( Feature feature, string sourcePath ) : System

Creates instance of the class with properties initialized with specified parameters.

File ( Id id, Feature feature, string sourcePath ) : System

Creates instance of the class with properties initialized with specified parameters.

File ( Id id, string sourcePath ) : System

Creates instance of the class with properties initialized with specified parameters.

File ( string sourcePath ) : System

Creates instance of the class with properties initialized with specified parameters.

ToString ( ) : string

Returns a T:System.String that represents the File.

This property is designed to produce a friendlier string representation of the File for debugging purposes.

Method Details

AddItems() public method

public AddItems ( WixEntity items ) : void
items WixEntity
return void

File() public method

Initializes a new instance of the File class.
public File ( ) : System
return System

File() public method

Creates instance of the class with properties initialized with specified parameters.
public File ( Feature feature, string sourcePath ) : System
feature Feature the file should be included in.
sourcePath string Relative path to the file to be taken for building the MSI.
return System

File() public method

Creates instance of the class with properties initialized with specified parameters.
public File ( Id id, Feature feature, string sourcePath ) : System
id Id The explicit to be associated with instance.
feature Feature the file should be included in.
sourcePath string Relative path to the file to be taken for building the MSI.
return System

File() public method

Creates instance of the class with properties initialized with specified parameters.
public File ( Id id, string sourcePath ) : System
id Id The explicit to be associated with instance.
sourcePath string Relative path to the file to be taken for building the MSI.
return System

File() public method

Creates instance of the class with properties initialized with specified parameters.
public File ( string sourcePath ) : System
sourcePath string Relative path to the file to be taken for building the MSI.
return System

ToString() public method

Returns a T:System.String that represents the File.

This property is designed to produce a friendlier string representation of the File for debugging purposes.

public ToString ( ) : string
return string

Property Details

Associations public_oe property

Collection of the FileAssociations associated with the file.
public FileAssociation[],WixSharp Associations
return WixSharp.FileAssociation[]

Condition public_oe property

Defines the installation Condition, which is to be checked during the installation to determine if the file should be installed on the target system.
public Condition Condition
return Condition

DriverInstaller public_oe property

The driver installer associated with the file. Set this field to the properly initialized instance of DriverInstaller if the file is a windows driver.
public DriverInstaller,WixSharp DriverInstaller
return DriverInstaller

Feature public_oe property

the file belongs to.
public Feature,WixSharp Feature
return Feature

IISVirtualDirs public_oe property

Collection of the contained IISVirtualDirs.
public IISVirtualDir[],WixSharp IISVirtualDirs
return WixSharp.IISVirtualDir[]

Permissions public_oe property

COllection of T:WixSharp.FilePermission to be applied to the file.
public FilePermission[] Permissions
return FilePermission[]

ServiceInstaller public_oe property

The service installer associated with the file. Set this field to the properly initialized instance of ServiceInstaller if the file is a windows service module.
public ServiceInstaller ServiceInstaller
return ServiceInstaller

Shortcuts public_oe property

Collection of the Shortcuts associated with the file.
public FileShortcut[],WixSharp Shortcuts
return WixSharp.FileShortcut[]