2.5 KiB
2.5 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | ||
|---|---|---|---|---|---|---|
|
2026-04-17T16:13:20.076523+00:00 | zai-org/GLM-5-FP8 | 1 | db9235aae8cb1ff1 |
Properties
Purpose
This module provides assembly metadata and application-scoped configuration settings for the RegAddProductCode custom installer action. It exists to configure Windows Installer policy-related registry operations, specifically for managing secure repair whitelisting. The settings defined here are used during installation to register product codes that allow the application to be repaired without elevated privileges.
Public Interface
Settingsclass (internal sealed, partial) - Auto-generated settings class inheriting fromSystem.Configuration.ApplicationSettingsBase.static Settings Default { get; }- Returns the synchronized singleton instance of settings.string InstallerKey { get; }- Returns"SOFTWARE\\Policies\\Microsoft\\Windows\\Installer". Application-scoped setting.string MissingKey { get; }- Returns"No key at {0}". Format string template for missing key messages. Application-scoped setting.string ProductCode { get; }- Returns"{C4889149-0CAF-44C1-B226-8F6E73684DF4}". The GUID product code for this product. Application-scoped setting.string SecureRepairPolicy { get; }- Returns"SecureRepairPolicy". Application-scoped setting.string SecureRepairWhitelistKey { get; }- Returns"SOFTWARE\\Policies\\Microsoft\\Windows\\Installer\\SecureRepairWhitelist". Application-scoped setting.
Invariants
- All settings are application-scoped and read-only at runtime.
- The
ProductCodeGUID must be a valid Windows Installer product code format. - Registry key paths use double backslash escaping for .NET string literals.
Dependencies
- Depends on:
System.Configuration.ApplicationSettingsBase,System.Runtime.CompilerServices,System.Runtime.InteropServices. - Depended on by: The parent
RegAddProductCodeinstaller custom action module (inferred from namespace).
Gotchas
- The
MissingKeysetting contains a format placeholder{0}suggesting it's intended forstring.Format()usage, but the consuming code is not visible in this module. - The
ProductCodeGUID{C4889149-0CAF-44C1-B226-8F6E73684DF4}is hardcoded; if the actual product code changes, this setting must be updated manually.