Hi @Ajay Kumar
Thank you for posting your question in Microsoft Q&A.
Based on the information you provided, I understand you're encountering an issue with a custom PowerPoint Add-in on some user machines. The installation finishes very quickly (which is unusual), and after installation, the add-in doesn't appear in PowerPoint. You are seeing a specific XML error: "custom UI XML, the type of control specified is not compatible with the actual type of control having the ID of superscript toggle button."
The error message clearly indicates a mismatch in your add-in's Ribbon XML file. Specifically, you are trying to use the built-in control idMso="Superscript" (which is a toggle button in Office that turns superscript on/off), but you have defined it incorrectly in your XML.
Because Office detects this invalid XML structure, it refuses to load the add-in's UI, which explains why the add-in is "missing" from the ribbon. The unusually fast installation suggests the installer might be skipping steps or failing silently during registration due to this validation error. Please try the following steps to fix the XML mismatch:
- Fix the Ribbon XML
If you intend to use the built-in Superscript functionality as a toggle:
Open your add-in's Ribbon XML file (e.g., Ribbon.xml or within your manifest) > Find the line referencing the Superscript control. It probably looks like this:
<button idMso="Superscript" ... />
Change it to:
<toggleButton idMso="Superscript" ... />
Keep other attributes (like label, imageMso) unless they are causing specific errors > Save, rebuild/repackage, and reinstall the add-in.
Note on Callbacks: If you are implementing custom logic for this button:
- You must provide a
GetSuperscriptPressed(IRibbonControl control) callback that returns true/false (current state).
- You must provide an
OnSuperscriptToggle(IRibbonControl control, bool pressed) callback to handle state changes.
- Make sure your callback names in the code match the XML declaration exactly.
- Check Add-in Status & Installation
Since the installation was suspiciously fast, verify the add-in's state in PowerPoint:
Go to File > Options > Add-ins > Look for your add-in in the "Inactive", "Disabled", or "Document-related" lists > If it is disabled, select "Disabled Items" in the Manage box and click "Go..." to re-enable it > If it is not in the list at all, the installation failed to register it correctly.
- Enable User Interface Errors
To see diagnostic details when the add-in loads > Go to File > Options > Advanced > General > Check the box "Show add-in user interface errors". This will confirm if the XML fix worked.
- Check for Consistency
Since you mentioned the issue happens on some machines, ensure all machines have the same Office version and necessary dependencies installed. Also, if your add-in is a .ppam file, check the file properties on the problematic machines and ensure "Unblock" is checked if present.
I hope this information helps you resolve the issue!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.