Skip to main content

Installer

We are using Inno Setup to create install files.

Steps

  1. Build the SimopsConnect Project from the solution folder:

    dotnet publish -c Release -r win-x64 --self-contained

    The generated files will be in \SimopsConnect\SimopsConnect\bin\Release\net8.0\win-x64 (without the publish folder).

  2. Copy files to the SimopsConnectInstaller project in publish directory.

  3. Start InnoSetup and compile.

Configuration

Setup need to open ports for RabbitMQ: 5672.

For web service, it's on port 45928 locally.

WebSocket: http://localhost:45929/

Debug

Invoke-RestMethod -Uri http://localhost:45928/debug-mq -Headers @{ Authorization = "Bearer TOKEN" } -Method Get

Start with MSFS

The installation may require to modify the exe.xml file that is available in the user directory C:\Users\[username]\AppData\Roaming\Microsoft Flight Simulator. This file makes thirdparty applications start when MSFS starts.

<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="SimConnect" version="1,0">
<Descr>Auto launch external applications on MSFS start</Descr>
<Filename>exe.xml</Filename>
<Disabled>False</Disabled>
<!-- Example -->
<Launch.Addon>
<Name>FenixA320</Name>
<Disabled>False</Disabled>
<Path>E:\FenixSim A320\deps\FenixBootstrapper.exe</Path>
</Launch.Addon>
<!-- Example -->
<Launch.Addon>
<Disabled>False</Disabled>
<ManualLoad>False</ManualLoad>
<Name>FSUIPC7</Name>
<Path>C:\Program Files\FSUIPC7\FSUIPC7.exe</Path>
<CommandLine>-auto</CommandLine>
<NewConsole>False</NewConsole>
</Launch.Addon>
</SimBase.Document>