C# Класс WixSharp.Extensions

Collection of generic WixSharp extension methods
Показать файл Открыть проект

Открытые методы

Метод Описание
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