Skip to content

Install Mideye on Windows Server (MSI Installer)

This guide covers installing Mideye Server 6 on Windows Server 2016, 2019, 2022, or 2025 using either the graphical installer wizard or silent command-line installation.

What you’ll need:

  • Local administrator privileges
  • A supported database (SQL Server, MySQL, or MariaDB) with credentials ready
  • Network access to the Downloads page
  • Firewall port assigned by Mideye Support

StepDescriptionTime
1. Run installerExecute MSI wizard or silent install5 min
2. Configure HTTPS portSet web interface port (default: 443)1 min
3. Configure databaseEnter SQL Server connection details2 min
4. Generate certificateCreate self-signed certificate for HTTPS1 min
5. Verify installationCheck logs and service status2 min
6. Run setup wizardComplete initial configuration5 min

The MSI installer guides you through configuration with a step-by-step wizard.

  1. Download and run installer

    Download MideyeServer6-<version>.exe from the Downloads page.

    Right-click and select Run as administrator.

  2. Welcome screen

    Click Next to begin installation.

  3. License agreement

    Read the End-User License Agreement. Select I accept the terms and click Next.

  4. Web server port configuration

    Specify the HTTPS port for the web administration interface.

    SettingDefaultDescription
    Web server port443The HTTPS port for accessing the admin UI
  5. Database connection

    Configure the Microsoft SQL Server connection:

    FieldDescriptionExample
    SQLserver IP/HostnameDatabase server addresslocalhost or sql-server.local
    PortSQL Server port1433 (default)
    DatabaseDatabase namemideyeserver
    Instance (Optional)Named instanceSQLEXPRESS
    Domain (Optional)For Windows AuthenticationCORP.LOCAL
    UserSQL login usernamemideye_svc
    PasswordSQL login password
    Encrypted ConnectionEnable TLS encryption☑ Recommended

    Click Test Database Connection to verify connectivity before proceeding.

  6. Certificate configuration

    Create a self-signed certificate for HTTPS:

    SettingDefaultDescription
    Fully Qualified Domain Name (FQDN)localhostThe hostname for the certificate

    Enter the server’s hostname (e.g., mideye.corp.local) for the self-signed certificate.

  7. Installation folder

    Choose the installation directory:

    • Default: C:\Program Files (x86)\Mideye Server 6

    Click Next to continue.

  8. Ready to install

    Review your settings and click Install to begin.

  9. Installation complete

    Click Finish. The Mideye Server 6 service starts automatically.


For automated deployments, install silently using msiexec with MSI properties.

Terminal window
msiexec /i MideyeServer6-<version>.msi /qn /l*v install.log
Terminal window
msiexec /i MideyeServer6-<version>.msi /qn /l*v install.log ^
WEB_PORT=443 ^
DB_SERVER=sql-server.local ^
DB_PORT=1433 ^
DB_NAME=mideyeserver ^
DB_USERNAME=mideye_svc ^
DB_PASSWORD="YourSecurePassword" ^
DB_ENCRYPTED=checked ^
CERTIFICATE_FQDN=mideye.corp.local ^
APPDIR="D:\Mideye Server 6"
PropertyDefaultDescription
WEB_PORT443HTTPS port for web interface
DB_SERVERlocalhostSQL Server hostname or IP
DB_PORT1433SQL Server TCP port
DB_NAMEDatabase name
DB_INSTANCENamed SQL Server instance (optional)
DB_DOMAINDomain for Windows Authentication (optional)
DB_USERNAMESQL login username
DB_PASSWORDSQL login password
DB_ENCRYPTEDSet to checked for encrypted connection
CERTIFICATE_FQDNlocalhostFQDN for self-signed certificate
APPDIRC:\Program Files (x86)\Mideye Server 6Installation directory

The MSI wizard configures SQL Server connections automatically. For MySQL or MariaDB, configure the database connection manually after installation.

The installer creates the connection during setup. To modify later, edit:

C:\Program Files (x86)\Mideye Server 6\config\application-prod.yml

Example SQL Server configuration:

