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

Is the application script installation behaviour set to System or User.

If its system whten you want be able to resolve %userprofile% to the currently logged on user.

You could either split the script into 2 applications, one to install the app as system and the other to install the user settings, or

Push out the settings using group policy preferences?

Also might want add it to C:\Users\Default for future users

Share this post


Link to post
Share on other sites

  • 0

"Is the application script installation behaviour set to System or User."

 

what do you mean by this?

 

what i want is that i can roll this package for any user. And then it needs to copy the preferences to the app data folder of the user.

 

I have tried to replace the %userprofile% with c:\users\default\ but then it only copy the files to the default user profile and when i look at the profile for the user who is logged in it does not have the correct preference files. (just the default ones itunes and quicktime creates.)

Share this post


Link to post
Share on other sites

  • 0

 

but then it only copy the files to the default user profile and when i look at the profile for the user who is logged in it does not have the correct preference files. (just the default ones itunes and quicktime creates.)

 

Does the iTunes initial installation install for all users that use the system (system installation)?

If so and you are deploying the full script which is supposed to install iTunes and then copy the preferences files to the user profile then how will this work when someone else logs in as the package is already installed.

 

You should probably have the copy preference files separate and use the application model to this with detection methods based on the files not been in the user profile so it will deploy them.

 

Have you seen this maybe it will help.

 

BTW you should probably use the application model for this program in full and leave it available in the APP Catalog for users to install as needed. This way the user has to be logged in so the user profile copy part should work just fine.

Share this post


Link to post
Share on other sites

  • 0

Okay thanks for the info, the problem was that i was using the package option instead of application option of sccm. But since itunes is dependant from the other packages how do i install the rest? Do i need to create a application folder, or do i need to create all the applications separately? And make them all dependant from each other?

 

Like i said i am new to the packaging thing with sccm and this is pretty difficult application to get working correctly

 

Thanks for all the help so far.

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.