![]() This way I have one copy of this script set up in my Jamf server, and I add it to each policy, but put in the correct folder name for the app to be installed.Ĭhange to/the/standard/location to wherever you choose to put your folders. Rm -Rf to/the/standard/location/"$4".tar.gzĪs you can see I use $4 parameter to provide the folder name. Rm -Rf to/the/standard/location/"$4"/"$PKG" You can watch them disappear as they install for testing. # Then it will remove the installers, it gets rid of the pkg files one at a time, as you can put together a folder with many pkg files in it. usr/sbin/installer -pkg to/the/standard/location/"$4"/"$PKG" -tgt / -allowUntrusted # Install the pkg files found in a temp locationįor PKG in $(ls "to/the/standard/location/$4/" | grep "pkg$") # Uses $4 as File Name of Installer TarGZ You should have a tar.gz of a folder with a pkg inside of the same name. Then sudo tar -zcvf “Folder Name”.tar.gz “Folder Name” It is important that you do the cd first to be in the right place. Test everything, more than once.Ĭompressing the file. I have run this on Big Sur and it worked (six different Macs, 4 different mac year models). ![]() Then I have a script that runs, it will find the file, and extract the archive, then it will install the pkg files and finally it cleans up after itself. ![]() When this runs it will put the compressed file in the standard location. ![]() tar.gz archive, one at a time.Įach archive then gets added to Composer to create a package of it. Then I use terminal to compress them into a. I tend to put each one in a folder with the same name as the pkg. I then put them into a standard location. My method to install the Adobe Apps using Jamf Pro is.ĭownload the installers, I do them as individuals not as mass versions. ![]()
0 Comments
Leave a Reply. |