• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS20 Registry

GHD

Messages
12,244
Country
england
Can anyone tell me the regiistry entry to help find the path to the FS2020 "common" folder?
 
Hi George,

I've just done a quick scan of my registry and I don't think the path is listed. Its held in the Program Folders in the WindowsApps directory. There may be some way of querying it, but I don't think its in the registry.
 
I agree, it isn't there, but is there some way to infer it? (Both MS Store and Steam).
 
It was mentioned over at the MSFS forums site that MS wanted to move away from the registry....

Although an old trick is to search for the installation registry entries. But they seems to be hidden below {guids}.

So as far as I have found was to search for the values. For instance the SDK ws found under [\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{82D3AD7C-F33A-4C6B-B351-1A5995CB3548}] by searching after all enties with [DisplayName] .StartsWith("Microsoft Flight Simulator SDK"). I guess someting similar could be done for MSFS....

Although the only important key to get isn't the folder for msfs, -but to get the key/guid/version/trail. (for now it hasn't changed....)
The common-folder is in a fixed place under LocalAppData.

The common-data folders can be found in using .net via Environment.SpecialFolder.CommonApplicationData like this in C# :
C#:
    var isInstalledOnSteam = false; // this should be queried somehow
    
    //-------------- -------------- -------------- 
    var microsoftCode = "8wekyb3d8bbwe"; // This one should be queried through something
    //-------------- -------------- --------------

    var microsoftName = "Microsoft.FlightSimulator_" + microsoftCode;
    if (isInstalledOnSteam == false)
        microsoftName = "Microsoft.FlightDashboard_" + microsoftCode;

    var folder = Path.Combine(
        Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
        "Packages",
        microsoftName,
        @"LocalCache\Packages\");

Or if you just want to know it and not program it, refer to https://www.fsdeveloper.com/forum/threads/introduction-to-msfs-sdk-scenery.448469/page-7#post-852270
 
Last edited:
There are no registry entries for FS2020 as I understand it. As discussed above there are config files located in the user\AppData\Local structure and the location of the SDK is in the environemt variable MSFS_SDK
 
From Jon's info:

Config path for Steam Edition: “%AppData%\Microsoft Flight Simulator”

Config path for MS Edition: C:\Users[user name]\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache

The file is called userCfg.opt and the last line shows where you put the content folder and the community folder is inside that. InstalledPackagesPath

The SDK installation creates an environment variable MSFS_SDK which contains its install path.
 
Back
Top