I want to have a single ribbon in microsoft office, in which I will have all my add-ins. Let's say there are 2 add-ins, both are a single button on the ribbon, which then open a winform. The user installs the first add-in, the program checks for an installed ribbon, since there isn't any, it adds the ribbon and the button, which calls the add-ins function.
Then the user installs the second add-in later, which, instead of adding the same ribbon, checks if there is already a ribbon with the same name installed, and if there is, it only adds the button to the already installed ribbon, if there isn't(somehow the first add-in was uninstalled or something) it adds the ribbon with the button.
So I thought that in the ThisAddin_Startup event I instantiate a "RibbonController" class. In the RibbonController class i would check for the ribbons existence. (Every addin would have a RibbonController class)
Since I'm fairly new in the MS Office Add-in programming zone, i need help accessing the ribbons objects and creating it programmatically if it wasn't installed earlier.