Click or drag to resize

SetupConfig Class

Contains settings of a Ticup Setup.
Inheritance Hierarchy
SystemObject
  MicaSystems.Utils.SetupSetupConfig

Namespace:  MicaSystems.Utils.Setup
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
[SerializableAttribute]
[DataContractAttribute]
public class SetupConfig

The SetupConfig type exposes the following members.

Constructors
  NameDescription
Public methodSetupConfig
Initializes a new instance of the SetupConfig class.
Top
Properties
  NameDescription
Public propertyAutoStartWithWindows
Gets or sets a value indicating whether the application should be launched when Windows starts.
Public propertyCompanyName
Gets or sets the name of the company owning the application.
Public propertyContact
Gets or sets the contact information (email address).
Public propertyDefaultInstallationDirectory
Gets or sets the default path of the installation directory. Use [PROGRAM] as prefix to specify the program files. E.g. "[PROGRAM]\MyCompany\MyApplication\".
Public propertyDisplayName
Gets or sets the application display name.
Public propertyExecutableName
Gets or sets name of the application startup executable.
Public propertyHelpLink
Gets or sets a link (can be email) to contact for help on this application.
Public propertyInfoUrl
Gets or sets the URL of the site presenting this application or company.
Public propertyName
Gets or sets the application internal name. Should be kept the same accross application versions. If it needs to change, the previous name should be added in the UpgradeProductInfo list (and in that case the publisher name is not optional and is based on the previous CompanyName).
Public propertyPackageRules
Gets or sets the rules indicating how to package the MSS file. See the SetupConfig_PackageRules class summary for more information.
Public propertyProductCode
Gets or sets the application product code. Should be kept the same accross application versions. Very important: is used to identify the application in the registry and is the key for application updates.
Public propertyUpgradeProductInfo
Gets or sets the list of product that can be upgraded. Why this list? Previous installations of MSI/InstallShield can be very difficult to identify in the registry because of their moving names based on a key changing for each version. Our setup will try to find the old keys bsaed on this list, using the only registry key property of these old systems containing a fixed value, "DisplayName". And the publisher name, if provided.
Public propertyVersion
Gets or sets the application version. Automatically set when the setup is built.
Top
Methods
  NameDescription
Public methodCheck
Checks the required fields are filled. Throws ValidationException if fields are missing.
Public methodEquals
Compares this object to another object.
(Overrides ObjectEquals(Object).)
Public methodGetDefaultInstallationPath
Gets the default installation path. [PROGRAM] is replaced by the program files path.
Public methodGetFormattedProductCode
Gets the product code formatted as used in the registry.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetKeyPath_Soft
Gets the path of the software key in the registry.
Public methodGetKeyPath_Uninstall32
Gets the path of the uninstall key in the registry (in a 32 bits context).
Public methodGetKeyPath_Uninstall64
Gets the path of the uninstall key in the registry (in a 64 bits context).
Public methodGetOldKeyPaths_Soft
Gets the list of paths referencing old (potential) software keys in the registry.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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