Windows Deployment
This guide explains how to install, upgrade, or remove SyncNow on Windows.
When you install SyncNow, a Windows service named SyncNow Service
will be created to run the application in the background. This service ensures that SyncNow starts automatically with Windows and runs continuously without requiring user intervention.
Prerequisites
- Ensure you have administrator permissions.
- Extract the SyncNow compressed archive.
- If using SQL Server or PostgreSQL:
- Create a user and a database for SyncNow.
- Grant full privileges to the database user.
Installation
-
Open a command prompt as Administrator.
-
Navigate to the SyncNow folder.
-
Run:
Install.bat Install
To install a staging service with the name
SyncNow Staging Service
and port5050
, run:Install.bat Install Test
-
Accept the license agreement (
Y
). -
If using an external database (PostgreSQL or MSSQL), do not start the service yet. Edit
appsettings.json
:- Set the database type (
SQLite
,SQLServer
,PostgreSQL
). - Configure database connection settings.
- If using Windows authentication (MSSQL), set
WindowsAuth=True
.
- Set the database type (
-
Start SyncNow:
sc start SyncNowService
-
Open
http://localhost:5030
in your browser to verify installation. -
Log in with:
- Username:
admin@SyncNow.Local
- Password:
Admin
(change immediately).
- Username:
Uninstall
- Open a command prompt as Administrator.
- Navigate to the SyncNow folder.
- Run:
Install.bat Remove
- Delete the SyncNow folder if needed.
Upgrade
-
Backup the existing SyncNow folder.
-
Extract the new SyncNow files to a temporary location.
-
Open a command prompt as Administrator.
-
Run:
Install.bat Upgrade C:\SyncNow\Service
-
Confirm the backup (
Y
). -
SyncNow will upgrade automatically.
-
Verify the service is running:
sc query SyncNowService