Hello,
When you say "I have to override the user settings", are you an admin who would like to override settings for multiple users, or a single user overriding them for yourself?
If you are an admin, there is an administrator settings file that can be edited by someone with administrator privileges:
- %INSTALLDIR%\Preferences\AddInLoadRules.xml
- e.g. C:\Program Files\Autodesk\Inventor 2017\Preferences\AddInLoadRules.xml
An expected use case is that the administrator would edit this file once when creating a deployment, and then install that for all users. The default copy of that file that ships with Inventor contains explanations of the various rules.
When individual users make changes, they are changing their user overrides file. This is located at the %APPDATA% path you mentioned in your post. Starting in Inventor 2017, that file is in binary format. We retained the ability to read the XML file for backward compatibility, so that settings made prior to Inventor 2017 would not be lost. But once the binary file is present (after the first time you save a change to the user overrides using Inventor 2017), the XML file will be ignored. We eventually want to eliminate reading settings from directories that are writeable by non administrators. So the supported way for users to make changes is via the Addin Manager Dialog, and the location and format of those settings are not exposed.
Note that user overrides do not necessarily override the administrator settings. For example, if the administrator decides to block an addin, and individual user cannot override the addin and allow it to load. (The reverse is allowed - a user can block an addin that the administrator has not blocked.)
I hope that helps. Let me know if you have further questions.
Joe
Joe S
Software Developer