The manual way:
Open C:\Users\username\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\UserCfg.opt
Change the path in the last line of this file, and move your installed packages (the folder containing the folders Community and Official and all their subfolders) there