Session tracker UI app
SessionTracker v1.0.0
Initial release of SessionTracker.
Overview
This release provides the full installer source for the application. Instead of distributing a pre-built executable (.exe), the repository includes the installer files and an Inno Setup script that allows users to generate their own installer.
This approach is necessary because the application requires user-specific database configuration, which must be set before building the installer.
Why the Installer Must Be Built Locally
The application depends on database connection details that vary for each user environment (such as database host, port, username, and password). Because of this, a universal pre-built installer cannot be provided.
To ensure the application works correctly in your environment, you must configure your database connection settings before generating the installer.
Setup Instructions
-
Download the Installer Directory
- Clone or download this repository from GitHub.
-
Update the Configuration File
-
Navigate to:
Installer/gui/config.properties -
Open
config.propertiesin a text editor. -
Update the database connection parameters according to your setup.
Example:
LOCAL_TABLE=sessions #do not change hardcoded in the service LOCAL_TABLE_CONFIG=CONFIGURATION_TABLE CLOUD_TABLE=your_table_name CLOUD_TABLE_CONFIG=config_table_name LOCAL_DB=user_sessions.db #do not change hardcoded in the service JDBC_URL_CLOUD=your_db_url JDBC_USERNAME_CLOUD=your_db_username JDBC_PASSWORD_CLOUD=your_db_password -
-
Install Inno Setup
- Download and install Inno Setup if you don't already have it installed.
-
Build the Installer
- Open the provided
.iss(Inno Setup script) file located in the installer directory. - Compile the script using Inno Setup.
- Open the provided
-
Generate the Executable
- After compilation, the installer
.exewill be created in the output directory specified in the script.
- After compilation, the installer
-
Run the Installer
- Use the generated
.exefile to install the application on your system.
- Use the generated
Notes
- Ensure the database you configure is accessible from the machine running the application.
- If the database credentials are incorrect, the application may fail to start or connect.
Support
If you encounter issues while configuring or building the installer, please open an issue in this repository.