A simple tool to generate autounattend.xml for Windows 11 installation.
Currently implemented:
- ✅ MainForm UI with complete layout
- ✅ GeneralConfig section with all specified controls
- ✅ Status bar with proper status messages
- ✅ Control buttons (Settings, Reset, Generate, Cancel)
- ✅ Product Key input with 5 text fields and automatic navigation
- ✅ Windows Edition dropdown
- ✅ PC Name input with validation placeholder
- ✅ CPU Architecture selection
- ✅ Form closing validation for unsaved changes
- ✅ Real-time field validation with visual feedback
- ✅ Error styling for invalid fields (red background/text)
- ✅ Status bar error messages for validation failures
- ✅ Collapsible/Expandable GeneralConfig section
- ✅ Proper header styling (12pt bold font)
- ✅ Centralized defaults system (default.json)
- ✅ JSON-based configuration loading
- ✅ Complete theme system (Themes.cs)
- ✅ Centralized font, color, and style management
- Open terminal in the project root directory
- Run the following command:
dotnet runOr build and run:
dotnet build
dotnet run- Windows Edition: Dropdown with Windows 11 editions (Home, Pro, Education, Enterprise)
- Product Key: 5 text fields with automatic navigation and character validation
- PC Name: Text field with placeholder and validation info
- CPU Architecture: Dropdown for x64 and ARM64 architectures
- Settings: Placeholder for future settings functionality
- Reset: Resets all configuration to default values
- Generate: Creates autounattend.xml file (placeholder implementation)
- Cancel: Closes the application with unsaved changes warning
- Shows current save status: "", "Unsaved changes", "All changes saved", "Default settings loaded"
- Displays validation error messages in real-time
- PC Name: 1-15 characters, alphanumeric and hyphens only (A-Z, a-z, 0-9, -)
- Product Key: 5 alphanumeric characters per field (optional, can be left empty)
- Real-time validation: Fields are validated as you type
- Visual feedback: Invalid fields show red background and text color
- Status bar integration: First validation error is displayed in status bar
- Generate button: Prevents generation if validation errors exist
- Built with .NET 8.0 and Windows Forms
- UI follows the specifications in
docs/DOCS.md - All backend logic is placeholder - focus was on UI implementation
- Other configuration sections (LangRegionConfig, DiskConfig, etc.) are not yet implemented
- Settings/About/Help forms are not implemented
- Implement remaining configuration sections
- Add actual XML generation logic
- Implement Settings, About, and Help forms
- Add icon loading functionality
- Add theme support
- Add language localization support