# Install SAHARA Core

What you need, Setup's one page and what C: Configure adds, updating a SAHARA Core already on the PC, what to do if Setup stops, and what Setup puts on your computer.

- Title: Install SAHARA Core
- Product: SAHARA Core
- Applies to: SAHARA Core, first version. Installation from 11 Poush 2083 (26 December 2026).
- Software verification: Checked against the source code; not walked in the software. Last checked 27 November 2026 against source at 97f46b0fb9. What was checked: Setup's pages, words and checks (scripts/sahara-setup.iss) and the installer's own words (scripts/platform-windows-install.ps1), read in the source; Setup itself was not run on Windows, and no screen was photographed.
- Content updated: 27 November 2026
- Who can do this: Anyone with administrator rights on the Windows computer
- Start from: Setup downloaded on the server PC
- Limitations:
  - SAHARA Core runs on Windows. It is not available for Mac.
- Source URL: https://help.thesaharalabs.com/core/docs/install/
- Sections:
  - What you need: https://help.thesaharalabs.com/core/docs/install/#what-you-need
  - Install SAHARA Core for the first time: https://help.thesaharalabs.com/core/docs/install/#install-sahara-core-for-the-first-time
  - When SAHARA Core is already on this PC: https://help.thesaharalabs.com/core/docs/install/#when-sahara-core-is-already-on-this-pc
  - Books from an earlier SAHARA Core: https://help.thesaharalabs.com/core/docs/install/#books-from-an-earlier-sahara-core
  - What Setup creates: https://help.thesaharalabs.com/core/docs/install/#what-setup-creates
  - Uninstall: https://help.thesaharalabs.com/core/docs/install/#uninstall
  - Help with installing: https://help.thesaharalabs.com/core/docs/install/#help-with-installing

---

## What you need

| | |
|---|---|
| Windows | Windows 10 (22H2 or later) or Windows 11, **64-bit** |
| Memory | At least 4 GB; 8 GB recommended. Setup checks the 4 GB. |
| Disk | At least 3 GB free on the disk of `C:\ProgramData` (usually C:). Setup checks it. An SSD is recommended. |
| Rights | An administrator account |
| For the super-administrator | An e-mail and a password of at least 10 characters |
| Internet | Not needed to install. The server PDF engine is added once the PC is online. |

Setup will not install on Windows older than Windows 10 version 22H2, or on a 32-bit Windows.

SAHARA Core brings its own database (PostgreSQL 18). If the PC already has another PostgreSQL, Setup leaves it alone and SAHARA Core uses its own.

On a first install, Setup's first page says that installing takes about 5 minutes.

> **Note:** Choose the e-mail and the password before you start. You type them on the Server Controller page, and you use them again to sign in at the end.

## Install SAHARA Core for the first time

### 1. Install SAHARA

On a computer without SAHARA Core, Setup opens on one page, *Install SAHARA*. At the top it reads *Application: SAHARA · Release …* (the release this Setup installs) *· installing takes about 5 minutes.*

- **Application Path** is the program folder, `C:\Program Files\SAHARA`. Type another one, or press **Browse...**.
- **Your books** and **Backups** name the two folders, `C:\ProgramData\SAHARA\data` and `C:\ProgramData\SAHARA\backups`. When both are on the same disk, as they are at first, the line turns amber and says so. One failed disk would lose both, so choose another disk for the backups under **C: Configure** when you can.
- Below them are the licence terms. Read them and tick *I accept the licence agreement*. **I: Install** stays off until you do.

Then press one of two buttons:

- **I: Install** installs with these folders. SAHARA Core opens on this PC only, on port 3100, with the server PDF engine. If port 3100 is in use, Setup takes the next free port by itself.
- **C: Configure** lets you choose the folders, the PDF engine, the network and the ports first (step 3). It also needs the licence ticked.

