How to deploy plugins using PSADT and SCCM

I am trying to package an extension to be installed automatically instead of having to install the extension by hand to all the devices in my organisation. I tried installing on one device and copying the files in AppData plugins folder to a new device but each time I launch Sketchup, it asks me to close all windows to install. It never did install, but Extension Manager shows it exists.