Jump to content


  • 0
pascalloz

itunes 11 with sccm 2012

Question

Hi all,

 

I have been working on this for 2 weeks now (i had absolutely no sccm or package experience before that.)

 

I am so close to get this thing working.

 

I am trying to deploy itunes + quicktime with sccm 2012. I have created a script (which i have mostly got from the internet) and when i am running it from the share it finally does what it should do. But when i created a package, use the install.cmd as the command to run, with admin rights, for some reason it will not copy the files to the right location. The itunesprefs.xml and quicktime.qtp file to the right location. When i run the script manually it runs fine.

 

When i deploy it with sccm the msi's are installed correctly but i miss a lot of settings that i have put in the itunes64.mst. (and i know it is using it, because one of the settings is removing desktop shortcut, and removing the read me file from the start menu) Like Accept EULA, don't update, or even ask about it, no bonjour (that gave me such a headache that i decided to install it anyway. )

 

So i solved it (after i have spend a day on trying different settings in the mst files, no luck )to copy the xml files after i made the extra settings to itunes and quicktime. I don't know if i have done something wrong but its working. well when i run the script manually.

 

So i want it to deploy with sccm but i can't get the files in the correct location, perhaps there is something wrong with my script.

 

I am hoping any of you guys would have a idea?

 

this is my install.cmd

 

@echo off
@echo .:: Installing Apple Application Support ::.
msiexec /i "%~dp0AppleApplicationSupport.msi" /qn
@echo .:: Installing Apple Mobile Device Support ::.
msiexec /i "%~dp0AppleMobileDeviceSupport64.msi" /qn
@echo .:: Installing Bonjour x64 ::.
msiexec /i "%~dp0Bonjour64.msi" TRANSFORMS=bonjour.mst /qn
@echo .:: Installing QuickTime ::.
msiexec /i "%~dp0QuickTime.msi" TRANSFORMS=QuickTime.mst /qn
@echo .:: Installing iTunes x64 ::.
msiexec /i "%~dp0iTunes64.msi" TRANSFORMS=iTunes64.mst /qn
@echo .:: Copy the QuickTime settings ::.
xcopy "%~dp0quicktime.qtp" "%USERPROFILE%\AppData\LocalLow\Apple Computer\Quicktime" /Y
@echo .:: Copy the iTunes settings ::.
xcopy "%~dp0itunesPrefs.xml" "%USERPROFILE%\AppData\Local\Apple Computer\iTunes" /Y
xcopy "%~dp0iTunes\iTunesPrefs.xml" "%USERPROFILE%\AppData\Roaming\Apple Computer\iTunes" /Y
exit 0

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

if you want an application to install and you want it to install any prerequisite applications first, then you have to make them dependencies in the applications deployment type

 

your screenshots are of a PACKAGE and that is the legacy way of doing things in Configuration Manager, take a look at this post to learn how to create an Application (which allows for dependencies...)

Share this post


Link to post
Share on other sites

  • 0

Okay thanks for the tip.

 

I thought i should start small.

 

So i created a Quicktime application with an dependency of apple application support. That is working perfect. But now it needs to copy the Quicktime.qtp file in the appdata folder. But for some reason it will not do that. I have include the screenshots

 

here below is the script:

 

xcopy "%~dp0quicktime.qtp" "%AppData%\LocalLow\Apple Computer\Quicktime" /Y

post-26002-0-91652900-1411347125_thumb.png

post-26002-0-62520600-1411347133_thumb.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.