Skip to main content

Just be going though the process of updating our Autodesk apps for 2026. its not a script I have written but I have updated for Maya & Mudbox 2026. I found on her somewhere.

Thought it was sharing to help other as a starting point.

 

#!/bin/bash

#Copy installer app from .dmg to /tmp
#Modify values below as necessary (Usually: year and pKey)

#Set variables

year="2026"
pkgPath1="/private/tmp/InstallMaya2026.app/Contents/Helper/Packages/Maya/MayaUSD.pkg"
pkgPath2="/private/tmp/InstallMaya2026.app/Contents/Helper/Packages/Maya/Maya_AdLMconf2026.pkg"
#pkgPath3="/private/tmp/InstallMaya2024.app/Contents/Helper/Packages/Licensing/adskflexnetserverIPV6.pkg"
pkgPath4="/private/tmp/InstallMaya2026.app/Contents/Helper/Packages/Licensing/AdskLicensing-15.1.0.12339-mac-installer.pkg"
pkgPath5="/private/tmp/InstallMaya2026.app/Contents/Helper/Packages/Maya/Maya_core2026.pkg"
pkgPath6="/private/tmp/InstallMaya2026.app/Contents/Helper/Packages/Maya/bifrost.pkg"
pkgPath7="/private/tmp/InstallMaya2026.app/Contents/Helper/Packages/Maya/MtoA.pkg"
pkgPath8="/private/tmp/InstallMaya2026.app/Contents/Helper/Packages/Maya/AdobeSubstance3DforMaya-3.0.4-2026-mac-universal.pkg"

mayapKey="657R1"
networkServer="yourlicense server here"
mayalicPath="/Library/Application Support/Autodesk/AdskLicensingService/${mayapKey}_${year}.0.0.F"
mayalicFile="LICPATH.lic"
mayalgsFile="LGS.data"

#Mudbox

pkgPath9="/private/tmp/InstallMudbox2026.app/Contents/Helper/Packages/Licensing/AdskLicensing-15.1.0.12339-mac-installer.pkg"
pkgPath10="/private/tmp/InstallMudbox2026.app/Contents/Helper/Packages/Licensing/adskflexnetserverIPV6.pkg"
pkgPath11="/private/tmp/InstallMudbox2026.app/Contents/Helper/Packages/Mudbox/Mudbox_AdLMconf2026.pkg"
pkgPath12="/private/tmp/InstallMudbox2026.app/Contents/Helper/Packages/Mudbox/Mudbox_core2026.pkg"

mudboxpKey="498R1"
mudboxlicPath="/Library/Application Support/Autodesk/AdskLicensingService/${mudboxpKey}_${year}.0.0.F"
mudboxlicFile="LICPATH.lic"
mudboxlgsFile="LGS.data"

#Declare functions

# Check if licensing service is running

checkLicensingService ()
{
launchctl unload /Library/LaunchDaemons/com.autodesk.AdskLicensingService.plist

sleep 15

launchctl load -w /Library/LaunchDaemons/com.autodesk.AdskLicensingService.plist

sleep 15


#Give it time to start

if ! launchctl list | grep "com.autodesk.AdskLicensingService" > /dev/null;
then echo "license start failer"
fi
}

# Call the function before running installers checkLicensingService


runInstaller ()
{
/usr/sbin/installer -verboseR -pkg "${pkgPath1}" -target /
/usr/sbin/installer -verboseR -pkg "${pkgPath2}" -target /
/usr/sbin/installer -verboseR -pkg "${pkgPath3}" -target /
/usr/sbin/installer -verboseR -pkg "${pkgPath4}" -target /
/usr/sbin/installer -verboseR -pkg "${pkgPath5}" -target /
/usr/sbin/installer -verboseR -pkg "${pkgPath6}" -target /
/usr/sbin/installer -verboseR -pkg "${pkgPath7}" -target /
/usr/sbin/installer -verboseR -pkg "${pkgPath8}" -target /
/usr/sbin/installer -verboseR -pkg "${pkgPath9}" -target / #Mudbox
/usr/sbin/installer -verboseR -pkg "${pkgPath10}" -target / #Mudbox
/usr/sbin/installer -verboseR -pkg "${pkgPath11}" -target / #Mudbox
/usr/sbin/installer -verboseR -pkg "${pkgPath12}" -target / #Mudbox
}

createMayaLicenseFiles ()
{
if [ ! -e "${mayalicPath}" ]];
then
/bin/mkdir "${mayalicPath}"
fi
/usr/bin/touch "${mayalicPath}/${mayalgsFile}"
/bin/chmod 777 "${mayalicPath}/${mayalgsFile}"
/usr/bin/touch "${mayalicPath}/${mayalicFile}"
/bin/chmod 777 "${mayalicPath}/${mayalicFile}"
/bin/echo "SERVER ${networkServer} 27000" > "${mayalicPath}/${mayalicFile}"
/bin/echo "USE_SERVER" >> "${mayalicPath}/${mayalicFile}"
/bin/echo "_NETWORK" >> "${mayalicPath}/${mayalgsFile}"
}

createMudboxLicenseFiles ()
{
if [ ! -e "${mudboxlicPath}" ]];
then
/bin/mkdir "${mudboxlicPath}"
fi
/usr/bin/touch "${mudboxlicPath}/${mudboxlgsFile}"
/bin/chmod 777 "${mudboxlicPath}/${mudboxlgsFile}"
/usr/bin/touch "${mudboxlicPath}/${mudboxlicFile}"
/bin/chmod 777 "${mudboxlicPath}/${mudboxlicFile}"
/bin/echo "SERVER ${networkServer} 27000" > "${mudboxlicPath}/${mudboxlicFile}"
/bin/echo "USE_SERVER" >> "${mudboxlicPath}/${mudboxlicFile}"
/bin/echo "_NETWORK" >> "${mudboxlicPath}/${mudboxlgsFile}"
}

