Click or drag to resize

SetupLocalConfig Class

From a SetupConfig, analyze the current system for information about an existing installation of the application.
Inheritance Hierarchy
SystemObject
  MicaSystems.Utils.SetupSetupLocalConfig

Namespace:  MicaSystems.Utils.Setup
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public class SetupLocalConfig

The SetupLocalConfig type exposes the following members.

Constructors
  NameDescription
Public methodSetupLocalConfig
Initializes a new instance of the SetupLocalConfig class.
Top
Properties
  NameDescription
Public propertyConfig
Gets the setup configuration.
Public propertyInstallationPath
Gets the path hosting the application on the current system.
Public propertyInstallationPathOrigin
Gets the type of source containing the installation path, used by our setup to get it.
Public propertyKeys
Gets the list of registry keys used by our setup. The presence of such keys indicates that the application has already been installed with our setup.
Public propertyOldKeys
Gets the list of old registry keys, obtained from upgrade information. These keys are destroyed during the installation to only keep the clean keys. Can indicate that:

-A previous installation (MSI/InstallShield) has been detected.

-The product code has changed and these keys represent an old version of the application.

Top
Methods
  NameDescription
Protected methodFinalize
Finalizes an instance of the SetupLocalConfig class.
(Overrides ObjectFinalize.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetInstalledVersion
Tries the get the version number of the application currently installed on the system.
Public methodUpdate
Updates all info.
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also