Hi,
what is actually important for the installer is the path to the UserCfg.opt file, which right now cannot be different from what the installer is expecting for MSFS2024, by default. From this file, it will read-out the path to your community folder.
The file should either be here in case of a Microsoft Store install:
Or here, in case of a Steam install:
You also have to install the application for the same user that MSFS2024 was installed for. Please double check where the file is located on your system.