Kaseya Community

iTunes 7.6.1

  • Has anyone been able to successfully script an unattended install of iTunes 7.6 without using packager? I am finding complicated VB scripts and stuff that do all kinds of things I don't need to do. I just need a simple install that will stick iTunes on a workstation in its default state. Adding a /s to the end only silently installs iTunes itself and drops all the extras like Quicktime, Mobil Support, and the rest.

    Legacy Forum Name: iTunes 7.6.1,
    Legacy Posted By Username: efieric
  • This should get you going - this is the logfile from iTunesSetup.exe that I just ran:

    === Logging started: 3/12/2008 10:22:22 ===
    Command Line:
    Information on cabinet file 'C:\installables\iTunesSetup.exe'
    Total length of cabinet file : 36612364
    Number of folders in cabinet : 1
    Number of files in cabinet : 4
    Cabinet set ID : 0
    Cabinet number in set : 0
    RESERVE area in cabinet? : no
    Chained to prev cabinet? : no
    Chained to next cabinet? : no

    fdintCABINET_INFO
    next cabinet =
    next disk =
    cabinet path = C:\installables\
    cabinet set ID = 0
    cabinet # in set = 0 (zero based)

    fdintCOPY_FILE
    file name in cabinet = iTunes.msi
    uncompressed file size = 19319808

    fdintCLOSE_FILE_INFO
    file name in cabinet = iTunes.msi

    fdintCOPY_FILE
    file name in cabinet = QuickTime.msi
    uncompressed file size = 24522752

    fdintCLOSE_FILE_INFO
    file name in cabinet = QuickTime.msi

    fdintCOPY_FILE
    file name in cabinet = AppleSoftwareUpdate.msi
    uncompressed file size = 2078720

    fdintCLOSE_FILE_INFO
    file name in cabinet = AppleSoftwareUpdate.msi

    fdintCOPY_FILE
    file name in cabinet = iTunesSetupAdmin.exe
    uncompressed file size = 108096

    fdintCLOSE_FILE_INFO
    file name in cabinet = iTunesSetupAdmin.exe

    Executing: "C:\WINDOWS\system32\msiexec.exe" /i "C:\DOCUME~1\nateg\LOCALS~1\Temp\IXP170.TMP\iTunes.msi"
    Returned: 1603


    You should be able to run the install on a test system, and look in for c:\docs and settings\username\local settings\temp\itunessetupXXX.log. Pull the MSI files out of the temp dir referenced in the logfile, then send those to the target machine and execute msiexec with the proper silent switches.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: sequoya
  • Exploding out the itunes setup.exe yields 5 actual MSI files and an EXE.
    iTunes.mis
    AppleMobileDeviceSupport.msi
    AppleSoftwareUpdate.msi
    Bonjour.msi
    iTunesSetupAdmin.exe
    QuickTime.msi

    Most of these are pretty self explanatory save the "Admin.exe" If I'm just installing each MSI after the other, I probably wont need the admin.exe.

    I'm relatively new to Kaseya and haven't every tried cascading MSI installs. I tried a few EXE files in the same script and noticed that they often step on top each other with the second one executing before the first is finished. I wound up having to guess how long the install would take, then have the script pause, then call another script.

    Anyone seen this or am I just doing something wrong?

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: efieric
  • You should be using the Execute File step with Execute as (User or System) and Wait For Completion. This will prevent them from stepping all over each other.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: sequoya
  • Looks like someone has done the work for us...

    http://shark.msfn.org/ Big Smile

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: Resistance2Fly