Skip to content

Silent installation, updating, uninstalling

Terminal-Fenster
Invoiceflair-Setup-<version>.exe /VERYSILENT /NORESTART
:: defaults: port 5060, no HTTPS, no SMTP
unins000.exe /VERYSILENT /REMOVEDATA
:: uninstall silently WITH the data

The new setup recognises the existing installation from HKLM\Software\Invoiceflair\Portal, skips the network and email pages, and prefills the data directory with the previous path.

Left untouched are:

  • appsettings.Production.json
  • the data directory
  • keys\, usage\, .aspnet\ and logs\

Only the program files are replaced. The database schema migrates automatically on first start — embedded migrations that are applied exactly once, tracked through a schema_version table.

The uninstaller stops and removes the service, deletes the firewall rules and the program directory — and then asks explicitly whether the data should be deleted as well (default: no).

In silent mode the data is retained unless /REMOVEDATA is set.