Skip to main content

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

  1. Open a command prompt as Administrator.

  2. Navigate to the SyncNow folder.

  3. Run:

    Install.bat Install
    

    To install a staging service with the name SyncNow Staging Service and port 5050, run:

    Install.bat Install Test
    
  4. Accept the license agreement (Y).

  5. 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.
  6. Start SyncNow:

    sc start SyncNowService
    
  7. Open http://localhost:5030 in your browser to verify installation.

  8. Log in with:

    • Username: admin@SyncNow.Local
    • Password: Admin (change immediately).

Uninstall

  1. Open a command prompt as Administrator.
  2. Navigate to the SyncNow folder.
  3. Run:
    Install.bat Remove
    
  4. Delete the SyncNow folder if needed.

Upgrade

  1. Backup the existing SyncNow folder.

  2. Extract the new SyncNow files to a temporary location.

  3. Open a command prompt as Administrator.

  4. Run:

    Install.bat Upgrade C:\SyncNow\Service
    
  5. Confirm the backup (Y).

  6. SyncNow will upgrade automatically.

  7. Verify the service is running:

    sc query SyncNowService