C# 클래스 WixSharp.Extensions

Collection of generic WixSharp extension methods
파일 보기 프로젝트 열기: Eun/WixSharp

공개 메소드들

메소드 설명
AsWixVarToPath ( this path ) : string

'Interprets' a string as a WiX constant and expands into a proper Fiel System path. For example "DesktopFolder" will be expanded into "[SysDrive]:\Users\[user]\Desktop". Tis method is a logical equivalent of C# Environment.GetFolderPath. Though it handles discrepancies between 'special folders' mapping in .NET and WiX. The method will always be called from x86 runtime as MSI always loads ManagedUI in x86 host. From the other hand CustomActions are called in the deployment specific CPU type context.

Is64OS ( ) : bool

Returns true if the OS (this routine is executed on) has an x64 CPU architecture.

메소드 상세

AsWixVarToPath() 공개 정적인 메소드

'Interprets' a string as a WiX constant and expands into a proper Fiel System path. For example "DesktopFolder" will be expanded into "[SysDrive]:\Users\[user]\Desktop". Tis method is a logical equivalent of C# Environment.GetFolderPath. Though it handles discrepancies between 'special folders' mapping in .NET and WiX. The method will always be called from x86 runtime as MSI always loads ManagedUI in x86 host. From the other hand CustomActions are called in the deployment specific CPU type context.
public static AsWixVarToPath ( this path ) : string
path this The path.
리턴 string

Is64OS() 공개 정적인 메소드

Returns true if the OS (this routine is executed on) has an x64 CPU architecture.
public static Is64OS ( ) : bool
리턴 bool