**I: Install** refuses a program folder that is not a full folder path (for example `C:\SAHARA`), a folder name with a double quote ("), and a disk this PC does not have.

### 2. Checking this computer

Setup checks the minimum before it changes anything. When everything is fine, you do not see this page: Setup goes straight on. You see it when a line is marked ✗, when Setup finds books from an earlier SAHARA Core (see [Books from an earlier SAHARA Core](#books-from-an-earlier-sahara-core)), and for Install New.

- **✓** is fine.
- **!** is a warning. Setup goes on.
- **✗** stops Setup. The page ends with *Setup cannot go on: the lines marked ✗ must be put right first. Nothing has been changed.* **Next** stays off.

Setup checks:

- the Windows version;
- the memory: at least 4 GB;
- the free space: at least 3 GB;
- port 3100, for SAHARA Core's screens, and port 3101, which Shop network also uses. One in use is a warning: Setup takes the next free port, or you choose one under **C: Configure**;
- port 5444, for SAHARA Core's own database. In use, it is a warning, and the database takes the next free port;
- another PostgreSQL on the PC: a warning. It is left untouched;
- a SAHARA Core database service with no SAHARA Core program folder to go with it: ✗. When no SAHARA Core owns such services any more and the program they ran is gone, the page names them and offers **R: Remove leftovers**. Setup asks first, then removes those services only: no file or folder is touched, and your books and backups stay where they are. Then Setup checks again.

What each ✗ means, and what to do: [Setup stopped at "Checking this computer"](https://help.thesaharalabs.com/core/setup-stopped-checking-this-computer/).

### 3. C: Configure

If you pressed **C: Configure**, three pages come next, before the Server Controller page.

**Where to keep things.** Three folders: **Program** (`C:\Program Files\SAHARA`), **Data (your books)** (`C:\ProgramData\SAHARA\data`) and **Backups** (`C:\ProgramData\SAHARA\backups`). While the backups are on the same disk as the books, an amber line under them says so, and at **Next** Setup asks *Go on with this disk?* Keep the backups on a different disk if you can.

Setup refuses a path that is not a full folder path, a folder name with a double quote, and a disk this PC does not have. If you choose a whole disk for the books or the backups, such as `D:\`, Setup says it will make a SAHARA folder on that disk and keep them there.

**Components.**

- *SAHARA (required)*.
- *SAHARA's own database, where your books are kept (required)*.
- *Server PDF engine (recommended; about 285 MB, added in the background after SAHARA starts)*.

If you untick the PDF engine, Setup lists what you give up. Printing still works through your browser. To go on, tick *I understand and accept this*.

**Who can open SAHARA.** Setup starts safe. You can open SAHARA Core to your shop's network later.

- **This PC only** (recommended) is the default: nobody on the Wi-Fi can reach SAHARA Core.
- **Shop network** lets the other PCs of your shop open SAHARA Core.

The **Port** is 3100 unless you change it. A port must be a number from 1024 to 65535, and never 5444. If the port is in use, Setup takes the next free one and tells you. With **Shop network**, SAHARA Core also uses the next port (3101 for 3100), so that one must be free too.

With **Shop network**, Setup opens the Windows firewall on **private networks only**, with two rules. "SAHARA screens" opens your port. "SAHARA phones search" lets the shop's phones find the PC. See [The shop network and the Server Controller](https://help.thesaharalabs.com/core/docs/network/).

### 4. The Server Controller

The Server Controller is a page on this PC, opened only from this PC. There the super-administrator looks after the installation and adds the other people. On this page of Setup you choose the super-administrator. The same e-mail and password open the Server Controller and SAHARA Core, under the name super admin.

- **Super-admin e-mail**
- **Super-admin password**
- **The same password again**

The e-mail must look like an e-mail, like owner@example.com. The password must have **at least 10 characters**, and the two passwords must match. Keep the password safe. SAHARA Core keeps only a scrambled copy, so nobody can read the password back. Everyone else is added later from the Controller, each with their own e-mail and password.

The button on this page reads **Install**. A first install has no separate "Ready" page.

### 5. Installing

Setup says *Installing SAHARA* and *Please wait. Do not turn off the computer.* A bar moves, and the page names the step Setup is on. When a step takes 10 seconds or more, the page also shows how long it has been running.

If the PC needs the Microsoft Visual C++ runtime (SAHARA Core's database needs it), Setup installs it on the way.

### If Setup stops

Setup says in plain words what stopped it, and that it saved the details. Press **Open the log** to read every line in Notepad, and keep the file.

- *Windows needs a restart to finish a part SAHARA needs.* Restart the PC, then run Setup again.
- *A port SAHARA needs on this PC is used by another program.* Setup names the port. Close that program, then run Setup again.
- The Microsoft Visual C++ part could not be installed. Restart the PC and run Setup again.
- Anything else: *SAHARA could not be installed on this PC.* [Contact support](https://help.thesaharalabs.com/core/support/) with the log.

A line marked ✗ on the Checking page is different. Setup stops there, and nothing has been changed. Put that line right and run Setup again.

### 6. Finish

Setup says *SAHARA is installed* and *Setup finished and SAHARA passed its self-check: the server runs, the database is ready and the screens load.* Below that it names the port of SAHARA Core's own database: 5444, or the next free port, with the reason.

If you kept the server PDF engine, the page also says that the engine (about 285 MB) is added in the background once SAHARA Core has started. Until then, invoices print through the browser (Print, then Save as PDF). If the PC is not on the internet, the engine is added when it is.

There are two tick boxes:

- *Open SAHARA now (sign in with the super-admin e-mail and password; then the licence and the recovery key)*. It is ticked.
- *Open the Server Controller*. It is not ticked.

Press **Finish**. SAHARA Core opens in your browser on this PC. Sign in with the super-admin e-mail and password from the Server Controller page. Then choose the licence or the free trial, and save the recovery key. The steps are in [The first run](https://help.thesaharalabs.com/core/docs/first-run/).

Your first company is not part of the first run. You make it afterwards from Select Company with **Alt+C**. See [Create your company](https://help.thesaharalabs.com/core/docs/create-company/).

## When SAHARA Core is already on this PC

### Select Application to Manage

When SAHARA Core is already installed, Setup opens on *Select Application to Manage*. The list has the columns *Application · Path · Error*. Each row names one SAHARA Core, its release and its program folder. When one of its services is missing or stopped, the row says which. The first row is highlighted, and **Next** (or Enter) opens the highlighted one.

At the top right are two buttons:

- **Install New** puts a second, separate SAHARA Core beside the one already here (see [Install New](#install-new)).
- **Select Application from Drive** finds a SAHARA Core the list does not show. Choose its program folder, and it joins the list, highlighted. If the folder holds no SAHARA Core, Setup says so and changes nothing.

### The SAHARA Core you chose

What the next page says depends on the release. Each page lists the SAHARA Core's name, release, program folder, books folder, backups folder and screens' port.

**This Setup is newer: *Update SAHARA - …*** (the release on the PC).

- Tick *I accept the licence agreement*. **L: Licence terms** shows the terms. **I: Update** stays off until you tick it.
- The box *Sign out anyone still signed in to SAHARA, then update (unsaved work is lost)*.
- If this SAHARA Core has no super-administrator e-mail on record, the page asks for one under **Super-admin e-mail**. It is needed. If you leave it blank, the next Setup asks again.

Press **I: Update**, and the update starts at once. No other page comes first, unless the Checking page has a line marked ✗.

An update replaces only the program. Your books, the services, the database's and the screens' ports, and the Server Controller with its password are kept. Setup backs up the books first and reads the backup back. If anything fails, SAHARA Core goes back by itself to the release you had, with the books as they were.

If someone is still signed in and you did not tick the sign-out box, Setup asks *Sign them out now and update?* Anything they have not saved is lost. **No** changes nothing.

The last page says *SAHARA is updated* and which release now runs in which folder.

**The same release: *Alter SAHARA - …*.** This Setup has nothing newer to put on. **A: Alter** says *No changes were found to alter.* To change settings such as the ports, the network or the backups, press **C: Configure**. To put back damaged files, use Repair under **O: More Actions**.

**An older Setup: *SAHARA - …*, *A newer SAHARA is installed*.** Setup never puts an older release over a newer one, and it changes nothing.

At the bottom of each of these pages there are two more buttons:

- **C: Configure** opens this SAHARA Core's Server Controller in your browser. Its settings are changed there.
- **O: More Actions** opens the List of Actions.

### List of Actions

*List of Actions - SAHARA …* lists what Setup can do with this SAHARA Core:

- **Update**, when this Setup is newer;
- **Alter** and **Repair**, when it is the same release;
- **Uninstall**, always;
- **Remove leftovers**, when Setup finds SAHARA services that no SAHARA Core owns any more. It removes those services only, and your books stay.

Choose a row and press **Select** (or Enter). At the top are **Install New**, **Select Application from Drive**, and **Select Another Application**, which goes back to the list.

**Repair** asks first. Setup checks every program file against its signed release and puts back any file that is damaged or missing. Your books are backed up first and kept, with your settings. SAHARA Core stops while this runs, and anyone still signed in is signed out (unsaved work is lost). The last page says *SAHARA is repaired*.

**Uninstall** asks first, and names the books and backups folders that stay. SAHARA Core stops for everyone (unsaved work is lost). Then SAHARA Core's own uninstaller opens and asks once more, and Setup closes. See [Uninstall](#uninstall).

### Install New

**Install New** puts a second, separate SAHARA Core on this PC, with its own folders, books, ports and Server Controller. It is named SAHARA (1), then SAHARA (2), and so on. Setup will not install another after SAHARA (9).

Install New shows Setup's pages one by one:

1. The licence agreement. Tick *I accept the licence agreement*.
2. Checking this computer, with Setup's own two warnings. In one browser you can be signed in to only one SAHARA Core at a time, so open the other in a second browser. And keep two different businesses on two PCs, because the two SAHARA Cores on one PC are not kept apart from each other.
3. Where to keep things, with suggested folders. Setup refuses a program folder that already holds a SAHARA Core, a data folder that already holds books, and a folder it cannot write to.
4. Components.
5. Who can open SAHARA, which also asks for the **Server Controller port (this PC only)**. That port must not be 3190, 3191, 5444, or the screens' port.
6. The Server Controller.
7. *Ready to install*, which lists your choices and says that the SAHARA Core already here is not changed.

The last page names the new SAHARA Core, its folder and its own Server Controller address.

## Books from an earlier SAHARA Core

Uninstalling SAHARA Core keeps your books. If you install again on that PC, Setup finds them.

Setup starts reading them as soon as its first page is open. It copies them first, so the books themselves are only read. This takes about a minute and a half, and nothing in them is changed. If Setup is still reading when you reach the Checking page, **Next** and **Back** stay off until it is done.

- If Setup can open them, you see ✓ and the words *they will be opened, never replaced*. Setup opens those books with the settings they were used with: the port, the network, the backups and the PDF engine, so it does not ask for the components or the network again. It skips the Server Controller page when the kept password will open the books.
- If Setup cannot open them, or they are too big to copy on this PC, you see ✗. Setup says it will not touch them. **I: Install New (recommended)** puts a separate SAHARA Core beside them, with new books of its own.
- If Setup cannot read them at all, you see ✗, nothing is changed, and Setup's log says why.

## What Setup creates

- A **SAHARA** icon in the Start menu and on the desktop.
- A **tray icon**, so the person who installed sees SAHARA Core at once. It starts again at every sign-in.
- Windows services that run SAHARA Core, its database and its Server Controller. They start by themselves when Windows starts.
- The **Server Controller**, on this PC only. The first SAHARA Core's is at `http://127.0.0.1:3190`. An Install New SAHARA Core's own address is on its last page.
- With **Shop network**, the two firewall rules for private networks.
- An entry named **SAHARA** in Windows' list of installed apps, for uninstalling.

## Uninstall

Uninstall from Windows' list of installed apps (*Settings › Apps*), or with **Uninstall** in Setup's List of Actions. Uninstalling removes the program, its services and its icons. It **keeps your books and backups**. A last message names the two folders that stay, and says nothing in them was deleted.

If Windows still holds one of its services, the uninstall stops and names them. Its entry stays in *Settings › Apps*, so you can run it again: restart the PC, then uninstall again. If part of the program folder is left behind, the last message says so: restart the PC and delete that folder. If you install again later, see [Books from an earlier SAHARA Core](#books-from-an-earlier-sahara-core).

## Help with installing

You install SAHARA Core yourself, from the download link. If you want help, remote help is free. Book it on WhatsApp, or through your dealer if you bought SAHARA Core from one. A visit to your shop is charged, and a dealer sets their own charge for a visit. See [Support](https://help.thesaharalabs.com/core/support/).

SAHARA Core runs on Windows. It is not available for Mac.
