By Adam Nagy
Couple of changes in Inventor 2017:
1) Digitally signed add-in
Inventor 2017 provides a new way of making an add-in load without the security dialog popping up: the add-in dll needs to be digitally signed with a certificate ...
... and the publisher of the certificate needs to be in the "Trusted Publishers" list:
This is something that could be done by your app's installer - e.g. the installer provided for App Store plugins will do it as well if your add-in is digitally signed.
You can follow the same procedures as in case of signing any other files, including an AutoCAD add-in:
Here is also an article listing a few digital certificate providers:
2) AddInLoadRules in Inventor 2017
"AddInLoadRules.xml" files were introduced in Inventor 2016 and are used to track which add-ins should be allowed to load:
Inventor 2017 is still using AddInLoadRules files with some changes compared to Inventor 2016. In Inventor 2017 we have the following files:
- Administrator settings are stored in an xml file "C:\Program Files\Autodesk\Inventor 2017\Preferences\AddInLoadRules.xml"
- User override settings are now stored in a binary file "%APPDATA%\Autodesk\Inventor 2017\Addins\AddInLoadRules"
- If the user hasn’t saved any overrides, that binary file won’t exist yet
- Additionally, since in prior releases the user override settings were in an xml file, we still honour those settings if that file is present - but only if the binary file is not present
- Once user makes a change and save their settings, the new binary file is created