Maya/ Mudbox 2024 SFLtool popup

tdenton
Contributor II

Think this has been posted before but hoping someone have come across recently.

Im packaging this using a script I found on here somewhere 

Im getting below error which comes up while the script is running I have created a login item profile for this but still getting this pop up any idea.

Screenshot 2024-06-24 at 5.13.42 AM.png





 

#!/bin/zsh
 
### Install Autodesk Apps and Licenses
### Maya & MudBox (2025)
 
### 2025.07.19 -JonW
 
 
### Silently installs apps and licenses - no user interaction required
### Uses stock DMG's from Autodesk - no pkg hacking or repacking required!
### Works at loginwindow for multi-user lab/classroom deployment
### Tested on both 2024 & 2025 app versions (macOS 13 & 14) AutoCAD, Maya & MudBox
### A complete uninstall of previous versions is recommended but may not be necessary, ymmv
### Script could use some error checking, logging and fine tuning ... will get that on a slower day
 
 
 
### Ensure stock Autodesk install DMG's are set to CACHE (not INSTALL) via Jamf policy
### Update script variables in each of the 'app blocks' below
###   - fyi check PIT (app config file) paths every year!  Will need to perform a temporary manual installation to determine if they change or not.
###   - fyi more info on license options: /Library/Application\ Support/Autodesk/AdskLicensing/Current/helper/AdskLicensingInstHelper register --help
 
 
 
### !!! Important !!! 
### !!! 2025 Silent install patch info - aka ODIS update !!!
 
###   I had to tweak the ODIS patcher... It sort of defeats the purpose if the patcher itself doesn't work silently! C'mon Autodesk!
###   (at least as of 2024.07.19) tweaks:
### - the /Volumes/Darwin/ path in the article is wrong!  For me it's loading as: /Volumes/Macintosh\ HD\ 1/
### - this thing will throw Apple quarantine issues - resolving with xattr (i.e. just ignore the article instructions!)
### - the article makes no mention of the patch .sh script flag --mode unattended !!!  
###   I found it by digging around in the patch files!  But hey, at least it's there right?  It's always something isn't it!? 
 
 
 
 
##############################################################################################
### Function
installApp ()
{
if [[ -e "${dmg}" ]]; then
### Mount dmg, install silently & unmount
echo "installing: ${dmg}"
hdiutil attach -nobrowse "${dmg}"
"${Setup}" --silent
hdiutil detach "${Volume}"
else
echo "cannot locate dmg for: ${dmg}"
echo "skipping install attempt"
fi
}
 
 
 
##############################################################################################
### Function
applyLicense ()
{
if [[ -e "${ConfigFile}" ]]; then
### Apply License
### details: /Library/Application\ Support/Autodesk/AdskLicensing/Current/helper/AdskLicensingInstHelper register --help
/Library/Application\ Support/Autodesk/AdskLicensing/Current/helper/AdskLicensingInstHelper register --pk "${ProductKey}" --pv "${ProductVersionYear}${productVersion}" --cf ${ConfigFile} --lm NETWORK --ls "${networkLicenseServer}"
else
echo "license attempt failed, for product: ${ProductKey}"
echo ".pit config file could not be located"
fi
}
 
 
 
