Please stop asking the same question, when I already explaining this is NOT happening:
http://www.fsdreamteam.com/forum/index.php/topic,23288.msg156065.html#msg156065I'll repeat it again. Our installers DO NOT create "duplicate entries". And you keep doing the same mistake over and over, see this sentence:
by creating entries in the add-on.cfg file in c:\programdata AND adding folders to your My Documents\Prepar3d Addons you are loading the addons twice
This is inaccurate.
For an add-on to work, there MUST be two entries, the add-on.xml in Documents only DESCRIBES the add-on to the sim, but it's not enough to activate it. In order for an add-on to become active, there must also be an entry for it in
either one of the two add-on.cfg used by the simulator.
So, the entry under My Documents\Prepar3d V4 Addons and the entry in the add-on.cfg file in the C:\Program Data are NOT "duplicate entries", they are both required, otherwise the add-on won't work.
The thing that is misleading you, is the fact that, it is ALSO possible to enable an add-on by JUST placing an add-on.xml in the My Documents\Prepar3d V4 Addons folder, and this will result in the simulator asking to activate the add-on on the next start up.
If you reply YES, this will create the entry for the add-on.cfg in %APPDATA% because, as I've said, both an add-on.xml and an entry in
either the add-on.cfg in %PROGRAMDATA% or the add-on.cfg in %APPDATA% is required to enable an addon.
Obviously, the simulator won't normally create a double entry by itself. If the add-on that has its add-on.xml file in the Documents\Prepar3d V4 Addon file already has an entry in %PROGRAMDATA% ( created by our installer ) it will NOT ASK to activate it, because it's already active!
So, under normal conditions, the entry in the %PROGRAMDATA% add-on.cfg file placed by our installer ( more precisely, placed by P3D4 ITSELF, when asked by our installer ) allows to have the add-on already active WITHOUT bothering you with the question about activating it, which P3D normally does when it finds an "orphaned" add-on.xml. So, clearly, this is a time saving feature because, if you just installed something, why would you be bothered with another question when the sim starts ?
I'll repeat it again, the sim will NOT ask you anything ( and thus it will NOT create a "double entry" in the %APPDATA% add-on.cfg file ), if the add-on already has an entry in %PROGRAMDATA%. This is certain.
As I've said in my other post, you are mislead thinking our installer creates double entries, because you are likely using an external utility that must have copied that entry from the add-on.cfg in %PROGRAMDATA% to the one in %APPDATA%, which is entirely unnecessary, since the sim will read add-ons from both files just fine.
Maybe, because of permission issues ( altering a file in %PROGRAMDATA% requires Administrator access ), that utility failed to REMOVE the entry from %PROGRAMDATA%, which is what it should likely do when it tried to "move it" to %APPDATA%.
That's the only possible reason I can think of, since I don't think that utility is intentionally creating double entries.
But I'll repeat it again, just to be sure you understand: if an installer creates an entry in the %PROGRAMDATA%\add-on.cfg file, the simulator itself will neither ask to activate it, and will never create a double entry for it on its own.