<CharlieDigital/> Programming, Politics, and uhh…pineapples

3Dec/10Off

VSTO: The Customization Cannot Be Installed

Got this strange error today with an Excel add-in I'm working on:

The customization cannot be installed because another version is
currently installed and cannot be upgraded from this location.
To install this version of the customization, first use Add or
Remove Programs to uninstall this program

Now this seems pretty straightforward, right?  However, the add-in doesn't show up in the Add/Remove programs menu!

No amount of clean solution or rebuild would resolve this issue.

Google didn't turn up any results on MSDN.  So I fired up ProcMon.exe to try to isolate the source of the issue and what it was trying to load.

Turns out that it was trying to read values from a key at:

HKEY_CURRENT_USER\Software\Microsoft\VSTA\Solutions\{GUID}

Deleting this key fixed the issue 😀

Still not sure what caused the issue in the first place, but this is a quick any dirty way to resolve it (for now).

Posted by Charles Chen

Filed under: Office Comments Off
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.