Files
2026-04-17 14:55:32 -04:00

2.9 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/Modules/InstallerCustomActions/WarnWindows11/Properties/Settings.Designer.cs
DataPRO/Modules/InstallerCustomActions/WarnWindows11/Properties/AssemblyInfo.cs
DataPRO/Modules/InstallerCustomActions/WarnWindows11/Properties/Resources.Designer.cs
2026-04-17T16:12:01.654860+00:00 zai-org/GLM-5-FP8 1 644d433cfac6866f

Properties

Purpose

This module provides the build configuration and localized resources for the WarnWindows11 installer custom action. It exists to surface a Windows 11 compatibility warning to users during installation, specifically regarding Microsoft SQL Server installation requirements on Windows 11. The module contains auto-generated designer files for application settings and resources, along with assembly metadata.

Public Interface

Settings class (internal sealed, partial)

  • static Settings Default { get; } - Returns the synchronized singleton instance of application settings. Inherits from global::System.Configuration.ApplicationSettingsBase.

Resources class (internal sealed)

  • static ResourceManager ResourceManager { get; } - Returns the cached ResourceManager instance for the WarnWindows11.Properties.Resources resource bundle.
  • static CultureInfo Culture { get; set; } - Gets or sets the current thread's CurrentUICulture for resource lookups.
  • static string WARNING_WINDOWS11 { get; } - Returns the localized warning message about SQL Server installation on Windows 11, referencing a Microsoft troubleshooting URL for 4KB disk sector size issues.

Invariants

  • The Settings class is a thread-safe singleton via Synchronized().
  • The Resources.ResourceManager property lazily initializes exactly once.
  • The WARNING_WINDOWS11 resource string must exist in the corresponding .resx file; otherwise, the property will return null.
  • All classes in this module are internal and not accessible outside the assembly.

Dependencies

  • Depends on: System.Configuration (for ApplicationSettingsBase), System.Resources (for ResourceManager), System.Globalization (for CultureInfo), System.Windows (for WPF theme support via ThemeInfo attribute).
  • Depended on by: The parent WarnWindows11 assembly and any code within that assembly requiring access to settings or localized resources.

Gotchas

  • The Settings.Designer.cs and Resources.Designer.cs files are auto-generated by Visual Studio tools (SettingsSingleFileGenerator and StronglyTypedResourceBuilder). Manual changes will be overwritten on regeneration.
  • The WARNING_WINDOWS11 string contains a hardcoded Microsoft Learn URL; changes to the URL or documentation location would require updating the .resx file.
  • The AssemblyInfo.cs has an empty AssemblyDescription and AssemblyCompany, which may need to be populated for production builds.