Hi Tony,
I hope you’ve logged a support call with Microsoft too, and if not I urge you to do so.
The last time I dealt with their support (not for Office stuff, though) they were very professional and helpful.
There might be some documentation or notification of the relevant Office changes that I am not aware of.
The problem that was addressed in v 1.1.0 must be similar, though it presented slightly differently.
Everything I know about this can be found in the issue here https://github.com/Excel-DNA/ExcelDna/issues/317 (where I’ve now added your problem too)
and then in the comments in the code here https://github.com/Excel-DNA/ExcelDna/blob/63bedd0c00b8bf53e3708cee7b35cfde5b7c8551/Source/ExcelDna.Integration/ComRegistration.cs#L222
Some aspects that seems different to your case, though I do suspect the Office changes are similar:
It would be good to set up an environment that reproduces the issue, though that sounds like a bit of a project.
It might be possible to change the parts of your add-in that are loaded using the on-demand COM registration (probably a Ribbon extension) into being pre-registered. That would mean you need to pre-register the add-in on the machine, outside the App-V sandbox. It would take some experimenting to see how this works.
-Govert
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/a67abbd9-ecfa-4353-95ad-63b372129254o%40googlegroups.com.
ComAddIn [Error] RegistrationUtil.CanWriteUserHive - Unexpected exception - False : IOException - Illegal operation attempted on a registry key that has been marked for deletion.
ComAddIn [Error] RegistrationUtil - Unable to write to Machine or Users hives of registry - Ribbon/COM Add-In load cancelled
ComAddIn [Error] The Ribbon/COM Add-In helper required by add-in XX could not be registered.
This may be due to restricted permissions on the HKCU\Software\Classes key : UnauthorizedAccessException - RegistrationUtil - Unable to write to Machine or Users hives of registry
ComAddIn [Error] RegistrationUtil.CanWriteUserHive - Unexpected exception - False : IOException - Illegal operation attempted on a registry key that has been marked for deletion.
ComAddIn [Error] RegistrationUtil - Unable to write to Machine or Users hives of registry - Ribbon/COM Add-In load cancelled
Thanks Cedric,
Please let me know what you find.
There is another approach to doing the COM stuff which I might try to explore in this context too.
Would you be able to help test this a bit later in the month?
If so, maybe you can contact me directly.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/834f179d-54b7-4392-a4c2-c3bffc3e2784n%40googlegroups.com.