##############################################################################################
### Function
silentInstallPatchODIS ()
{
### See notes above!!
### Tweaks as of 2025.07.19 - be aware Autodesk could change this at any time!
 
### This is the ODIS Update dmg
hdiutil attach -nobrowse /private/tmp/Darwin.dmg 
 
### Let's move contents out of DMG to a tmp dir
mkdir -p /tmp/Autodesk_ODIS_Update_Contents
cp -R /Volumes/Macintosh\ HD\ 1/* /tmp/Autodesk_ODIS_Update_Contents
 
### Detach volume
hdiutil detach /Volumes/Macintosh\ HD\ 1
 
### fix quarantine issues - probably just need 2nd command, but let's go wild
xattr -rd com.apple.quarantine /tmp/Autodesk_ODIS_Update_Contents
xattr -rc /tmp/Autodesk_ODIS_Update_Contents
 
### run patch script - note, found ref to the --mode unattended flag buried in one of the supporting files, not in article?!?
/tmp/Autodesk_ODIS_Update_Contents/AdODIS-installer.app/Contents/MacOS/installbuilder.sh --mode unattended
}
 
 
 
 
##############################################################################################
##############################################################################################
 
### Begin script
 
##############################################################################################
##############################################################################################
 
 
 
#############################################################
### Move cached DMG's from Jamf staging area to /private/tmp/
mv /Library/Application\ Support/JAMF/Waiting\ Room/Autodesk* /private/tmp
mv /Library/Application\ Support/JAMF/Waiting\ Room/Darwin* /private/tmp
 
 
 
############################################
### Apply ODIS update - aka Silent install patch
silentInstallPatchODIS
 
 
##############################
### Maya - install & license
networkLicenseServer="alic03.network.uni"
ProductKey="657P1" ### note, ProductKey may differ!
productVersion=".0.0.F" ### note, ProductVersion may differ!
ProductVersionYear="2024"
dmg=/private/tmp/Autodesk_Maya_2024_2_Update_macOS.dmg ### full path to install dmg in /tmp
Volume=/Volumes/Install\ Maya\ */  ### attached dmg volume
Setup=/Volumes/Install\ Maya\ 2024/Install\ Maya\ 2024.app/Contents/Helper/setup.app/Contents/MacOS/Setup ### full path of setup app
ConfigFile=/Library/Application\ Support/Autodesk/ADLM/PIT/2024/MayaConfig.pit ### full path of installed config file - used by license function
installApp
applyLicense
 
 
 
##############################
### Mudbox - install & license
networkLicenseServer="alic03.network.uni"
ProductKey="498Q1" ### note, ProductKey may differ!
productVersion=".0.0.F" ### note, ProductVersion may differ!
ProductVersionYear="2024"
dmg=/private/tmp/Autodesk_Mudbox_2024_macOS.dmg ### full path to install dmg in /tmp
Volume=/Volumes/Install\ Mudbox\ */ ### attached dmg volume
Setup=/Volumes/Install\ Mudbox\ 2024/Install\ Mudbox\ 2024.app/Contents/Helper/setup.app/Contents/MacOS/Setup ### full path of setup app
ConfigFile=/Library/Application\ Support/Autodesk/ADLM/PIT/2024/MudboxConfig.pit ### full path of installed config file - used by license function
installApp
applyLicense
 
 
 
###########################################################################
### Verify license details for all apps - optional, but nice to see in logs
/Library/Application\ Support/Autodesk/AdskLicensing/Current/helper/AdskLicensingInstHelper list
echo "-------------------------"
echo "Autodesk install complete"
echo "-------------------------"
 
 
 
###########################################################################
### Ensure dmg volumes are detached
### Temporary script step, added last minute.  Still need to flesh this out
hdiutil detach /Volumes/Macintosh\ HD\ 1 > /dev/null 2>&1 ### This is the 'Darwin' ODIS Update dmg NOT the system volume
hdiutil detach /Volumes/Darwin* > /dev/null 2>&1
hdiutil detach /Volumes/Installer > /dev/null 2>&1
hdiutil detach /Volumes/Install\ Maya\ */ > /dev/null 2>&1
hdiutil detach /Volumes/Install\ Mudbox\ */ > /dev/null 2>&1
 
 
 
 
###########################################################################
### Clean up installers - optional, /private/tmp should auto purge on reboot
### rm -rf /private/tmp/Autodesk*
### rm -rf /private/tmp/Darwin*

 

2 REPLIES 2

AJPinto
Honored Contributor III

I have not tried to do anything like this myself, but I have a feeling its intended as you are screwing with login items/background services and it's looking for a secure token not a bootstrap token (assuming this is actually running as root). Unless you are troubleshooting something for a user with a self-service policy, I would not run something like this.

tdenton
Contributor II

this running while the machine is logged in, havent tested if the machine is just left to install I assume we would expect to see a different result perhaps.