/build/static/layout/Breadcrumb_cap_w.png

iTunes 12.5.1 deployment issue

I have the problem with custom installation via SCCM 2012 the new version of ITunes 12.5.1
Below I have the script I normally use for previous deployment end was working with the old version.....Now, The application has been installed but I am not able to open iTunes on users PC.
I got 2 errors:

The first error message:
The procedure entry point AVCFPlayerSetClientEnforcedExternalprotectionMethod could not be located in the dynamic link library AVFoundationCF.dll

The second error message:
iTunes was not installed correctly. Please reinstall iTunes
Error 7 (windows error127)


I also would like to remark I cannot install quicktime and Bonjour in my environment.

Could you please let me know what should I do?
 

echo Installing Apple Application Support
start "" /wait msiexec /i "AppleApplicationSupport.msi" /qn /norestart ALLUSERS=true
 
echo Installing Mobile Device Support
start "" /wait msiexec /i "AppleMobileDeviceSupport.msi" /qn /norestart
 
echo Installing iTunes
start "" /wait msiexec /i "iTunes.msi" /qn /norestart

echo Cleaning Up Installation
if exist "C:\Users\Public\Desktop\iTunes.lnk" del "C:\Users\Public\Desktop\iTunes.lnk"
 
exit /B %EXIT_CODE%





1 Comment   [ + ] Show comment
  • Since ALLUSERS can have values of nul, 1 or 2, how do you handle that with a "True/False" statement? Try setting ALLUSERS=1 for each of the MSI files. Also, are you using the correct command lines? The current download filenames are all intended for 64 bit operating systems so we install:
    Install AppleApplicationSupport.msi
    Install AppleApplicationSupport64.msi
    Install AppleMobileDeviceSupport6464.msi
    Install iTunes6464.msi - EdT 7 years ago

Answers (6)

Posted by: EdT 7 years ago
Red Belt
0
Another shite release from Apple.
Having spent a couple of days looking into this new release, I am inclined to wait until a hopefully less buggy release appears. Trying to turn off the option where Itunes checks to see if it is the default player for audio fails each time. I am also seeing some evidence that there is support for a .globalpreferences.plist file in the users roaming profile, within the Preferences folder, but procmon just reports the file as missing.
The .plist files are also annoyingly a mixture of HTML and binary which would realistically need a vendor config program to generate any global config.
Posted by: EdT 7 years ago
Red Belt
0
In case you have not seen another thread on this issue, 12.5.1 changes the way that user preferences are stored in the user profile.  I am currently packaging this app and there are indications that Apple are providing support in the roaming profile for different operating systems based on the hardware GUID.  For those working on the package at this time, install iTunes, run your preferred capture tool, start it up and configure it, then perform the second snapshot.
A file with the extension .plist is created in the appdata/roaming folders in the user profile, and the filename includes a GUID which, if you search the registry, can be found under HKLM/System/CurrentControlSet/etc.   Initial investigations suggest that the GUID is specific to the operating system version and type, eg, home, pro, enterprise, but I've not had the time so far to test the install on different O/S's.
I do speculate, however, on whether those of us packaging for Win 7 with Win 10 on the horizon, may need to deploy preferences files for all supported windows operating systems to ensure cross platform useability.

Comments:
  • Would you please provide a little more detail on the process? Are your steps similar to this post http://www.itninja.com/question/itunes-12-5-1-and-itunesprefs-xml ? If so can you expand on the steps to configure Orca? Thanks - ws2000 7 years ago
    • Why do you need to configure ORCA ? To package the current iTunes I am installing the vendor package and then configuring iTunes to the preferences required for our organisation.
      Harvest the following plist files:
      com.apple.apsd.plist
      com.apple.iTunes.eq.plist
      com.apple.iTunes.plist
      com.apple.iTunes.{13be78c4-64a7-11e6-a1a3-806e6f6e6963}.plist
      com.apple.iTunes.{846ee340-7039-11de-9d20-806e6f6e6963}.plist
      com.apple.mediaaccessibility.plist

      The two plist files with a GUID in the name are from a Win 7 and a Win 10 installation - presumably this is to handle roaming profiles where there is an environment with multiple operating systems. The GUID is the hardware ID of the operating system. It's entirely up to you how you handle the deployment of the plist files to the user profile - you can use Active Setup or Self Healing for example. Just a couple of things though. I found that the preference settings would not always "stick" on the 12.5.x releases. However, if you install 12.5.x over an older release which is configured with XML files, the settings appear to be migrated. Anyway, once you have harvested the plist files they do appear to be consistent across newer versions of 12.5.x so not much work is required for each new release. I routinely deploy both the Win 7 and Win 10 plist files as we are moving in that direction and it makes sure we don't need to repackage for Win 10. Annoyingly, the plist files are a mixture of binary and text so it's nigh on impossible to figure out what is stored where. Nevertheless, parental settings do continue to be stored in the registry. - EdT 7 years ago
      • I will give it a try. Thanks for the response. - ws2000 7 years ago
Posted by: viradue 7 years ago
White Belt
0
I solved the issue finally... :) I createdapp once again and there is no issue anymore.

regarding the logs... of course I inserted necessary lines

thanks to all for the feedback
Posted by: Gaspesy 7 years ago
White Belt
0
To install Itunes MSI:

change values in iTunes6464.msi with ORCA (save it under the original name)
REGSRCH_DESKTOP_SHORTCUTS 0
REGSRCH_MEDIA_DEFAULTS 0
IAcceptLicense Yes

and install it like this :    

iTunes6464Setup.exe /q /l*v %temp%\itunes.log
msiexec /i AppleApplicationSupport64.msi /qn /l*v %temp%\Itunes_support.log
msiexec /i bonjour.msi /qn /l*v %temp%\bonjour.log
msiexec /i AppleMobileDeviceSupport6464.msi /q /l*v %temp%\apple_mobile.log

I did not get rid off icon but you can do it with a little DEL :)
It works like a charm !


Comments:
  • By directly editing the MSI you are probably breaching the license conditions for iTunes. - EdT 7 years ago
Posted by: anonymous_9363 7 years ago
Red Belt
0
My first step would be to add logging to all of the command lines. Who installs anything without a log? When stuff goes wrong, you have no clue what happened without one.
Posted by: stacymarkel 5 years ago
White Belt
0
You need to download the full offline iTunes package from Apple’s website. Save it to an accessible place but doesn’t need to be where you put your other SCCM files as we will need to extract the MSI files from it. You will also need to have Orca installed to edit the MSI. iTunes error 14 page might be helpful for further suggestions.


Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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