Excel-DNA / Excel-DNA/ExcelDna
option to disable machine hive (i.e. assume always non-elevated) + pre-register ribbon [in installer]
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 292
- Avg merge
- 20d 12h
- Merged PRs (30d)
- 1
Description
The ribbon portion of the addin causes excel to crash on various corporate machine running 365. It's related to the ribbon registration although it's hard to say what the root-cause is (after monkeying around the error tends to vanish and then cannot be re-introduced). I believe this suggestion however is along the lines need to resolve it:
https://github.com/Excel-DNA/ExcelDna/issues/317#issuecomment-1525390378
These two steps would probably prevent any possible problems here:
1. These machines are never allowed to run excel elevated so an option to disable CanWriteMachineHive would be helpful
2. I already register the main addin using an installer and the add-in then never fails if the installer succeeds - only the dynamic registrations are a problem. If there was a function I could call from the installer to mimic the dynamic registration this should head off any runtime issues
Contributor guide
Assessment
This issue has not been assessed yet.