Windows One-Step Installer
To run a complete CoModel on your local machine without the command line or Docker, use the Windows one-step installer from the CoModel website. After installation, double-click the desktop icon to start the service and use it in a browser.
Before you install
- Register a website account: the email the first-run setup wizard asks for must match the licensed email of your license, so complete website sign-up first (email only; see Sign-Up and Sign-In).
- Download the license file in advance: the 90-day free license is issued automatically once you sign up and activate. Download the
.licfile from the website license page and keep it ready, then upload it to activate right after installation (see License Activation).
System requirements
| Item | Requirement |
|---|---|
| Operating system | Windows 10 1809 or later, or Windows 11 |
| Architecture | x64 (64-bit) |
| Memory | 8 GB or more recommended |
| Disk space | At least 8 GB free (installation takes about 5 GB; data directory extra) |
| Browser | Latest Chrome, Edge, or Firefox |
| Permissions | Administrator rights required during installation |
The installer bundles the Julia runtime, the MariaDB database, the VC++ redistributable, and the web static assets—no other software needs to be pre-installed. User FMUs must ship their own
win64binaries; FMUs exported for Linux or other platforms cannot be parsed (see FMU Upload & Component Library).
Installation steps
- Download
ComodelSetup-<version>-win64.exe(about 1 GB) from the download page; also download the.sha256checksum file to verify integrity. - Double-click the installer and allow the administrator (UAC) prompt. If Windows shows "Windows protected your PC", click "More info" → "Run anyway" (see Code signing below).
- Follow the setup wizard (in Simplified Chinese) to choose the installation directory; the default path is
C:\Program Files\Comodel. If you choose a custom directory, the installer creates a directory link at the default path so the components keep working—do not delete that link manually. - The installer then performs the following steps automatically (near the end, a console window shows progress for a few minutes—do not close it):
- Extracts Julia, MariaDB, engine, and web files
- Generates the
.envandmy.iniconfiguration files - Initializes the data directory
- Runs database initialization (standard library components and icons sync automatically on first service startup)
- On the completion page, keep "Launch Comodel now" checked and click Finish.
- Wait for the services to become ready (usually within 2 minutes); the browser opens
http://localhost:8000automatically (if the port was occupied during installation, the next free port is used—seePORTin.env).
First startup and license activation
- Open
http://localhost:8000in a browser; the first-run setup wizard starts automatically. - Enter the email you registered with on the website (it must match the licensed email of your license) and submit to finish setup—the instance administrator account is created automatically with this email.
- Sign in with that email and the default password
admin123; the system asks you to change the password. - Go to Admin → License Management and upload the
.licfile downloaded from the website to complete activation.
For the full account system and license rules, see Sign-Up and Sign-In and License Activation.
Directory layout after installation
The installer keeps program files and user data separate:
C:\Program Files\Comodel\ # Program directory (overwritten on upgrade, deleted on uninstall)
├── julia\ # Portable Julia 1.12.6 win64
├── app\ # CoModel engine source code
│ ├── api\ # API service
│ └── core\
│ └── build\sim.dll # Windows prebuilt sysimage
├── web-static\ # Web static build output
├── .julia\ # Julia package depot (about 3 GB, the bulk of the install)
├── mariadb\ # Portable MariaDB 11.4 win64
├── launcher\ # Launcher ComodelServer.exe (console window)
├── redist\ # VC++ redistributable (installed automatically if missing)
└── scripts\ # Environment setup / database init / start-stop scripts
%PROGRAMDATA%\Comodel\ # User data directory (can be kept on uninstall)
├── .env # Local configuration file (ports, secrets, etc.)
├── my.ini # MariaDB configuration (database port must match .env)
├── mysql-data\ # MariaDB data directory
├── storage\ # Uploaded FMUs, ONNX files, model attachments, etc.
├── backup\ # Automatic database backups created before upgrades
└── logs\ # Runtime logs (launcher.log, api.log, mariadb.log, etc.)
Note: do not delete
%PROGRAMDATA%\Comodelmanually unless you intend to wipe all local models and data.
Starting and stopping
Start
Double-click the Comodel shortcut on the desktop or in the Start menu; a launcher console window opens:
- The launcher starts the MariaDB service first.
- Then it starts the Julia API service (loading the prebuilt shared library, usually within 15 seconds).
- Once the
/healthcheck passes, it opens the system default browser athttp://localhost:8000.
The first startup (including database and service initialization) usually completes within 2 minutes. Antivirus real-time scanning can slow the first startup noticeably—wait it out.
Note: keep the launcher window open while the services run (minimizing it to the taskbar is fine). Closing the window, or pressing Enter at the window's prompt, stops the CoModel services.
Stop
Close the launcher console window, or press Enter in it:
- The CoModel engine service stops first.
- The database service stops next.
- Data is persisted in
%PROGRAMDATA%\Comodeland stays intact across restarts.
Upgrade and uninstall
Upgrade
To upgrade, run the new installer:
- Before upgrading, the installer stops any running services and backs up the database in full to
%PROGRAMDATA%\Comodel\backup\<old-version>\(a backup failure does not block the upgrade). - The program directory is overwritten with the new version's files.
- User data and the
.envconfiguration (ports, secrets) under%PROGRAMDATA%\Comodelare not deleted or changed. - The installer runs any new database migrations automatically.
Uninstall
Uninstall Comodel via Settings → Apps → Installed apps:
- The uninstaller stops the services first, then asks whether to keep user data (kept by default).
- Keep: only the program directory is removed; the data remains usable after a reinstall.
- Delete: a second confirmation is required; after confirming,
%PROGRAMDATA%\Comodelis wiped.
Ports and networking
| Service | Default port | Listen address | Description |
|---|---|---|---|
| CoModel Web/API | 8000 | 127.0.0.1 |
Browser access entry point |
| MariaDB | 3306 | 127.0.0.1 |
Local access only |
Ports are assigned at installation time: if 8000 or 3306 is already in use by another program, the installer automatically switches to the next free port (e.g. 8001, 3307) and writes it to the configuration file.
If a port is taken by another program while the services are running, the launcher exits with an error naming the offending process; it does not switch ports automatically. In that case, edit the configuration manually and restart the launcher:
- Service port: edit
PORTin%PROGRAMDATA%\Comodel\.env. - Database port: change both
DATABASE_PORTin.envandportinmy.ini, keeping the two consistent.
# %PROGRAMDATA%\Comodel\.env
PORT=8000
DATABASE_PORT=3306
Restart the launcher for the change to take effect.
Code signing
The Windows installer is currently not code-signed. On first run, Windows Defender SmartScreen may show a security warning saying the publisher cannot be verified. This is expected—click:
"More info" → "Run anyway"
If your organization enforces executable-signing policies, we recommend:
- Distributing the installer within your intranet or a controlled environment.
- Asking your team administrator to whitelist the installation path in the antivirus software.
- Before large-scale public distribution, we will purchase a code-signing certificate to remove this warning.
Offline use
Once installed, the Windows edition of CoModel works without network access. All dependencies (Julia packages, MariaDB, web assets) are bundled in the installer, which suits:
- Simulation workstations on factory intranets or restricted networks
- Teaching labs without internet access
- Scenarios with strict data-localization requirements
Common issues and troubleshooting
The browser does not open automatically after startup
- Double-click the Comodel shortcut on the desktop or in the Start menu again—if the services are ready, the launcher opens the browser directly.
- The first startup can be noticeably slower due to antivirus real-time scanning; wait a moment and refresh the page.
- Check the logs in
%PROGRAMDATA%\Comodel\logs(launcher.log,api.err.log,mariadb.log) for port conflicts or startup failures. - Open
http://localhost:8000manually (if the port is not the default, checkPORTin.env).
Uploading an FMU reports an unsupported platform
The Windows edition only supports FMUs containing binaries/win64 binaries. If parsing fails with a platform mismatch (Windows/binary), use an FMU with win64 binaries. See FMU Upload & Component Library.
A simulation fails at startup with ReturnCode.InitialFailure
This relates to the model's initialization settings, not the installer. See Troubleshooting Initialization Failures.
Antivirus false positives
Some antivirus products may flag the Julia sysimage (sim.dll) or MariaDB binaries as false positives. Whitelist the following directories:
C:\Program Files\Comodel\%PROGRAMDATA%\Comodel\
Reinstalling or migrating data
Back up the %PROGRAMDATA%\Comodel directory, install the same version on the new machine, and replace that directory to restore your data (if you changed the database port, keep my.ini as well).
Next steps
- Complete license activation: read License Activation.
- Create your first model: read Your First Model.