C# 클래스 WixSharp.Dir

Defines directory to be installed on target system.

Use this class to define file/directory structure of the deployment solution.

You can use predefined Wix# environment constants for well-known installation locations. They are directly mapped to the corresponding WiX constants:

Wix# - WiX

%WindowsFolder% - [WindowsFolder]

%ProgramFiles% - [ProgramFilesFolder]

%ProgramMenu% - [ProgramMenuFolder]

%AppDataFolder% - [AppDataFolder]

%CommonFilesFolder% - [CommonFilesFolder]

%LocalAppDataFolder% - [LocalAppDataFolder]

%ProgramFiles64Folder% - [ProgramFiles64Folder]

%System64Folder% - [System64Folder]

%SystemFolder% - [SystemFolder]

%TempFolder% - [TempFolder]

%Desktop% - [DesktopFolder]

상속: WixEntity
파일 보기 프로젝트 열기: Eun/WixSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DirFileCollections WixSharp.DirFiles[]
Dirs WixSharp.Dir[]
Feature Feature
FileCollections Files[]
Files File[]
MergeModules WixSharp.Merge[]
ODBCDataSources ODBCDataSource[]
Permissions DirPermission[]
Shortcuts WixSharp.ExeFileShortcut[]

공개 메소드들

메소드 설명
AddItems ( WixEntity items ) : void
Dir ( ) : System

Initializes a new instance of the Dir class.

Dir ( Feature feature, string targetPath ) : System

Initializes a new instance of the Dir class with properties/fields initialized with specified parameters

Dir ( Id id, Feature feature, string targetPath ) : System

Initializes a new instance of the Dir class with properties/fields initialized with specified parameters.

Dir ( Id id, string targetPath ) : System

Initializes a new instance of the Dir class with properties/fields initialized with specified parameters

Dir ( string targetPath ) : System

Initializes a new instance of the Dir class with properties/fields initialized with specified parameters

ToString ( ) : string

Defines the launch Condition, which is to be checked during the installation to determine if the directory should be installed.

Returns the WiX Directory as a string.

비공개 메소드들

메소드 설명
Dir ( Feature feature, string targetPath, Project project ) : System
GetRootAutoParent ( ) : Dir
HastemsToInstall ( ) : bool
IsAutoParent ( ) : bool
ProcessTargetPath ( string targetPath ) : Dir
ToFlatPathTree ( string path ) : string[]

메소드 상세

AddItems() 공개 메소드

public AddItems ( WixEntity items ) : void
items WixEntity
리턴 void

Dir() 공개 메소드

Initializes a new instance of the Dir class.
public Dir ( ) : System
리턴 System

Dir() 공개 메소드

Initializes a new instance of the Dir class with properties/fields initialized with specified parameters
public Dir ( Feature feature, string targetPath ) : System
feature Feature the directory should be included in.
targetPath string The name of the directory. Note if the directory is a root installation directory targetPath must /// be specified as a full path. However if the directory is a nested installation directory the name must be a directory name only.
리턴 System

Dir() 공개 메소드

Initializes a new instance of the Dir class with properties/fields initialized with specified parameters.
public Dir ( Id id, Feature feature, string targetPath ) : System
id Id The explicit to be associated with instance.
feature Feature the directory should be included in.
targetPath string The name of the directory. Note if the directory is a root installation directory targetPath must /// be specified as a full path. However if the directory is a nested installation directory the name must be a directory name only.
리턴 System

Dir() 공개 메소드

Initializes a new instance of the Dir class with properties/fields initialized with specified parameters
public Dir ( Id id, string targetPath ) : System
id Id The explicit to be associated with instance.
targetPath string The name of the directory. Note if the directory is a root installation directory targetPath must /// be specified as a full path. However if the directory is a nested installation directory the name must be a directory name only.
리턴 System

Dir() 공개 메소드

Initializes a new instance of the Dir class with properties/fields initialized with specified parameters
public Dir ( string targetPath ) : System
targetPath string The name of the directory. Note if the directory is a root installation directory targetPath must /// be specified as a full path. However if the directory is a nested installation directory the name must be a directory name only.
리턴 System

ToString() 공개 메소드

Defines the launch Condition, which is to be checked during the installation to determine if the directory should be installed. Returns the WiX Directory as a string.
public ToString ( ) : string
리턴 string

프로퍼티 상세

DirFileCollections 공개적으로 프로퍼티

Collection of the DirFiles objects. DirFiles type is used to specify files contained by a specific directory with wildcard character pattern. Files in subdirectories are not included.

DirFiles type is related to but not identical to Files, which defines files of not only a single level directory but all subdirectories as well.

public DirFiles[],WixSharp DirFileCollections
리턴 WixSharp.DirFiles[]

Dirs 공개적으로 프로퍼티

Collection of the contained nested Dirs (subdirectories).
public Dir[],WixSharp Dirs
리턴 WixSharp.Dir[]

Feature 공개적으로 프로퍼티

the directory belongs to.
public Feature,WixSharp Feature
리턴 Feature

FileCollections 공개적으로 프로퍼티

Collection of the Files objects. Files type is used to specify files contained by a specific directory and all subdirectories with wildcard character pattern.

Files type is related to but not identical to DirFiles, which defines only files of a single level directory.

public Files[] FileCollections
리턴 Files[]

Files 공개적으로 프로퍼티

Collection of the contained Files.
public File[] Files
리턴 File[]

MergeModules 공개적으로 프로퍼티

Collection of the contained Merge modules.
public Merge[],WixSharp MergeModules
리턴 WixSharp.Merge[]

ODBCDataSources 공개적으로 프로퍼티

Collection of WiX/MSI ODBCDataSource objects to be created during the installed.
public ODBCDataSource[] ODBCDataSources
리턴 ODBCDataSource[]

Permissions 공개적으로 프로퍼티

Collection of directory permissions to be applied to this directory.
public DirPermission[] Permissions
리턴 DirPermission[]

Shortcuts 공개적으로 프로퍼티

Collection of the contained ExeFileShortcuts.
public ExeFileShortcut[],WixSharp Shortcuts
리턴 WixSharp.ExeFileShortcut[]