Re-enabling Word Add-In after Error

%3CLINGO-SUB%20id%3D%22lingo-sub-125516%22%20slang%3D%22en-US%22%3ERe-enabling%20Word%20Add-In%20after%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-125516%22%20slang%3D%22en-US%22%3E%3CP%3EHello.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20developing%20a%20COM%20Add-In%20for%20Microsoft%20Word%20(only%20local%2C%20not%20for%20cloud%20usage).%20One%20of%20our%20customers%20had%20the%20problem%2C%20that%20each%20time%20he%20started%20Word%2C%20he%20had%20to%20manually%20activate%20the%20Add-In%20(Word%20Options%20%26gt%3B%20Add-Ins%20%26gt%3B%20Go...%20%26gt%3B%20tick%20the%20checkbox%20for%20the%20corresponding%20Add-In).%20I%20could%20reproduce%20this%20behavior%20by%20forcing%20an%20error%20in%20the%20Add-In%20coding%20which%20caused%20Word%20to%20crash.%20When%20starting%20Word%20the%20next%20time%2C%20I%20got%20the%20following%20message%3A%3C%2FP%3E%3CP%3E%3CA%20title%3D%22%22%20href%3D%22https%3A%2F%2Ffud.community.services.support.microsoft.com%2FFud%2FFileDownloadHandler.ashx%3Ffid%3Dd9e41170-297f-410f-9dff-ec0e8fdd4e79%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ffud.community.services.support.microsoft.com%2FFud%2FFileDownloadHandler.ashx%3Ffid%3Dd9e41170-297f-410f-9dff-ec0e8fdd4e79%22%20border%3D%220%22%20alt%3D%22Bild%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOf%20course%20I%20saw%20this%20message%20several%20times%20before.%20But%3A%20back%20then%20the%20consequence%20of%20clicking%20on%20%22Yes%22%20was%20that%20the%20Add-In%20was%20disabled.%20In%20that%20case%20it%20was%20sufficient%20to%20re-enable%20it%20one%20time%20(as%20described%20above).%20The%20next%20time%20the%20Add-In%20was%20started%2C%20you%20didn't%20have%20to%20enable%20it%20any%20more.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20now%2C%20additionally%20to%20disabling%20the%20Add-In%2C%20there%20is%20a%20registry%20key%20created.%20That%20key%20has%20the%20name%20of%20the%20Add-In%20and%20is%20located%20at%20the%20following%20path%3A%20%3CEM%3EHKEY_CURRENT_USER%2FSOFTWARE%2FMicrosoft%2FOffice%2F15.0%2FWord%2FAddInLoadTimes%3C%2FEM%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20title%3D%22%22%20href%3D%22https%3A%2F%2Ffud.community.services.support.microsoft.com%2FFud%2FFileDownloadHandler.ashx%3Ffid%3D42522049-25fd-4f3d-b263-9254c95587c3%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ffud.community.services.support.microsoft.com%2FFud%2FFileDownloadHandler.ashx%3Ffid%3D42522049-25fd-4f3d-b263-9254c95587c3%22%20border%3D%220%22%20alt%3D%22Bild%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20it%20seems%20that%20this%20key%20causes%20the%20behavior%20described%20at%20the%20beginning.%20Because%20if%20I%20delete%20the%20key%2C%20start%20Word%2C%20enable%20the%20Add-In%2C%20close%20word%2C%20set%20the%20%22LoadBehavior%22%20key%20in%20the%20registry%20to%20%223%22%20and%20then%20restart%20word%2C%20everything%20is%20fine%20again.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20my%20question%3A%20is%20there%20a%20user-friendly%20alternative%20to%20enable%20the%20Add-In%3F%20Since%20the%20fewest%20of%20our%20users%20have%20administrative%20privileges%2C%20we%20cannot%20ask%20them%20to%20change%20some%20registry%20keys%20in%20order%20to%20fix%20the%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20that%20someone%20can%20help%20me%20with%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3ETimo%3C%2FP%3E%3C%2FLINGO-BODY%3E
Visitor

Hello.

 

We are developing a COM Add-In for Microsoft Word (only local, not for cloud usage). One of our customers had the problem, that each time he started Word, he had to manually activate the Add-In (Word Options > Add-Ins > Go... > tick the checkbox for the corresponding Add-In). I could reproduce this behavior by forcing an error in the Add-In coding which caused Word to crash. When starting Word the next time, I got the following message:

Bild

 

Of course I saw this message several times before. But: back then the consequence of clicking on "Yes" was that the Add-In was disabled. In that case it was sufficient to re-enable it one time (as described above). The next time the Add-In was started, you didn't have to enable it any more.

 

But now, additionally to disabling the Add-In, there is a registry key created. That key has the name of the Add-In and is located at the following path: HKEY_CURRENT_USER/SOFTWARE/Microsoft/Office/15.0/Word/AddInLoadTimes.

 

Bild

 

And it seems that this key causes the behavior described at the beginning. Because if I delete the key, start Word, enable the Add-In, close word, set the "LoadBehavior" key in the registry to "3" and then restart word, everything is fine again.

 

Now my question: is there a user-friendly alternative to enable the Add-In? Since the fewest of our users have administrative privileges, we cannot ask them to change some registry keys in order to fix the problem.

 

I hope that someone can help me with this.

 

 

Best regards 

 

Timo

0 Replies