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.
Before you begin
Section titled “Before you begin”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
Installation overview
Section titled “Installation overview”| Step | Description | Time |
|---|---|---|
| 1. Run installer | Execute MSI wizard or silent install | 5 min |
| 2. Configure HTTPS port | Set web interface port (default: 443) | 1 min |
| 3. Configure database | Enter SQL Server connection details | 2 min |
| 4. Generate certificate | Create self-signed certificate for HTTPS | 1 min |
| 5. Verify installation | Check logs and service status | 2 min |
| 6. Run setup wizard | Complete initial configuration | 5 min |
Graphical Installation (MSI Wizard)
Section titled “Graphical Installation (MSI Wizard)”The MSI installer guides you through configuration with a step-by-step wizard.
-
Download and run installer
Download
MideyeServer6-<version>.exefrom the Downloads page.Right-click and select Run as administrator.
-
Welcome screen
Click Next to begin installation.
-
License agreement
Read the End-User License Agreement. Select I accept the terms and click Next.
-
Web server port configuration
Specify the HTTPS port for the web administration interface.
Setting Default Description Web server port 443The HTTPS port for accessing the admin UI -
Database connection
Configure the Microsoft SQL Server connection:
Field Description Example SQLserver IP/Hostname Database server address localhostorsql-server.localPort SQL Server port 1433(default)Database Database name mideyeserverInstance (Optional) Named instance SQLEXPRESSDomain (Optional) For Windows Authentication CORP.LOCALUser SQL login username mideye_svcPassword SQL login password Encrypted Connection Enable TLS encryption ☑ Recommended Click Test Database Connection to verify connectivity before proceeding.
-
Certificate configuration
Create a self-signed certificate for HTTPS:
Setting Default Description 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. -
Installation folder
Choose the installation directory:
- Default:
C:\Program Files (x86)\Mideye Server 6
Click Next to continue.
- Default:
-
Ready to install
Review your settings and click Install to begin.
-
Installation complete
Click Finish. The Mideye Server 6 service starts automatically.
Silent Installation (Command Line)
Section titled “Silent Installation (Command Line)”For automated deployments, install silently using msiexec with MSI properties.
Basic silent install
Section titled “Basic silent install”msiexec /i MideyeServer6-<version>.msi /qn /l*v install.logSilent install with options
Section titled “Silent install with options”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"MSI properties reference
Section titled “MSI properties reference”| Property | Default | Description |
|---|---|---|
WEB_PORT | 443 | HTTPS port for web interface |
DB_SERVER | localhost | SQL Server hostname or IP |
DB_PORT | 1433 | SQL Server TCP port |
DB_NAME | Database name | |
DB_INSTANCE | Named SQL Server instance (optional) | |
DB_DOMAIN | Domain for Windows Authentication (optional) | |
DB_USERNAME | SQL login username | |
DB_PASSWORD | SQL login password | |
DB_ENCRYPTED | Set to checked for encrypted connection | |
CERTIFICATE_FQDN | localhost | FQDN for self-signed certificate |
APPDIR | C:\Program Files (x86)\Mideye Server 6 | Installation directory |
Post-Installation: Database Configuration
Section titled “Post-Installation: Database Configuration”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.ymlExample SQL Server configuration:
spring: datasource: url: jdbc:sqlserver://localhost:1433;database=mideyeserver;encrypt=true;trustServerCertificate=true username: mideye password: your_secure_passwordQuick database creation (run in elevated Command Prompt):
sqlcmd -Q "CREATE DATABASE mideyeserver"Edit the configuration file after installation:
C:\Program Files (x86)\Mideye Server 6\config\application-prod.ymlExample MySQL configuration:
spring: datasource: url: jdbc:mysql://localhost:3306/mideyeserver?sslMode=TRUST username: mideye password: your_secure_passwordExample MariaDB configuration:
spring: datasource: url: jdbc:mariadb://localhost:3306/mideyeserver?sslMode=TRUST username: mideye password: your_secure_passwordAfter editing, restart the service:
Restart-Service "Mideye Server 6"Verify Installation
Section titled “Verify Installation”After installation completes, verify the service is running:
-
Open Services (
services.msc) and confirm Mideye Server 6 is running -
Check the log file for successful startup:
C:\Program Files (x86)\Mideye Server 6\log\mideyeserver.log -
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]---------------------------------------------------------- -
Get the setup challenge code:
Terminal window Select-String -Path "C:\Program Files (x86)\Mideye Server 6\log\mideyeserver.log" -Pattern "SETUP CHALLENGE"
Complete the Setup Wizard
Section titled “Complete the Setup Wizard”-
Open the web interface in your browser:
https://localhost:443Or use the external IP shown in the log file.
-
Enter the Setup Challenge code from the log file
-
Complete the Configuration Wizard
File Locations
Section titled “File Locations”| Path | Description |
|---|---|
C:\Program Files (x86)\Mideye Server 6\ | Installation directory |
...\config\application-prod.yml | Main configuration file |
...\config\keystore.pfx | SSL certificate and encryption keys |
...\log\mideyeserver.log | Application log |
...\log\mideyeserver.error | Error log |
...\jre\ | Bundled Java runtime |
Windows Firewall
Section titled “Windows Firewall”The installer automatically creates Windows Firewall rules for:
| Port | Protocol | Purpose |
|---|---|---|
| 443 (or custom) | TCP | Web administration interface |
| 1812 | UDP | RADIUS authentication |
Next steps
Section titled “Next steps”Upgrade
Section titled “Upgrade”Upgrading from Mideye Server 6.x
Section titled “Upgrading from Mideye Server 6.x”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.
-
Back up critical files before upgrading:
application-prod.yml— Database and custom settingskeystore.pfx— Encryption keys (required for database decryption)
-
Download the new installer from the Downloads page
-
Run the installer as administrator
-
Confirm the upgrade when prompted
-
The service restarts automatically (approximately 40 seconds downtime)
Upgrading from Mideye Server 5.x or 4.x
Section titled “Upgrading from Mideye Server 5.x or 4.x”Direct upgrades from v5 or v4 to v6 are not supported. Follow the migration path:
| From | To | Guide |
|---|---|---|
| v4.x | v5.x | Upgrade 4.x to 5.x |
| v5.x | v6.x | Upgrade 5.x to 6.x |
Uninstall
Section titled “Uninstall”-
Open Settings → Apps → Apps & features (or Add or remove programs)
-
Find Mideye Server 6 and click Uninstall
-
Follow the prompts to complete removal
Backup
Section titled “Backup”File system backup
Section titled “File system backup”Copy or compress the entire installation directory:
C:\Program Files (x86)\Mideye Server 6Critical files to always back up:
config\application-prod.yml— Configuration settingsconfig\keystore.pfx— Encryption keys
Database backup
Section titled “Database backup”Using SQL Server Management Studio:
- Right-click the database → Tasks → Back Up…
- Select backup type and destination
- Click OK
Or via command line:
sqlcmd -Q "BACKUP DATABASE mideyeserver TO DISK='C:\Backup\mideyeserver.bak'"mysqldump -u mideye -p mideyeserver > mideyeserver_backup.sqlTroubleshooting
Section titled “Troubleshooting”Service won’t start
Section titled “Service won’t start”Check the error log:
C:\Program Files (x86)\Mideye Server 6\log\mideyeserver.errorCommon issues:
| Error | Cause | Solution |
|---|---|---|
Login failed for user | Invalid database credentials | Verify username/password in application-prod.yml |
BadPaddingException | Wrong keystore password | Check certificate passphrase in configuration |
Address already in use | Port conflict | Change port or stop conflicting service |
Connection refused | Database not running | Start SQL Server/MySQL service |
Can’t access web interface
Section titled “Can’t access web interface”- Verify service is running:
services.msc→ Mideye Server 6 - Check Windows Firewall rules allow traffic on your configured port
- Test local access:
https://localhost:443(or your configured port) - Check if another application uses the same port
Database connection test fails
Section titled “Database connection test fails”During installation, if the database test fails:
- Verify SQL Server is running and accepting connections
- Check the server hostname/IP is reachable from the Mideye Server
- Confirm the database exists and the user has appropriate permissions
- For named instances, ensure you’ve entered the instance name correctly
- For encrypted connections, verify SSL/TLS is configured on SQL Server
RADIUS not responding
Section titled “RADIUS not responding”RADIUS only starts after completing the setup wizard. Verify with:
netstat -an | findstr 1812If the port isn’t listening, check that the wizard was completed successfully.