The important thing is that you MUST parse the UserCfg.opt, because that will contain the path the user selected when installing the sim, and that can be anywhere.
1- The UserCfg.opt file is always located in one of these folders:
MS Store version:
%LOCALAPPDATA%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache
Steam version:
%APPDATA%\Microsoft Flight Simulator