SetupConfig Class |
Namespace: MicaSystems.Utils.Setup
[SerializableAttribute] [DataContractAttribute] public class SetupConfig
The SetupConfig type exposes the following members.
Name | Description | |
---|---|---|
SetupConfig |
Initializes a new instance of the SetupConfig class.
|
Name | Description | |
---|---|---|
AutoStartWithWindows |
Gets or sets a value indicating whether the application should be launched when Windows starts.
| |
CompanyName |
Gets or sets the name of the company owning the application.
| |
Contact |
Gets or sets the contact information (email address).
| |
DefaultInstallationDirectory |
Gets or sets the default path of the installation directory.
Use [PROGRAM] as prefix to specify the program files.
E.g. "[PROGRAM]\MyCompany\MyApplication\".
| |
DisplayName |
Gets or sets the application display name.
| |
ExecutableName |
Gets or sets name of the application startup executable.
| |
HelpLink |
Gets or sets a link (can be email) to contact for help on this application.
| |
InfoUrl |
Gets or sets the URL of the site presenting this application or company.
| |
Name |
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).
| |
PackageRules |
Gets or sets the rules indicating how to package the MSS file.
See the SetupConfig_PackageRules class summary for more information.
| |
ProductCode |
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.
| |
UpgradeProductInfo |
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.
| |
Version |
Gets or sets the application version. Automatically set when the setup is built.
|
Name | Description | |
---|---|---|
Check |
Checks the required fields are filled.
Throws ValidationException if fields are missing.
| |
Equals |
Compares this object to another object.
(Overrides ObjectEquals(Object).) | |
GetDefaultInstallationPath |
Gets the default installation path.
[PROGRAM] is replaced by the program files path.
| |
GetFormattedProductCode |
Gets the product code formatted as used in the registry.
| |
GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.) | |
GetKeyPath_Soft |
Gets the path of the software key in the registry.
| |
GetKeyPath_Uninstall32 |
Gets the path of the uninstall key in the registry (in a 32 bits context).
| |
GetKeyPath_Uninstall64 |
Gets the path of the uninstall key in the registry (in a 64 bits context).
| |
GetOldKeyPaths_Soft |
Gets the list of paths referencing old (potential) software keys in the registry.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |