This project generates the Windows MSI installer for SimAudioFixer.
- .NET 8 SDK
- WiX Toolset v5 (automatically restored via NuGet)
-
First, publish the main application:
cd SimAudioFixer.WPF dotnet publish -c Release -
Then build the installer:
cd SimAudioFixer.Installer dotnet build -c Release -
The MSI will be generated at:
SimAudioFixer.Installer\bin\Release\SimAudioFixer-Setup.msi
dotnet build SimAudioFixer.Installer -c ReleaseThis will automatically build and publish the WPF project first.
- Installs to
C:\Program Files\SimAudioFixer\ - Creates Start Menu shortcut
- Creates Desktop shortcut
- Registers in Add/Remove Programs with icon
- Removes all installed files
- Removes Start Menu and Desktop shortcuts
- Removes the scheduled task (if auto-start was enabled)
- Cleans up AppData folder
SimAudioFixer.Installer/
├── SimAudioFixer.Installer.wixproj # WiX project file
├── Package.wxs # Installer definition
├── Assets/
│ └── icon.ico # Application icon
└── README.md # This file
Edit Package.wxs and update the Version attribute:
<Package Name="SimAudioFixer"
Version="1.0.0.0" <!-- Change this -->
...>The UpgradeCode GUID must remain constant across versions to enable proper upgrades:
UpgradeCode="F3608E40-A1D8-46F7-AD9C-DA438215BDC6"Important: Never change this GUID after release!
- SimAudioFixer-Setup.msi (~51 MB) - Windows Installer package
- SimAudioFixer-Setup.wixpdb - Debug symbols (not needed for distribution)