MayalicenceHelper ()
{
/Library/Application\ Support/Autodesk/AdskLicensing/Current/helper/AdskLicensingInstHelper register --pk "657R1" --pv "2026.0.0.F" --cf /Library/Application\ Support/Autodesk/Adlm/PIT/2026/MayaConfig.pit --lm NETWORK --ls "yourlicense server here"

}

MudboxlicenceHelper ()
{
/Library/Application\ Support/Autodesk/AdskLicensing/Current/helper/AdskLicensingInstHelper register --pk "498R1" --pv "2026.0.0.F" --cf /Library/Application\ Support/Autodesk/Adlm/PIT/2026/MudboxConfig.pit --lm NETWORK --ls "yourlicense server here"

}

cleanUp ()
{
/bin/rm -rf "${pkgPath}"
/bin/rm -rf "${tmpfile}"
}

Checklicense ()
{ if /Library/Application\ Support/Autodesk/AdskLicensing/Current/helper/AdskLicensingInstHelper list

then
echo "Autodesk install complete"
fi
}


#Run script
runInstaller
checkLicensingService
createMayaLicenseFiles
createMudboxLicenseFiles
MayalicenceHelper
MudboxlicenceHelper
Checklicense
cleanUp

 

Thanks for the starting off point. I just so happened to be updating our labs with Maya 2026 this week. 

I have been using scripts found from jamf nation for the last few years to install + license Maya as well.


Thanks for this! It works great.

 

I made a few changes where you weren’t using variables the script has. You had these hard coded where one would need to manually input the keys and network server info into these two subroutines. I successfully tested these changes.

MayalicenceHelper ()
{
/Library/Application\ Support/Autodesk/AdskLicensing/Current/helper/AdskLicensingInstHelper register --pk "$mayapKey" --pv "2026.0.0.F" --cf /Library/Application\ Support/Autodesk/Adlm/PIT/2026/MayaConfig.pit --lm NETWORK --ls "$networkServer"

}

MudboxlicenceHelper ()
{
/Library/Application\ Support/Autodesk/AdskLicensing/Current/helper/AdskLicensingInstHelper register --pk "$mudboxpKey" --pv "2026.0.0.F" --cf /Library/Application\ Support/Autodesk/Adlm/PIT/2026/MudboxConfig.pit --lm NETWORK --ls "$networkServer"

}

 


FYI ​@tdenton  the original pkg paths you have, have “InstallMaya2026.app” concatenated, but since it is in quotes it should be spaced out like below

year="2026"
pkgPath1="/private/tmp/Install Maya 2026.app/Contents/Helper/Packages/Maya/MayaUSD.pkg"
pkgPath2="/private/tmp/Install Maya 2026.app/Contents/Helper/Packages/Maya/Maya_AdLMconf2026.pkg"
pkgPath3="/private/tmp/InstallMaya2024.app/Contents/Helper/Packages/Licensing/adskflexnetserverIPV6.pkg"
pkgPath4="/private/tmp/Install Maya 2026.app/Contents/Helper/Packages/Licensing/AdskLicensing-15.1.0.12339-mac-installer.pkg"
pkgPath5="/private/tmp/Install Maya 2026.app/Contents/Helper/Packages/Maya/Maya_core2026.pkg"
pkgPath6="/private/tmp/Install Maya 2026.app/Contents/Helper/Packages/Maya/bifrost.pkg"
pkgPath7="/private/tmp/Install Maya 2026.app/Contents/Helper/Packages/Maya/MtoA.pkg"
pkgPath8="/private/tmp/Install Maya 2026.app/Contents/Helper/Packages/Maya/AdobeSubstance3DforMaya-3.0.4-2026-mac-universal.pkg"

I haven't had much luck so far, still trying to use standalone licensing but getting error
“Error (13) for adlmPITSetProductInformation_2: PRODUCTS information is not found”


@calfriday I’m no scripter still learning I think I orginally had issues as the installer had spaces in its name which script didnt seem to like. So it should look like this. I assume the spaces are ignored as its in quotes.

Can’t offer much advise on standalone license as we uses network licenses.

year="2026"

pkgPath1=”/private/tmp/Install Maya 2026.app/Contents/Helper/Packages/Maya/MayaUSD.pkg"


@calfriday If you need to install the sign in version instead of the network license version, comment out the create*LicenseFiles and *licenceHelper subroutine calls like this:

 

#Run script
runInstaller
checkLicensingService
#createMayaLicenseFiles
#createMudboxLicenseFiles
#MayalicenceHelper
#MudboxlicenceHelper
Checklicense
cleanUp

that will prevent the _NETWORK flag being set in the LGS.data files and Maya and Mudbox will revert to their sign in versions.


@cgeorge ​@tdenton thank you all -- we don't want the sign in version, which I think it is named user licensing. We have used the “--lm STANDALONE” 


I found out why I was getting the error previously mentioned. My partner sent me the 2026 DMG but with the 2025 licensing info, so there was a mismatch in product key resulting in the error.

I reworked my 2024 script for standalone licensing for one of our labs and also found the script I used for network licensing for another lab.