Click or drag to resize

SetupActions Methods

The SetupActions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCheckProcessNotRunning
Checks a process is not started, throw if running. Requires UAC!
Public methodStatic memberExtractConfigFromSetup(String)
Gets a setup config from a MSS file.
Public methodStatic memberExtractConfigFromSetup(ArchiveExtractor)
Gets a setup config from a MSS file.
Public methodStatic memberGetInstallationPath
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).
Public methodStatic memberGetInstallationPath_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).
Public methodStatic memberGetInstallationPath_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).
Public methodStatic memberGetInstallationPathAndOrigin
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).
Public methodStatic memberGetInstallationPathAndOrigin_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).
Public methodStatic memberGetInstallationPathAndOrigin_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).
Public methodStatic memberInstall
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.
Public methodStatic memberInstallInDefaultFolder
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.
Public methodStatic memberPackageSetup
Packages built files in a Ticup Setup (.mss) file.
Public methodStatic memberUninstall
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.

Public methodStatic memberUnpackageSetup
Unpackages a Ticup Setup (.mss) file inside a given folder.
Top
See Also