Skip to content

Session tracker UI app

Choose a tag to compare

@CodingMirage CodingMirage released this 16 Mar 14:17
a67957c

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

  1. Download the Installer Directory

    • Clone or download this repository from GitHub.
  2. Update the Configuration File

    • Navigate to:

      Installer/gui/config.properties
      
    • Open config.properties in 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
    
  3. Install Inno Setup

    • Download and install Inno Setup if you don't already have it installed.
  4. Build the Installer

    • Open the provided .iss (Inno Setup script) file located in the installer directory.
    • Compile the script using Inno Setup.
  5. Generate the Executable

    • After compilation, the installer .exe will be created in the output directory specified in the script.
  6. Run the Installer

    • Use the generated .exe file to install the application on your system.

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.