Skip to content

Latest commit

 

History

History
89 lines (63 loc) · 1.95 KB

File metadata and controls

89 lines (63 loc) · 1.95 KB

SimAudioFixer Installer

This project generates the Windows MSI installer for SimAudioFixer.

Building the Installer

Prerequisites

  • .NET 8 SDK
  • WiX Toolset v5 (automatically restored via NuGet)

Build Commands

  1. First, publish the main application:

    cd SimAudioFixer.WPF
    dotnet publish -c Release
  2. Then build the installer:

    cd SimAudioFixer.Installer
    dotnet build -c Release
  3. The MSI will be generated at:

    SimAudioFixer.Installer\bin\Release\SimAudioFixer-Setup.msi
    

Or build everything at once:

dotnet build SimAudioFixer.Installer -c Release

This will automatically build and publish the WPF project first.

What the Installer Does

Installation

  • Installs to C:\Program Files\SimAudioFixer\
  • Creates Start Menu shortcut
  • Creates Desktop shortcut
  • Registers in Add/Remove Programs with icon

Uninstallation

  • Removes all installed files
  • Removes Start Menu and Desktop shortcuts
  • Removes the scheduled task (if auto-start was enabled)
  • Cleans up AppData folder

Project Structure

SimAudioFixer.Installer/
├── SimAudioFixer.Installer.wixproj  # WiX project file
├── Package.wxs                       # Installer definition
├── Assets/
│   └── icon.ico                      # Application icon
└── README.md                         # This file

Configuration

Changing Version

Edit Package.wxs and update the Version attribute:

<Package Name="SimAudioFixer"
         Version="1.0.0.0"   <!-- Change this -->
         ...>

UpgradeCode

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!

Output

  • SimAudioFixer-Setup.msi (~51 MB) - Windows Installer package
  • SimAudioFixer-Setup.wixpdb - Debug symbols (not needed for distribution)