--pkgname="Install Maya 2016.app/Contents/Packages/Maya/Maya_core2016.pkg"
--pkgname="Install Maya 2016.app/Contents/Packages/Maya/Fcheck_app2016.pkg"
--pkgname="Install Maya 2016.app/Contents/Packages/ADLM/adlmframework11.pkg"
--pkgname="Install Maya 2016.app/Contents/Packages/ADLM/adlmapps11.pkg"
--pkgname="Install Maya 2016.app/Contents/Packages/ADLM/adlmflexnetclient.pkg"
--pkgname="Install Maya 2016.app/Contents/Packages/Maya/Maya_AdLMconf2016.pkg"
I grabbed adlmreg out of the Install Maya 2016.app/Contents/Resources and put it in a simple installer to install to /usr/bin
I made each one require the previous in the order I imported them and make the Maya_core2016.pkg require the adlmreg executable installer that I made.
On the last install, Maya_AdLMconf2016.pkg, I copied and modified slightly the referenced thread's post install script. I will copy that below:
The product and quite codes can be looked up here: http://knowledge.autodesk.com/customer-service/installation-activation-licensing/get-ready/find-serial-number-product-key/product-key-look/2016-product-keys
PRODUCT=Maya
YEAR=2016
LIC=/private/var/flexlm/${PRODUCT}${YEAR}.lic
#Product Code
PRODCODE1=657H1
#Suite Code
PRODCODE2=793H1
SERIAL=XXX-XXXXXXXXX
SERVER=xxx.xxx.xxx
LICENSEENV=/Applications/Autodesk/maya${YEAR}/License.env
# Network license file
echo "SERVER ${SERVER} 0 27000" > ${LIC}
echo USE_SERVER >> ${LIC}
echo VENDOR adskflex port=2080 >> ${LIC}
chmod 644 ${LIC}
chown root:wheel ${LIC}
# License.env file
echo "MAYA_LICENSE=unlimited" > ${LICENSEENV}
echo "MAYA_LICENSE_METHOD=network" >> ${LICENSEENV}
chmod 755 ${LICENSEENV}
chown root:admin ${LICENSEENV}
# registration
/usr/bin/adlmreg -i N ${PRODCODE1} ${PRODCODE2} ${YEAR}.0.0.F ${SERIAL} /Library/Application\ Support/Autodesk/Adlm/PIT/${YEAR}/${PRODUCT}Config.pit
# symlink in Applications
ln -s /Applications/Autodesk/maya${YEAR}/${PRODUCT}.app /Applications/${PRODUCT}\ ${YEAR}.app
# disable MC3
/usr/bin/defaults write /Library/Preferences/com.autodesk.MC3Framework MC3Enabled -int 0
I am now working on Mudbox but wanted to share with the group as you all have helped me so much in the past.
Thanks everyone! Let me know if there's something I could do better!
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1. Why reinvent the wheel if someone else is willing to share their testing and work… isn't this the whole point of open source?
Hello Everyone!Just wanted to let everyone know that Maya 2016 can be packaged in a very similar manner as described here: https://groups.google.com/forum/#!topic/munki-dev/Mu9UvrjbHuQI just pointed the installer at the same disk image as Greg was saying to in the referenced thread.