SetupActions Class |
Namespace: MicaSystems.Utils.Setup
public static class SetupActions
The SetupActions type exposes the following members.
Name | Description | |
---|---|---|
EnableConsoleOutput |
Gets or sets a value indicating whether actions can send progression and information
messages to the console.
| |
StepDelay |
Gets or sets the delay duration (in mms) occuring between (un)installation steps.
Default: disabled (0). As some installation are almost instantaneous, it can be a good idea to insert a little delay between steps (e.g. 50ms) so the user can see the progression. |
Name | Description | |
---|---|---|
CheckProcessNotRunning |
Checks a process is not started, throw if running.
Requires UAC!
| |
ExtractConfigFromSetup(String) |
Gets a setup config from a MSS file.
| |
ExtractConfigFromSetup(ArchiveExtractor) |
Gets a setup config from a MSS file.
| |
GetInstallationPath |
Tries to get the path of the existing installation of an application.
If not found, returns null.
This method will also try to find the path of previous installation types (MSI/InstallShield).
| |
GetInstallationPath_FromConfig |
Tries to get the path of existing installation of an application (identified by its config file).
If not found, returns null.
This method will also try to find the path of previous installation types (MSI/InstallShield).
| |
GetInstallationPath_FromSetup |
Tries to get the path of existing installation of an application (identified by its MSS).
If not found, returns null.
This method will also try to find the path of previous installation types (MSI/InstallShield).
| |
GetInstallationPathAndOrigin |
Tries to get the path of the existing installation of an application.
If not found, returns null.
This method will also try to find the path of previous installation types (MSI/InstallShield).
| |
GetInstallationPathAndOrigin_FromConfig |
Tries to get the path of existing installation of an application (identified by its config file).
If not found, returns null.
This method will also try to find the path of previous installation types (MSI/InstallShield).
| |
GetInstallationPathAndOrigin_FromSetup |
Tries to get the path of existing installation of an application (identified by its MSS).
If not found, returns null.
This method will also try to find the path of previous installation types (MSI/InstallShield).
| |
Install |
Installs the specified Ticup Setup file on the current system.
This method can also be called for reparation and update.
Please note the installationFolderPath is required for a first installation.
| |
InstallInDefaultFolder |
Installs the specified Ticup Setup file on the current system.
This method can also be called for reparation and update.
Please note the installationFolderPath is required for a first installation.
| |
PackageSetup |
Packages built files in a Ticup Setup (.mss) file.
| |
Uninstall |
Uninstalls an application based on the specified setup file.
Very important note: this method starts a file suppression process waiting a few second before deleting the application files. The default delay is 5 seconds and can be adapted. If the current executable is located in the application directory, it should be closed within that delay. | |
UnpackageSetup |
Unpackages a Ticup Setup (.mss) file inside a given folder.
|
Name | Description | |
---|---|---|
SetupManagerFileName |
Name of a file packaged and installed with application.
That file is used to repair or uninstall the application
and is usually the Ticup setup console executable.
|