OS X:

    mount, install, unmount it:

    hdiutil attach dmgfile
    installer -pkg /Volumes/volume/package.pkg -target /
    hdiutil detach /Volumes/volume

    Linux:

    rpm -ivh rpmfile

    Windows:

    The msiexec.exe command will perform an MSI installation via the command line.

    msiexec -i msifile

    The various flags supported by the installer are:

    • INSTALL_WORKER_SERVICE
    • INSTALL_WATCHDOG_SERVICE
    • INSTALL_USER_PATH
    • INSTALL_ADMIN_PATH
    • INSTALL_MAYA_JOB_TYPE
    • INSTALL_MAYA_API

    Setting them to 1 will have the same effect as clicking the checkbox in the interactive installer.

     

     MSI installation with logging

    Sometime you need to see what's going wrong with the MSI installer. You can use the command line msiexec to install with logging output to a file:

    msiexec /i mymsifile.msi /Lime logfile.txt

    or more verbose

    msiexec /i mymsifile.msi /L*vime logfile.txt

    where mymsifile.msi is the path to the MSI file.

    Batch Script for Large Installations

    Below is a batch script that can be modified to suite your environment.

    Be advised this script should be run as user Administrator

    Qubeinstall.bat

     

    To uninstall before upgrades

    Icon

    Replace $version$ with relevant details

     

     

    See also Using the kickstart file

    • No labels