Posted on 03-18-2015 11:05 PM
Hi All,
I'm looking at deploying Android Studio through Self Service for non-elevated users. I've uploaded the dmg file, and written a script to move the .app file to /Applications on each users machine. The package is dependent on JVM, so I've also packaged the JDK and have deployed that. My current challenges are:
#!/bin/sh
spctl --add --label "Android Studio" "/Applications/Android Studio.app"
spctl --enable --label "Android Studio"
Thanks, Jaems
Solved! Go to Solution.
Posted on 03-19-2015 04:30 AM
Hi,
To get around the first issue you could either create a new package for it with Composer, or possibly remove the quarantine flag in your script with:
xattr -c -r /path/to/app
For the second issue, you could either package up the additional content as part of the deployment so the users don't need to, or edit the authorisation db to allow that particular function, or (something I've had to do with XAMPP) is to add sudo rights for the binary that is performing the action.
Posted on 03-19-2015 04:30 AM
Hi,
To get around the first issue you could either create a new package for it with Composer, or possibly remove the quarantine flag in your script with:
xattr -c -r /path/to/app
For the second issue, you could either package up the additional content as part of the deployment so the users don't need to, or edit the authorisation db to allow that particular function, or (something I've had to do with XAMPP) is to add sudo rights for the binary that is performing the action.
Posted on 07-21-2022 08:54 AM
Question for you even though I know this is an old thread - did you deploy XAMPP through Jamf? If so, can you give me some information on this as I am not having any success. Thanks!
Posted on 07-24-2015 08:25 AM
Jaems,
I was hoping you could show what you did to allow the standard users to run the setup wizard. Right now, I have the .app, the intel haxm install, and the sdk in a self service package with a post script that copies the sdk to the current user's Library. However, as you were, I am still prompted on the first run to finish the installation through the setup wizard. What is the missing piece?
Thanks,
Bob
Posted on 10-01-2015 08:07 AM
Hello Bob,
I am struggling with the same problem that you have mentioned.
Have you found your missing piece to skip the setup wizard?
Thanks
Posted on 10-04-2015 04:36 PM
This is what we used when we package it last year.
After you've done the initial setup wizard, capture these files using Composer and push it with Fill User Templates (FUT) and Fill Existing User home directories (FEU) ticked.
androidStudioFirstRun.xml
gradle.settings.xml
jdk.table.xml
other.xml
usage.statistics.xml
Located in ~/Library/Preferences/AndroidStudio/options
Posted on 03-23-2018 02:27 AM
Hey @Kumarasinghe - how do you manage updates?
Posted on 11-14-2023 10:58 PM
Use Patch Management to push updated pkg uploaded to jamfcloud to make it available in Patch Management
Posted on 12-29-2023 03:35 AM
Repacking for update the Android Studio is not working. After updated it show error.
Anyone can help me to repackage Android Studio for updating the existing app