46 lines
2.5 KiB
Markdown
46 lines
2.5 KiB
Markdown
---
|
|
source_files:
|
|
- DataPRO/Modules/InstallerCustomActions/Common/Properties/AssemblyInfo.cs
|
|
- DataPRO/Modules/InstallerCustomActions/Common/Properties/Settings.Designer.cs
|
|
generated_at: "2026-04-17T16:25:38.817230+00:00"
|
|
model: "zai-org/GLM-5-FP8"
|
|
schema_version: 1
|
|
sha256: "ed8c28138f9017aa"
|
|
---
|
|
|
|
# Properties
|
|
|
|
### Purpose
|
|
This module provides assembly metadata and strongly-typed application settings for the `Installer.Common` assembly. It defines registry path constants and key names used for locating installed products, components, and configuration information related to DataPRO installations. These settings support Windows Installer custom actions that query the registry for installation state.
|
|
|
|
### Public Interface
|
|
|
|
**`Common.Properties.Settings`** (internal sealed partial class)
|
|
- Inherits from `global::System.Configuration.ApplicationSettingsBase`
|
|
- `public static Settings Default { get; }` - Returns a synchronized singleton instance.
|
|
|
|
**Registry Path Settings** (all application-scoped, read-only):
|
|
|
|
| Property Name | Type | Default Value |
|
|
|---------------|------|---------------|
|
|
| `RegistrySoftwareInstalledProducts` | `string` | `SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products` |
|
|
| `RegistryInstallProperties` | `string` | `InstallProperties` |
|
|
| `RegistryDisplayName` | `string` | `DisplayName` |
|
|
| `RegistryDataPRO` | `string` | `DataPRO` |
|
|
| `RegistryDisplayVersion` | `string` | `DisplayVersion` |
|
|
| `RegistrySoftwareInstalledComponents` | `string` | `SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Components` |
|
|
| `RegistryDataPROExeConfig` | `string` | `DataPRO.exe.config` |
|
|
| `RegistryInstallLocation` | `string` | `InstallLocation` |
|
|
| `DTSSuite` | `string` | `DTS.Suite` |
|
|
|
|
### Invariants
|
|
- All settings are `ApplicationScopedSettingAttribute`, meaning they are read-only at runtime and must be modified via the `.config` file or by regenerating the settings.
|
|
- The registry paths target the `S-1-5-18` SID (LOCAL_SYSTEM account), indicating these settings are designed for machine-level installer queries, not per-user installations.
|
|
- The `Settings` class is `internal sealed`, restricting access to the `Installer.Common` assembly.
|
|
|
|
### Dependencies
|
|
- **Depends on**: `System.Configuration.ApplicationSettingsBase`, `System.Diagnostics`, `System.Configuration` attributes
|
|
- **Depended on by**: Cannot be determined from source alone (likely consumed by custom action classes within Installer.Common)
|
|
|
|
### Gotchas
|
|
- The registry paths hardcode `S-1-5-18` (LOCAL_SYSTEM). |