Install from zip-file in custom window

I have a custom window with a collection of addon-related functions and locations, and I would like to have a button that invokes the “install from zip file” functionality. Is this in any way possible?

I tried a combination of ActivateWindowAndFocus and SendCick, but no dice unfortunately

Cheers