Méthode | Description | |
---|---|---|
AddAction ( this project ) : |
Adds the action.
|
|
AddAssociation ( this file ) : File |
Adds the file association.
|
|
AddBinary ( this project ) : |
Adds the binary.
|
|
AddDir ( this dir ) : |
Adds the dir.
|
|
AddDir ( this project ) : |
Adds the dir.
|
|
AddDirFileCollection ( this dir ) : |
Adds the dir file collection.
|
|
AddEnvironmentVariable ( this project ) : |
Adds the environment variable.
|
|
AddFile ( this dir ) : |
Adds the file.
|
|
AddFileCollection ( this dir ) : |
Adds the file collection.
|
|
AddMergeModule ( this dir ) : |
Adds the merge module.
|
|
AddProperty ( this project ) : |
Adds the property.
|
|
AddRefAssembly ( this action ) : |
Adds the assembly reference.
|
|
AddRegValue ( this project ) : |
Adds the registry value.
|
|
AddShortcut ( this dir ) : |
Adds the shortcut.
|
|
AddShortcut ( this file ) : File |
Adds the shortcut.
|
|
BuildBootstrapper ( string prerequisiteFile, string primaryFile, string outputFile, string prerequisiteRegKeyValue ) : string |
Builds the bootstrapper.
|
|
BuildBootstrapper ( string prerequisiteFile, string primaryFile, string outputFile, string prerequisiteRegKeyValue, bool doNotPostVerifyPrerequisite ) : string |
Builds the bootstrapper.
|
|
BuildBootstrapper ( string prerequisiteFile, string primaryFile, string outputFile, string prerequisiteRegKeyValue, bool doNotPostVerifyPrerequisite, string optionalArguments ) : string |
Builds the bootstrapper.
|
|
DigitalySign ( string fileToSign, string pfxFile, string timeURL, string password ) : int |
Applies digital signature to a file (e.g. msi, exe, dll) with MS If you need to specify extra SignTool.exe parameters or the location of the tool use the overloaded
|
|
DigitalySign ( string fileToSign, string pfxFile, string timeURL, string password, string optionalArguments = null, string wellKnownLocations = null ) : int |
Applies digital signature to a file (e.g. msi, exe, dll) with MS
|
|
GetFileVersion ( string file ) : System.Version |
Gets the file version.
|
|
ImportRegFile ( this project, string regFile ) : |
Imports the reg file. It is nothing else but an extension method version of the 'plain' T:WixSharp.CommonTasks.Tasks.ImportRegFile.
|
|
ImportRegFile ( string regFile ) : WixSharp.RegValue[] |
Imports the reg file.
|
|
InjectClrDialog ( this project, string showDialogMethod, string prevDialog, string nextDialog ) : |
Injects CLR dialog between MSI dialogs 'prevDialog' and 'nextDialog'. Passes custom action CLR method name (showDialogMethod) for instantiating and popping up the CLR dialog.
|
|
InstallService ( string serviceFile, bool isInstalling ) : string |
Installs the windows service. It uses InstallUtil.exe to complete the actual installation/uninstallation. During the run for the InstallUtil.exe console window is hidden. /// If any error occurred the console output is captured and embedded into the raised Exception object.
|
|
RemoveDialogsBetween ( this project, string start, string end ) : |
Removes the dialogs between specified two dialogs. It simply connects 'next' button of the start dialog with the 'NewDialog' action associated with the end dialog. And vise versa for the 'back' button.
|
|
SetConfigAttribute ( this config, string elementPath, string value ) : System.Xml.Linq.XElement |
Sets the value of the attribute value in the .NET application configuration file according the specified XPath expression. This simple routine is to be used for the customization of the installed config files (e.g. in the deferred custom actions).
|
|
SetConfigAttribute ( string configFile, string elementPath, string value ) : void |
Sets the value of the attribute value in the .NET application configuration file according the specified XPath expression. This simple routine is to be used for the customization of the installed config files (e.g. in the deferred custom actions).
|
|
SetNetFxPrerequisite ( this project, string versionCondition, string errorMessage = null ) : |
Binds the LaunchCondition to the The typical conditions are: NETFRAMEWORK20="#1" NETFRAMEWORK40FULL="#1" NETFRAMEWORK35="#1" NETFRAMEWORK30_SP_LEVEL and NOT NETFRAMEWORK30_SP_LEVEL='#0' ... The full list of names and values can be found here http://wixtoolset.org/documentation/manual/v3/customactions/wixnetfxextension.html
|
|
SetVersionFrom ( this project, string fileId ) : |
Sets the Project version from the file version of the file specified by it's ID. This method sets project WixSourceGenerated event handler and injects "!(bind.FileVersion.<file ID>" into the XML Product's Version attribute.
|
|
StartService ( string service, bool throwOnError = true ) : string |
Starts the windows service. It uses sc.exe to complete the action. During the action console window is hidden. If any error occurred the console output is captured and embedded into the raised Exception object.
|
|
StopService ( string service, bool throwOnError = true ) : string |
Stops the windows service. It uses sc.exe to complete the action. During the action console window is hidden. If any error occurred the console output is captured and embedded into the raised Exception object.
|
Méthode | Description | |
---|---|---|
AddEnvironmentVariabl ( this project ) : |
||
InjectClrDialogInFeatureTreeUI ( this project, string showDialogMethod, string prevDialog, string nextDialog ) : |
||
ServiceDo ( string action, string service, bool throwOnError ) : string | ||
SetClrPrerequisite ( this project, string version, string errorMessage = null ) : |
public static AddAction ( this project ) : |
||
project | this | The project. |
Résultat |
public static AddAssociation ( this file ) : File | ||
file | this | The file. |
Résultat | File |
public static AddBinary ( this project ) : |
||
project | this | The project. |
Résultat |
public static AddDir ( this dir ) : |
||
dir | this | The dir. |
Résultat |
public static AddDir ( this project ) : |
||
project | this | The project. |
Résultat |
public static AddDirFileCollection ( this dir ) : |
||
dir | this | The dir. |
Résultat |
public static AddEnvironmentVariable ( this project ) : |
||
project | this | The project. |
Résultat |
public static AddFile ( this dir ) : |
||
dir | this | The dir. |
Résultat |
public static AddFileCollection ( this dir ) : |
||
dir | this | The dir. |
Résultat |
public static AddMergeModule ( this dir ) : |
||
dir | this | The dir. |
Résultat |
public static AddProperty ( this project ) : |
||
project | this | The project. |
Résultat |
public static AddRefAssembly ( this action ) : |
||
action | this | The action. |
Résultat |
public static AddRegValue ( this project ) : |
||
project | this | The project. |
Résultat |
public static AddShortcut ( this dir ) : |
||
dir | this | The dir. |
Résultat |
public static AddShortcut ( this file ) : File | ||
file | this | The file. |
Résultat | File |
public static BuildBootstrapper ( string prerequisiteFile, string primaryFile, string outputFile, string prerequisiteRegKeyValue ) : string | ||
prerequisiteFile | string | The prerequisite file. |
primaryFile | string | The primary setup file. |
outputFile | string | The output (bootsrtapper) file. |
prerequisiteRegKeyValue | string | The prerequisite registry key value.
/// PrerequisiteRegKeyValue = @"HKLM:Software\My Company\My Product:Installed";
/// Existence of the specified registry value at runtime is interpreted as an indication of the |
Résultat | string |
public static BuildBootstrapper ( string prerequisiteFile, string primaryFile, string outputFile, string prerequisiteRegKeyValue, bool doNotPostVerifyPrerequisite ) : string | ||
prerequisiteFile | string | The prerequisite file. |
primaryFile | string | The primary setup file. |
outputFile | string | The output (bootsrtapper) file. |
prerequisiteRegKeyValue | string | The prerequisite registry key value.
/// PrerequisiteRegKeyValue = @"HKLM:Software\My Company\My Product:Installed";
/// Existence of the specified registry value at runtime is interpreted as an indication of the |
doNotPostVerifyPrerequisite | bool | The flag which allows you to disable verification of |
Résultat | string |
public static BuildBootstrapper ( string prerequisiteFile, string primaryFile, string outputFile, string prerequisiteRegKeyValue, bool doNotPostVerifyPrerequisite, string optionalArguments ) : string | ||
prerequisiteFile | string | The prerequisite file. |
primaryFile | string | The primary setup file. |
outputFile | string | The output (bootsrtapper) file. |
prerequisiteRegKeyValue | string | The prerequisite registry key value.
/// PrerequisiteRegKeyValue = @"HKLM:Software\My Company\My Product:Installed";
/// Existence of the specified registry value at runtime is interpreted as an indication of the |
doNotPostVerifyPrerequisite | bool | The flag which allows you to disable verification of |
optionalArguments | string | The optional arguments for the bootstrapper compiler. |
Résultat | string |
public static DigitalySign ( string fileToSign, string pfxFile, string timeURL, string password ) : int | ||
fileToSign | string | The file to sign. |
pfxFile | string | Specify the signing certificate in a file. If this file is a PFX with a password, the password may be supplied
/// with the |
timeURL | string | The timestamp server's URL. If this option is not present, the signed file will not be timestamped. /// A warning is generated if timestamping fails. |
password | string | The password to use when opening the PFX file. |
Résultat | int |
public static DigitalySign ( string fileToSign, string pfxFile, string timeURL, string password, string optionalArguments = null, string wellKnownLocations = null ) : int | ||
fileToSign | string | The file to sign. |
pfxFile | string | Specify the signing certificate in a file. If this file is a PFX with a password, the password may be supplied
/// with the |
timeURL | string | The timestamp server's URL. If this option is not present (pass to null), the signed file will not be timestamped. /// A warning is generated if timestamping fails. |
password | string | The password to use when opening the PFX file. Should be |
optionalArguments | string | Extra arguments to pass to the |
wellKnownLocations | string | The optional ';' separated list of directories where SignTool.exe can be located. /// If this parameter is not specified WixSharp will try to locate the SignTool in the built-in well-known locations (system PATH) |
Résultat | int |
public static GetFileVersion ( string file ) : System.Version | ||
file | string | The path to the file. |
Résultat | System.Version |
public static ImportRegFile ( this project, string regFile ) : |
||
project | this | The project object. |
regFile | string | The reg file. |
Résultat |
public static ImportRegFile ( string regFile ) : WixSharp.RegValue[] | ||
regFile | string | The reg file. |
Résultat | WixSharp.RegValue[] |
public static InjectClrDialog ( this project, string showDialogMethod, string prevDialog, string nextDialog ) : |
||
project | this | The project. |
showDialogMethod | string | The show dialog method. |
prevDialog | string | The previous dialog. |
nextDialog | string | The next dialog. |
Résultat |
public static InstallService ( string serviceFile, bool isInstalling ) : string | ||
serviceFile | string | The service file. |
isInstalling | bool | if set to |
Résultat | string |
public static RemoveDialogsBetween ( this project, string start, string end ) : |
||
project | this | The project. |
start | string | The start. |
end | string | The end. |
Résultat |
public static SetConfigAttribute ( this config, string elementPath, string value ) : System.Xml.Linq.XElement | ||
config | this | The configuration file element. |
elementPath | string | The element XPath value. It should include the attribute name. |
value | string | The value to be set to the attribute. |
Résultat | System.Xml.Linq.XElement |
public static SetConfigAttribute ( string configFile, string elementPath, string value ) : void | ||
configFile | string | The configuration file. |
elementPath | string | The element XPath value. It should include the attribute name. |
value | string | The value to be set to the attribute. |
Résultat | void |
public static SetNetFxPrerequisite ( this project, string versionCondition, string errorMessage = null ) : |
||
project | this | The project. |
versionCondition | string | Condition expression. /// |
errorMessage | string | The error message to be displayed if .NET version is not present. |
Résultat |
public static SetVersionFrom ( this project, string fileId ) : |
||
project | this | The project. |
fileId | string | The file identifier. |
Résultat |
public static StartService ( string service, bool throwOnError = true ) : string | ||
service | string | The service. |
throwOnError | bool | if set to |
Résultat | string |
public static StopService ( string service, bool throwOnError = true ) : string | ||
service | string | The service. |
throwOnError | bool | if set to |
Résultat | string |