Silent installation, updating, uninstalling
Installing and uninstalling silently
Section titled “Installing and uninstalling silently”Invoiceflair-Setup-<version>.exe /VERYSILENT /NORESTART:: defaults: port 5060, no HTTPS, no SMTP
unins000.exe /VERYSILENT /REMOVEDATA:: uninstall silently WITH the dataUpdating
Section titled “Updating”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\andlogs\
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.
Uninstalling
Section titled “Uninstalling”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.