/build/static/layout/Breadcrumb_cap_w.png

iTunes 7.1.x

I'm absolutely frustrated with Apple's install design for Windows machines. So I have a problem that I hope someone can advise me on. I am able to get iTunes 7.1 to install silently but on first launch I still get the SLA confirmation. For the life of me I cannot get rid of this. The following is the steps I've taken to package this application.

1. Download the iTunesSetup.exe
2. Run the setup and copy ALL of the extracted MSIs to another location
3. Cancel the installation of the iTunesSetup.exe
4. Create a transform for QuickTime 7.1.5 that includes the .qtp config file
5. Install iTunes manually and copy the iTunesPrefs.xml files
6. On a clean image create a Transform file that includes the iTunesPrefs.xml to be placed in the user application data and local settings data directories (c:\Documents and Settings\USERNAME\Application Data\Apple Computer\iTunes\ and c:\Documents and Settings\USERNAME\Local Settings\Application Data\Apple Computer\iTunes\)

To test:
1. On a clean image install Quicktime 7.1.5
2. Install iTunes package with transform
3. Verify that the iTunesPrefs.xml files are installed where they are suppose to be
4. Launch the application
5. Frustration because the SLA appears! For the life of me I cannot get rid of this. The configuration screens after accepting the SLA's are no longer popping up so I know something is going right.

Please if anyone knows how to disable or get rid of the SLA prompt I'd appreciate the help.

0 Comments   [ + ] Show comments

Answers (9)

Posted by: piyushnasa 12 years ago
Red Belt
1

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: nheim 17 years ago
10th Degree Black Belt
0
Hi blueboy,
it isn't that easy! You got a wrong guessing here: As you found out, there are 2 'iTunesPrefs.xml' files involved in the configuration of iTunes.
BUT: They are not the same!
You have to include both to get desired behaviour.

How to you intend to distribute this files to each profile?
We did the following: Create a new Component and put the 2 files into a new directory below INSTALLDIR.
Further we create 2 entries in the 'DuplicateFile' table to copy the files to the final destination in each profile.
This has the advantage, that no source is needed for the self heal process.
We finally created an Active Setup entry to do the self heal process on each profile.

Hope this helps.
Regards, Nick
Posted by: blueboy 17 years ago
Orange Senior Belt
0
Thanks for your advice nheim. I ended up getting this package to work by manually reinstalling the application re-running it again. I guess the version of the iTunesPrefs.xml file was incomplete. I copied this file to 2 locations in the transform and it seems to solve the issue I was experiencing - SLA popping up.

The iTunesPrefs.xml file must reside in C:\Documents and Settings\USERNAME\Application Data\Apple Computer\iTunes\ and c:\Documents and Settings\USERNAME\Local Settings\Application Data\Apple Computer\iTunes\
Posted by: corbendallasx 16 years ago
Senior Yellow Belt
0
ORIGINAL: nheim

Hi blueboy,
it isn't that easy! You got a wrong guessing here: As you found out, there are 2 'iTunesPrefs.xml' files involved in the configuration of iTunes.
BUT: They are not the same!
You have to include both to get desired behaviour.

How to you intend to distribute this files to each profile?
We did the following: Create a new Component and put the 2 files into a new directory below INSTALLDIR.
Further we create 2 entries in the 'DuplicateFile' table to copy the files to the final destination in each profile.
This has the advantage, that no source is needed for the self heal process.
We finally created an Active Setup entry to do the self heal process on each profile.

Hope this helps.
Regards, Nick


Why do you create a new component?
I made a new feature called CurrentUser (found the info in another thread here)
Unfortunately I cant get the self heal to work as supposed to.
Any tips?
Posted by: nheim 16 years ago
10th Degree Black Belt
0
Hi Thomas,
Why do you create a new component?
Because a feature without a component is absolutely useless in almost all situations!
You need the components to install files and/or registry keys.
If you go into the 'File' or 'Registry' tables, you find a mandatory column 'component'.
BTW: Which app do you use to make the changes to the MSI?
Regards, Nick
Posted by: corbendallasx 16 years ago
Senior Yellow Belt
0
Yeah I get it. Wasn't thinking. Got it working now. =) I actually knew this. Was just too long ago I did it... (excuses excuses [:D])
I'm using Wise Pro

However I do have another question.

I'd like the installation to talk the same language that I Install. At this point I'm installing an english version but the installation speaks Swedish. Quite annoying and confusing for the users.
Posted by: corbendallasx 16 years ago
Senior Yellow Belt
0
ORIGINAL: corbendallasx

Yeah I get it. Wasn't thinking. Got it working now. =) I actually knew this. Was just too long ago I did it... (excuses excuses [:D])
I'm using Wise Pro

However I do have another question.

I'd like the installation to talk the same language that I Install. At this point I'm installing an english version but the installation speaks Swedish. Quite annoying and confusing for the users.



Found the answer myself.
You just add ProductLanguage=1033 in the command line.
This works for both Quicktime and iTunes.
Posted by: appinstall 13 years ago
Blue Belt
0
hi,

what is the diff b/w both .xml file.. actually i was done packaging with one xml file from Appdata. iTunes working fine. i'm confusing only in y we r using .xml(form localappdata) file. any one plz help me. i think no need of that (localappdata) .xml file right?


thanks
Posted by: spartacus 13 years ago
Black Belt
0
ORIGINAL: appinstall

hi,

what is the diff b/w both .xml file.. actually i was done packaging with one xml file from Appdata. iTunes working fine. i'm confusing only in y we r using .xml(form localappdata) file. any one plz help me. i think no need of that (localappdata) .xml file right?


thanks


If you read the notes section in the Package KB article for ITunes 7, you will see the following

The preferences (whether you go directly to your library or the store, etc) is stored in \Documents and Settings\(user)\Application Data\Apple Computer\iTunes\iTunesPrefs.xml.

If you, like me, have a ton of machines (~2000, in my case), some users with a mandatory profile, and you don't want them to have to accept the license every single time they log in (since their profile will be erased when they log out, deleting any changes), you *also* need to include \Documents and Settings\Local Settings\Application Data\Apple Computer\iTunes\iTunesPrefs.xml.


Regards,

Spartacus
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

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