I'm building an addin for Excel using ExcelDna and NetOffice.
An addin in Excel can either be installed and included in every Excel session or it can be opened adhoc by just opening the xll file.
Is there any way for me to programmatically detect in my addin code whether it was opened adhoc or if it was installed?