First, can you run the script successfully on its own outside of Jamf? That said, here are the things I'd look at. So I'm a bit confused because there's really no "installer" involved. You say "fails once the installer is opened" but that doesn't make any sense to me because at its core, the script curls the DMG and puts it to tmp, mounts the DMG, drags/copies the app to /Applications, sets the client keycode, unmounts the DMG, then cleans up the DMG. I'm not sure either are your issue, but it's also not clear to me where the script is falling down for you. The other difference was in your #copy app from dmg to applications step you're using sudo cp -R - where I just used ditto to move the app from the disk image to the Applications folder. The biggest difference was that I didn't have a proxy to deal with. The script I used was very similar to yours except for 2 main differences. I moved away from Webroot last summer so I don't have direct experience with Webroot in Catalina and I'm a bit rusty with the script, but here goes. Everything is run in the background so its unknown to me why the installer exits without installing. I switched the link to the new link (provided by webroot) but the script fails once the installer is opened. I tried using the old script and reinstalling because in another thread someone had mentioned the old link will download the newest version once the key is inserted but the installer itself appears to hang when opened. #sudo "/Applications/Webroot SecureAnywhere.app/Contents/MacOS/Webroot SecureAnywhere" install -keycode=$KEY -language=en –silent -proxy_auth=auth_basic_1 -proxy_auth=auth_any_0 -proxy_host=$host -proxy_port=$port -proxy_user=$user -proxy_pass=$passwordĭiskutil list | grep Webroot SecureAnywhere | diskutil unmount /Volumes/Webroot SecureAnywhere Sudo "/Applications/Webroot SecureAnywhere.app/Contents/MacOS/Webroot SecureAnywhere" install -keycode=$KEY -language=en -silent #run silent install if no proxy (If running a Proxy Hash out this command) Sudo cp -R /Volumes/Webroot SecureAnywhere/Webroot SecureAnywhere.app /Applications/ Hdiutil attach -nobrowse /tmp/wsamacsme.dmg We once had a script that worked very well but seems with Catalina no longer works even if it's updated with new links.Įcho Please wait while file is downloaded and mounted Trying to install/update Webroot through scripts in Jamf.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |