Install on Windows
Install the PetroKhata station app on the station PC without an administrator password, get past the SmartScreen warning, and know where the data is kept.
On this page
This page explains how to install the PetroKhata station app on a Windows PC. Anyone who uses the PC can do it. You do not need an administrator password.
Before you start
You need:
- a 64-bit Windows 10 or Windows 11 PC;
- the installer file, named like
PetroKhata-Setup-<version>.exe; - a Windows user account that the station staff will use on this PC.
Sign in to Windows with the account the station will use every day. PetroKhata installs for that one Windows user, and keeps its data in that user's folder.
Install the app
- Double-click the installer file.
- If Windows shows Windows protected your PC, select More info, then Run anyway. The next section explains why.
- When the installer asks who to install it for, choose Only for me. This needs no administrator password.
- Follow the installer to the end.
- Open PetroKhata from the desktop shortcut or the Start menu. Both are named PetroKhata.
The app opens on the sign-in screen. Continue with First-time setup.
The SmartScreen warning
Windows warns about programs that are not signed with a code-signing certificate. The PetroKhata installer is not signed yet, so Windows shows the blue Windows protected your PC box. This is expected. Only run an installer that you received from the PetroKhata team.
Only one copy runs at a time
PetroKhata runs as one window. If you open it again while it is already open, the open window comes to the front. No second copy starts.
Where the data is kept
The station's data is kept in this folder:
%APPDATA%\Petrol Pump
It holds:
device: the station's database, encrypted;settings.json: settings that IT may set, such as the server address. See Settings for IT.
The key that opens the database is protected by Windows for your Windows user account. Another Windows user cannot open it.
If Windows cannot protect the key, the app shows This computer cannot protect the database key. Sign in to Windows with a user account and start the app again. Sign in to Windows with a normal user account and open the app again.
Updates
You do not need to download a new installer for each version. New versions are installed from Setup → Updates inside the app. See Updates.
Removing the app
When you uninstall PetroKhata, the data folder stays on the PC. It may hold work that has not reached the server yet. If you install the app again for the same Windows user, it opens the same data.
Something here does not match your screen, or a step is unclear? Tell us and we will fix the page.