I am looking to use composer to spin off a printer installer (.pkg) for our independent contractors, who have BYOD computers, and therefore are not enrolled in our JSS.
I have everything good to go with a lpadmin command added to the postinstall script from the driver installer, and the command to use the system print dialogue instead of chrome's. However if chrome is open during the installation it will still use the chrome print window, so I need to have chrome closed before the installation runs.
I don't want to just kill chrome, as users may have tabs open so I figure a popup window would be the best solution, that halts the install until chrome is no longer running. Though I am unfamiliar with how to do this, so any guidance would be greatly appreciated.
