Ashirwada POS – Installation & Bridge Setup

Follow the steps below to install the Ashirwada POS application on Windows and set up the PAX bridge.

1) Download the required files

Download Windows MDM Download Certificate (.cer) Download AppInstaller Download Card Machine Drivers (PAX) Download XPrinter Drivers

Tip: Your browser will save these files to your Downloads folder by default.

2) Open PowerShell (Admin) and go to Downloads

Important: Right-click Windows PowerShellRun as administrator. The next commands require admin privileges. If scripts are blocked, run Set-ExecutionPolicy RemoteSigned (then choose Y).
cd $env:USERPROFILE\Downloads
dir
    

3) Install the certificate (PowerShell)

certutil -addstore Root "AshirwadaPublishers.cer"
certutil -addstore TrustedPeople "AshirwadaPublishers.cer"
    

4) Copy paste and run in Admin PowerShell

Reserve the local address for the ECR bridge service to avoid permission issues:

Get-AppxPackage -Name *Ashirwada*

Then CD into path

param(
  [string]$PublishDir = ".\data\flutter_assets\windows\bridge",
  [string]$TargetDir = "$env:LOCALAPPDATA\AshirwadaPOS\ECR\bin"
)

Write-Host "PublishDir: $PublishDir"
Write-Host "TargetDir : $TargetDir"

New-Item -ItemType Directory -Force -Path $TargetDir | Out-Null
Copy-Item -Path (Join-Path $PublishDir "*") -Destination $TargetDir -Recurse -Force

try {
  & netsh http add urlacl url=http://127.0.0.1:7777/ user=Everyone | Out-Null
  Write-Host "URLACL added for http://127.0.0.1:7777/"
} catch {
  Write-Host "URLACL may already exist or requires Admin. Error: $($_.Exception.Message)"
}

Write-Host "Deployed bridge to $TargetDir"
Write-Host "You can run: `"$TargetDir\PaxEcrBridgeHost.exe`""
    

5) Install the app

Double-click ashirwada_pos.appinstaller in your Downloads folder and follow the prompts.

6) (Optional) Install Card Machine Drivers

Extract PAX Drivers.rar and run the appropriate installer for your card machine model. If Windows SmartScreen appears, choose More info → Run anyway (if you trust the source).

7) Test the ECR Bridge

Use these PowerShell commands to verify the bridge:

Invoke-RestMethod http://127.0.0.1:7777/health
Invoke-RestMethod http://127.0.0.1:7777/check_status_usb
    

8) Run the VerneMQ stack (Docker)

If you downloaded vernemq-stack.zip, extract it and run Docker Compose inside that folder:

# Windows (PowerShell)
Expand-Archive -Path .\vernemq-stack.zip -DestinationPath .\vernemq-stack -Force
cd .\vernemq-stack
docker compose up -d
    
# macOS / Linux (Terminal)
unzip vernemq-stack.zip && cd vernemq-stack
docker compose up -d
    

All set!

You can now launch Ashirwada POS from the Start menu.