Our VBA-Addin for Word is sometimes disabled when Word crashes, a key with a random name is then created under [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Resiliency\DisabledItems] or
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Word\Resiliency\DisabledItems] depending on the Officeversion that was used.
We need a small and very fast running program (we will deploy it locally and run it on every logon of the user) that checks in the users registry if there is any key under "Resiliency/DisabledItems" for Word (under 12.0, 14.0 and 15.0). If no key is found, the program must end immediately.
If a key is found, then read in the first key and convert the binary data to asci (which in fact is the path to the Addin). Read this path from the end backwards and check if its ending with "P.o.s.t.-.A.d.d.I.n...d.o.t.m..." If this is the case, then delete the key and end the program immediately. If it's not the case, then read in the next key and compare this one (and so on). After the last key the program must end immediately.
.NET Application, preferably written in C#
The software must run under Vista 32bit and Win 7 32- and 64-bit.
Complete Sourcecode and compiled version. All and unlimited rights of use and further development of the code must be granted to us.
Latest by April 11