Start (multiple) programs on MSFS startup with this exe.xml 'tip'

You can start (multiple) programs, exe, dll (Littlenavmap.exe, headtracker, The Skypark etc. etc.) on MSFS startup with this .xml file. It is normaly used for plugins to load on startup (Logitech panels).

The file is/should be located/created in AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\exe.xml for the Windows Store version.

<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="SimConnect" version="1,0">

			<Name>SPAD.neXt Plugin</Name>
			<Path>C:\Program Files\SPAD.neXt\SPAD.neXt.exe</Path>

Screenshot 2021-01-14 110832

Edited to use preformated text.


Any location for the Steam version?

For Steam, the EXE.xml is located under USER/AppData/Roaming/Microsoft Flight Simulator

1 Like

Interesting. Could you provide a screenshot of the file WITH one of your addons in place? I’d like to start FSUIPC. Thanks!

exe.xml.pln (798 Bytes)

I attached the file as .pln. Remove the .pnl from the filename so you have exe.xml. Change to whatever program you like to start.

1 Like

Thanks very much for that, worked perfectly!

1 Like

Note that the latest (current) FSUIPC installer now automatically (by default) updates (or creates) the EXE.xml file to start FSUIPC7 with MSFS, so no need to do this manually.
The batch file that used to start MSFS and FSUIPC7 with a splash screen is still provided, but this now only displays the splash and starts MSFS.


1 Like

This is great. I made a .bat file and was going to write a how-to… but posting .bat files is a little dangerous… so I decided against it. This is much more benign.

Also, adding ‘-FastLaunch’ to the launch options for the shortcut skips the splash/ad screens that play when launching MSFS. Highly recommend adding that.

Is there a way to specify the working directory for an addon?

No idea, doesn’t it use the folder it loads from?

These are the available commands that can be used.

        <property name = "Name"/>
        <property name = "Disabled"/>
        <property name = "ManualLoad"/>
        <property name = "Path"/>
        <property name = "CommandLine"/>
        <property name = "DLLType"/>
        <property name = "DLLStartName"/>
        <property name = "DLLStopName"/>
        <property name = "NewConsole"/>

Does anybody know what “-r” will do in the CommandLine tag?

I’ve put that in to show how the command line commands work.

it’s any way to close program after close sim?

I’ve a program in the EXE.XML that writes a file in it’s own directory (D:/file/) before ending the program . That doesn’t work.
If I start the program via it’s Icon all worked fine. The file will be written to the right place. If I start it via EXE.XML it will start but it will fail to write the file. (Failed to file… The medium is write protect)

It’s more a startup .xml and as far as I know it wont be read on exit. I’ll have a look for more commands.

No idea why that happens, could be because of access rights or locked state. Did you try with admin run and/or all access rights on .exe?

Hi @Cygnifick,
Did you have success with starting SPAD,neXt with this method?
I recently installed FSUIPC7 and found their batch file great for the fast launch! :star_struck:
Then I added SPAD to the exe.xml and it didn’t work… :confounded:

Works fine here, this is my current exe.xml.

exe.xml.pln (409 Bytes)

Rename to exe.xml

For some reason that only the computer gods know, it just started to work!

1 Like