Hey All,
I feel like this question has been answered in many parts over many threads, but I'm pretty noobish and having trouble putting it all together. I'm looking for the best way to accomplish the following:
User downloads one file (assumedly a DMG)
User opens the DMG, runs "RUN-ME-FIRST" file (type to be determined)
System automagically installs an app (prompting user for credentials along the way, and yes this has already written and functional)
Once complete, system automagically runs a script which will move a file included on the DMG to the System/Library/LaunchAgents folder, then runs a modification to permissions on that file
My goal is to have this whole process kick off with one click from the user after they've opened the DMG. Can I do this with a bash script?
This is for running the user client for PaperCut and setting it up to automatically start at user login.



