This info has helped a lot. Still getting some mixed results, though. To explain further:
I've been using autoexec in a template (Template1.dotm) in local \startup folder to load 2 other global templates (Template2.dotm/Template3.dotm) that are located on a remote server. Since Template1 is only used to load the other 2 add-ins, I wish to remove it from the add-in list after it serves its purpose. I don't want it to cause confusion, etc.
First, to "uncheck" it in the add-ins list I used:
AddIns("Template1.dotm").Installed = False[/vba]
Then, I used fumei's code to remove it from the add-ins list:
[vba] Dim oAddin As AddIn
For Each oAddin In AddIns
If oAddin.Installed = False Then
AddIns(oAddin.Path & "\" & oAddin.Name).Delete
End If
Next
The steps above moved the add-in from the 'Active Application Add-ins' list to the 'Inactive' list. It still appears in the 'Global templates and add-ins' list preceded by an unchecked checkbox.
I tried running code twice, no difference. Ideally, I'd like the add-in to vanish from all lists.