SolvexaRetail
Manual ยท On-Premise Installer
All TopicsBack to app

๐Ÿ“€ Windows Installer โ€” On-Premise / Enterprise

One .exe installs the whole stack on the customer's own Windows Server. Their SQL, their domain, no cloud dependency.

When to use this

The default deployment is SaaS cloud โ€” customers just sign up at solvexaretail.com. But some enterprise customers need on-premise for:

Prerequisites on the customer machine

๐Ÿ’ก If either prereq is missing, the installer aborts with a friendly download link. No half-installed state.

Install walkthrough

  1. Double-click SolvexaRetailHQ-Setup-<version>.exe (elevated / Run as administrator)
  2. Read + accept the EULA
  3. Pick install location (default C:\Program Files\Solvexa\Retail)
  4. Optional: tick "Desktop shortcut"
  5. Click Install. Files copy (~70 MB).
  6. Configure.exe launches automatically โ€” see next section
  7. Finish. Browser opens to http://localhost:5000

Configure.exe wizard โ€” SQL + service setup

After files land, Solvexa.Configure.exe runs. This is where you point Solvexa at your SQL Server.

  1. Server\Instance โ€” e.g. localhost\SQLEXPRESS or SQL01.local,1433
  2. Database name โ€” default MyRetailHQ
  3. Authentication โ€” pick Windows (uses your logged-in Windows identity) or SQL user (sa / SolvexaApp / whatever). Both work.
  4. Click Install โ€” this does 5 things in sequence:
    1. Tests the SQL connection
    2. Creates the MyRetailHQ database if missing
    3. Runs every Database\*.sql migration in filename order (idempotent โ€” safe to re-run)
    4. Writes appsettings.Production.json with the resolved connection string
    5. Registers SolvexaRetailHQ as an auto-start Windows Service, opens firewall port 5000, and starts the service
  5. Browser auto-opens to http://localhost:5000. Sign up as first user.
โš  Configure.exe requires administrator privileges (needs to touch Program Files, register a service, and open firewall). It'll UAC-prompt automatically.

Windows Service โ€” SolvexaRetailHQ

The app runs as a background Windows Service so it starts automatically on boot and survives reboots.

Manage from Services.msc or from an elevated cmd:

net stop SolvexaRetailHQ
net start SolvexaRetailHQ
sc query SolvexaRetailHQ

Reconfigure SQL later

If SQL moves, credentials rotate, or you want to migrate to a fresh DB, re-run Configure.exe:

Uninstall โ€” data-safe

Control Panel โ†’ Apps โ†’ Solvexa Retail HQ โ†’ Uninstall. What happens:

๐Ÿ’ก If the customer truly wants to wipe data, they drop the SQL database manually via SSMS or DROP DATABASE MyRetailHQ.

Build the .exe (developer / integrator)

For the team producing the installer to ship to customers:

  1. Install Inno Setup 6 on the build machine (free, one-time)
  2. cd D:\Projects\MyRetail\MyRetail.HQ\installer
  3. .\build.ps1
  4. Output: installer\out\SolvexaRetailHQ-Setup-1.0.0.exe

The build script:

  1. dotnet publish the app for win-x64 (framework-dependent โ€” customer has .NET 10 runtime)
  2. dotnet publish Configure.exe
  3. Invokes ISCC.exe on SolvexaRetail.iss

Ship the resulting single .exe to the customer via any channel (email, USB, download link). Everything they need is baked in.