spring:
datasource:
url: jdbc:sqlserver://localhost:1433;database=mideyeserver;encrypt=true;trustServerCertificate=true
username: mideye
password: your_secure_password

Quick database creation (run in elevated Command Prompt):

Terminal window
sqlcmd -Q "CREATE DATABASE mideyeserver"

After installation completes, verify the service is running:

  1. Open Services (services.msc) and confirm Mideye Server 6 is running

  2. Check the log file for successful startup:

    C:\Program Files (x86)\Mideye Server 6\log\mideyeserver.log
  3. Look for the startup message:

    ----------------------------------------------------------
    Application 'MideyeServer' is running! Access URLs:
    Local: https://localhost:443/
    External: https://10.20.30.11:443/
    Profile(s): [prod]
    ----------------------------------------------------------
  4. Get the setup challenge code:

    Terminal window
    Select-String -Path "C:\Program Files (x86)\Mideye Server 6\log\mideyeserver.log" -Pattern "SETUP CHALLENGE"

  1. Open the web interface in your browser:

    https://localhost:443

    Or use the external IP shown in the log file.

  2. Enter the Setup Challenge code from the log file

  3. Complete the Configuration Wizard


PathDescription
C:\Program Files (x86)\Mideye Server 6\Installation directory
...\config\application-prod.ymlMain configuration file
...\config\keystore.pfxSSL certificate and encryption keys
...\log\mideyeserver.logApplication log
...\log\mideyeserver.errorError log
...\jre\Bundled Java runtime

The installer automatically creates Windows Firewall rules for:

PortProtocolPurpose
443 (or custom)TCPWeb administration interface
1812UDPRADIUS authentication


The installer automatically detects existing installations and performs an in-place upgrade. When the wizard detects a previous version, it displays an upgrade confirmation dialog.

  1. Back up critical files before upgrading:

    • application-prod.yml — Database and custom settings
    • keystore.pfx — Encryption keys (required for database decryption)
  2. Download the new installer from the Downloads page

  3. Run the installer as administrator

  4. Confirm the upgrade when prompted

  5. The service restarts automatically (approximately 40 seconds downtime)

Direct upgrades from v5 or v4 to v6 are not supported. Follow the migration path:

FromToGuide
v4.xv5.xUpgrade 4.x to 5.x
v5.xv6.xUpgrade 5.x to 6.x

  1. Open SettingsAppsApps & features (or Add or remove programs)

  2. Find Mideye Server 6 and click Uninstall

  3. Follow the prompts to complete removal


Copy or compress the entire installation directory:

C:\Program Files (x86)\Mideye Server 6

Critical files to always back up:

  • config\application-prod.yml — Configuration settings
  • config\keystore.pfx — Encryption keys

Using SQL Server Management Studio:

  1. Right-click the database → TasksBack Up…
  2. Select backup type and destination
  3. Click OK

Or via command line:

Terminal window
sqlcmd -Q "BACKUP DATABASE mideyeserver TO DISK='C:\Backup\mideyeserver.bak'"

Check the error log:

C:\Program Files (x86)\Mideye Server 6\log\mideyeserver.error

Common issues:

ErrorCauseSolution
Login failed for userInvalid database credentialsVerify username/password in application-prod.yml
BadPaddingExceptionWrong keystore passwordCheck certificate passphrase in configuration
Address already in usePort conflictChange port or stop conflicting service
Connection refusedDatabase not runningStart SQL Server/MySQL service
  1. Verify service is running: services.mscMideye Server 6
  2. Check Windows Firewall rules allow traffic on your configured port
  3. Test local access: https://localhost:443 (or your configured port)
  4. Check if another application uses the same port

During installation, if the database test fails:

  1. Verify SQL Server is running and accepting connections
  2. Check the server hostname/IP is reachable from the Mideye Server
  3. Confirm the database exists and the user has appropriate permissions
  4. For named instances, ensure you’ve entered the instance name correctly
  5. For encrypted connections, verify SSL/TLS is configured on SQL Server

RADIUS only starts after completing the setup wizard. Verify with:

Terminal window
netstat -an | findstr 1812

If the port isn’t listening, check that the wizard was completed successfully.