C# Class WixSharp.Extensions

Collection of generic WixSharp extension methods
Afficher le fichier Open project: Eun/WixSharp

Méthodes publiques

Méthode Description
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.

Method Details

AsWixVarToPath() public static méthode

'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.
Résultat string

Is64OS() public static méthode

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