/build/static/layout/Breadcrumb_cap_w.png

iTunes 10.1 insists on using SetupAdmin.exe

I've been looking at various deployment guides, trying to create a set of MSIs and MSTs that will silently install iTunes v10.1.1.4 on Windows NT 6.1/'7' x64. I have QuickTime working, and both AppleApplicationSupport and MobileDeviceSupport install without complaint.

It seems that iTunes64.msi is quite insistent on calling SetupAdmin.exe with some parameters, and then expecting it to install the prerequisite packages. Since I keep the MSIs in separate directories (and they were already installed) it cannot.

When I run "msiexec /i iTunes64.msi TRANSFORMS=Test3.mst" the install ends with the conflicting message
iTunes Installer Completed
The installer encountered errors before iTunes could be configured.


The log file shows that the package had tried to execute "SetupAdmin.exe /evt E3D3 /pid 2988 /mon 460 572". Since SetupAdmin.exe is not present it obviously can't succeed. I did one test a while back with the file in place and got an error about installing the other supporting packages.

I've tried to find and disable the various conditions/properties that would trigger these installs. Seems I have not found the magic words yet.

I'll link the MST and log file below, but this is what I set in the MST:

Property table:
Added:
AMDS_IS_INSTALLED 1
APPLEAPPLICATIONSUPPORT_IS_INSTALLED 1
DESKTOP_SHORTCUTS 0
FORCE_SUB_INSTALLS 0
INSTALL_ASUW 0
INSTALL_BONJOUR 0
MEDIA_DEFAULTS 0
NO_ASUW 1
NO_BONJOUR 1
QUICKTIME_IS_INSTALLED 1
Changed:
IAcceptLicense Yes
SCHEDULE_ASUW 0
Shortcut table:
Dropped:
AboutiTunes


MST file
Log file

Any suggestions? From looking at the "Condition" column in the "caPackage" table I would expect what I've set to be sufficient.

0 Comments   [ + ] Show comments

Answers (7)

Posted by: piyushnasa 11 years ago
Red Belt
2

Follow below link to package latest version of itunes for Windows 7

http://msiworld.blogspot.com.au/2012/06/re-packaging-apple-itunes-10617-and.html

Posted by: Lucid 13 years ago
Purple Belt
1
Not sure if this really helps you out or not, but... We put all the .MSIs in the same folder (nothing else in the folder but 4 .MSIs), and then install them with the standard "/quiet /norestart" switches. Application Support, and then Mobile Device Support, and then iTunes. Have you tried kicking it off without the .MST file to see if your source files aren't corrupt or something...

Comments:
  • This is the easiest way and easily allows you to exclude the Apple software update MSI component. - RandomITPro 12 years ago
Posted by: anonymous_9363 13 years ago
Red Belt
1
I expect you'll find SetupAdmin.EXE exists in the Binary table and that the MSI contains a Custom Action which extracts then executes it.
Posted by: Progman 13 years ago
Senior Yellow Belt
1
Installation of the base MSI files works, but of course leaves icons and unwanted updating programs lying about.

The only references to "SetupAdmin" (not case-sensitive) in the MSI are in the MoveFile, Property, and RemoveFile tables. In Property I see a row "caPackageExeName; SetupAdmin.exe". I believe this has something to do with "iTunes_CustomActions.dll", which is referenced by the CustomAction row "InstallPackages" and is present in the Binary table.

I had tried to avoid messing with the property "STANDALONE" referenced in the InstallUISequence entry "InstallPackages; (NOT Installed) AND (NOT STANDALONE)" but I may have no choice if I want this to work. Hmm....it actually isn't referenced anywhere else, so maybe that is the answer!

I'll try putting all the MSIs in one place, and I'll try fiddling with STANDALONE. Thanks guys!
Posted by: Progman 13 years ago
Senior Yellow Belt
1
I tried STANDLONE=1 first and it worked! I've submitted a Note about it, linking to this thread.
Posted by: claverier 13 years ago
Yellow Belt
1
What process did you follow to silently install iTunes 10. Are there simple commands to run the itunessetup.exe silently I keep seeing references to /q and /quiet passive but those keep giving me errors about Apple Application support. I have also seen the process below but I am lost at Using MDT2010 in step 3. Any assistance would be appreciated..

Thanks
Roy


1. Download iTunesSetup.exe from apple.com

2. Extract AppleApplicationSupport.msi and QuickTime.msi using 7zip

3. Using MDT2010:
iTunessetup.exe /quiet /passive /norestart

Dependencies: QuickTime and AppleApplicationSupport (extracted in step 1) and installed as follows:

msiexec /i AppleApplicationSupport.msi /quiet /norestart

msiexec QuickTime.msi /quiet /passive


Above Entry Provided on 9/27/2010 by jhiltabidel Rate It

Rating
-7


In version 10.1.1.4 I discovered that I needed to define the property STANDALONE=1 to stop the MSI from trying to run SetupAdmin.exe.

See http://itninja.com/question/firewalls-and-sp23 for more details.
Posted by: polaquita 12 years ago
Senior Yellow Belt
1
In your command line add ISSETUPDRIVEN=1 property to the MSI
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