BojoteX / GetFP

Simple utility to fetch MSFS Flight Plan from Simbrief with custom starting location (e.g Gate or Ramp)
MIT License
2 stars 0 forks source link

Launching EXE reports "Both versions installed" error #1

Open morrispe65 opened 2 months ago

morrispe65 commented 2 months ago

Launching the exe reports both Steam and MS Store versions are installed and will not load. I only have the MS Store version of MSFS 2020.

image

BojoteX commented 2 months ago

You probably had it at some point as the only way you'll see that error (if only the MS Store version is installed) is if you have:

steam_path = Path(os.getenv('APPDATA')) / "Microsoft Flight Simulator"

Meaning that, in C:\Users\YOURUSERNAME\AppData\Roaming\ there is a directory called Microsoft Flight Simulator

Try renaming it, launch the program again and you'll see error dissapears

morrispe65 commented 2 months ago

hmm. That folder does exist but there is recent activity and the files seem to have all been created by other addons.

The exe.xml and the exe.xml.a2a files reference FSRealistic and the packages folder contains my Just Flight user info for the justflight-aircraft-pa28-arrow-iii addon.

image

SimConnect SimConnect.xml False FSRealistic false C:\Program Files (x86)\FSRealistic\FSRealistic.exe
BojoteX commented 2 months ago

Thanks for the detailed feedback. I wanst aware other addons create that directory. I'll implement a fix shortly checking for the actual UserCfg.opt file instead of the directory. I'll upload a new .exe file shortly

BojoteX commented 2 months ago

Done!

morrispe65 commented 2 months ago

That fixed it.