Skip to content

XPACS Installation Guide (Windows)

Prerequisites

Installation

Unzip the latest release content to a deployment folder, e.g. C:\XPacs.

Configure the database connection and initialize the database by running XPacsInit from the XPacsInit subfolder. Press Enter to keep a default value.

Setting Default value
Server (local)\SQLEXPRESS
Database XPacs_Ndt
Integrated Security y

If Integrated Security is set to n, XPacsInit also asks for User and Password.

Then open the XPacsStarter subfolder.

Running XPACS

XPACS modules can simply run as console applications by starting XPacsStarter.

Making XPACS a Windows Service

Install XPACS as a Windows service by running (as administrator):

XPacsStarter install

Then start the service in Windows Services Manager or by running:

XPacsStarter start

It can be stopped in Windows Services Manager or by running:

XPacsStarter stop

It can be uninstalled by running:

XPacsStarter uninstall

See more options by using the help command.

Troubleshooting

XPACS cannot create a database at startup

It may occur when running XPACS as a service, and the local system account does not have the sysadmin role (mainly happening on the latest versions of SQL Server). Then open SQL Server Management Studio, double-click the Security -> Logins -> NT AUTHORITY\SYSTEM object, select the Server Roles page, check the sysadmin role box, then click OK. Afterward, one should restart XPACS.

The issue may occur for unknown reasons. It means that one should create the XPACS database manually: open SQL Server Management Studio, right-click the Databases object, select the New Database menu item, type XPacs_Ndt in the Database Name field, then click OK. Afterward, one should restart XPACS.

The latest version of SQL Server Management Studio can be downloaded here.