MSFN Forum: The Ultimate Itunes Unattended Guide - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

The Ultimate Itunes Unattended Guide a VERY simple way to install iTunes Rate Topic: -----

#1 User is offline   PryGuy 

  • Junior
  • Pip
  • Group: Members
  • Posts: 83
  • Joined: 26-January 05

Posted 26 March 2005 - 01:51 AM

Hello everybody!

I have found a VERY simple way to install the iTunes. Sorry for starting a new topic, but I hope it will finally solve the problem for many people installing iTunes. And I hope this gonna be the last topic dedicated to the iTunes installation because I've REALLY found a simple and working solution. It will not require any specially rebuilt switchless distributions or something.

So you'll need the iTunes 4.7 version (haven't tried the method with 4.7.1 but sure it will work too) and you'll have to put the ONLY SINGLE LINE in your batch file that is used to install additional software on first logon:
ITUNESSETUP.EXE /S /V"ISSETUPDRIVEN=0 ASSUME_MEDIA_DEFAULTS=1 ASSUME_QT_DEFAULTS=0 ALLUSERS=1 SILENT_INSTALL=1 /QN"
And that's it! Now the short explainations about the switches:
ISSETUPDRIVEN=0 tells setup not to use the external setup settings file.
ASSUME_MEDIA_DEFAULTS=1 makes iTunes the default media player in your system.
ASSUME_QT_DEFAULTS=0 doesn't make QuickTime your default media player (installs it though for the iTunes will not work without it).
ALLUSERS=1 Installs iTunes for all users.
SILENT_INSTALL=1 ...well, you know... :)

So I could say good bye here, but since it's a guide I think it's important to say what else you probably might do after the successfull iTunes installation:
First of all, you can write a registry key that disables the ugly and useless QuickTime taskbar icon and copy the previously saved QuickTime.qtp settings file (read the next paragraph about it) in your %ALLUSERSPROFILE%\APPLICATION DATA\QUICKTIME\ folder overwriting the file created with the setup:
REG ADD "HKLM\Software\Apple Computer, Inc.\QuickTime\ActiveX" /V "QTTaskRunFlags" /T "REG_DWORD" /D "00000002" /F
COPY PATH_TO_THE_FILE\QuickTime.qtp "%ALLUSERSPROFILE%\APPLICATION DATA\QUICKTIME\QuickTime.qtp" /Y
TASKKILL.EXE /F /IM QTTASK.EXE
The last line kills the task with the icon on the Taskbar.

Now a few words about the QuickTime.qtp file. It is a settings file for the QuickTime program. All the settings you make in your QuickTime program are stored in it. So it is better to tweak the QuickTime to fit your needs and then take the file from the %ALLUSERSPROFILE%\APPLICATION DATA\QUICKTIME\ folder and put it somewhere in your Windows Unattended distribution folder. It is very imprortant to copy the file after the iTunes/QuickTime installation, because QuickTime overwrites the old file with it's own during the installation.
I will tell what you should tweak preparing your QuickTime.qtp file:
In Edit/Preferences/Player Preferences uncheck the "Show Hot Picks movie automatically" checkbox.
In Edit/Preferences/Quick Time Preferences/Browser Plug-in uncheck the "Quick Time system tray icon" checkbox.
In Edit/Preferences/Quick Time Preferences/Connection Speed choose your connection speed.
In Edit/Preferences/Quick Time Preferences/File Type Assotiations uncheck the "Notify me if other..." checkbox.
In Edit/Preferences/Quick Time Preferences/Registration register your QuickTime. It's better to do it if you can because if you don't the QuickTime will bug you with the annoying "Upgrade to QuickTime Pro" banner.
In Edit/Preferences/Quick Time Preferences/Update Check uncheck the "Check for Updates Automatically" checkbox.

Now, the last step, what you should do with the two iTunes preferences files: On the first run iTunes creates the two files with the same name, iTunes.pref. The first one is in %USERPROFILE%\Application Data\Apple Computer\iTunes and the second one is in %USERPROFILE%\Local Settings\Application Data\Apple Computer\iTunes. Start your iTunes, tweak it as you want, take these two files and put them in the $OEM$\$DOCS\Default User\Application Data\Apple Computer\iTunes and the $OEM$\$DOCS\Default User\Local Settings\Application Data\Apple Computer\iTunes folders accordingly.

Now, that's about all! Have fun! :thumbup


#2 User is offline   jacksont123 

  • Junior
  • Pip
  • Group: Members
  • Posts: 65
  • Joined: 06-February 05

Posted 26 March 2005 - 12:08 PM

this is nice
good work :o)
thanks a lot

#3 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 26 March 2005 - 12:42 PM

Awesome... cant wait to test this out. Do you know if theres also a switch which can be used to install in an alternate location? Does INSTALLDIR work with this like it does with other installsheild apps?

UPDATE:: Ah holy hell.. thanks so much for this. Just tested on the latest iTunes (4.71.*) and this works like a **** charm and by the way you mentioned this update Im sure you realize there has been a ton of discussion on the 'optimum' way to do this.

Finally... a method that actually works flawlessly without a bunch of scripting or hacking up of the installer.

Oh and INSTALLDIR works like a charm as well...

You rock.. and nice work.

#4 User is offline   bisabuelo 

  • Group: Members
  • Posts: 5
  • Joined: 25-March 05

Posted 26 March 2005 - 01:28 PM

can someone post instructions on what do when using the runonceex method?

#5 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 26 March 2005 - 04:40 PM

1 of two ways you can do this..

1st off, what I did was take the 2 iTunes.pref files and the 1 QT settings file and placed them in a folder (called 'prefs') of which is located in the folder where the itunessetup.exe is. Because they have the same name, I added '-LOC' to the iTunes.pref file found in 'local settings\...' and '-APP' for the one found in 'Application Data\...'

1. Create a batch file (which can be placed in the same folder as your setup.exe) that does these steps for you (run setup.exe and copy the 3 files) and call it from your ROE:
@echo off
set APPS=[<Set Location of where your iTunes installation folder is located here>]

"%APPS%\iTunes\setup.exe" /S /V"ISSETUPDRIVEN=0 ASSUME_MEDIA_DEFAULTS=1 ASSUME_QT_DEFAULTS=0 ALLUSERS=1 SILENT_INSTALL=1 INSTALLDIR=C:\Multimedia\iTunes /QN"

ECHO F | XCOPY /Y "%APPS%\iTunes\Prefs\iTunes.pref-APP" "%USERPROFILE%\Application Data\Apple Computer\iTunes\Prefs\iTunes.pref"
ECHO F | XCOPY /Y "%APPS%\iTunes\Prefs\iTunes.pref-LOC" "%USERPROFILE%\Local Settings\Application Data\Apple Computer\iTunes\iTunes.pref" 
XCOPY /Y "%APPS%\iTunes\Prefs\QuickTime.qtp" "%ALLUSERSPROFILE%\APPLICATION DATA\QUICKTIME\"


or

2. Place each of the 4 commands in your ROE:
REG ADD %KEY%\021 /VE /D "iTunes v4.7" /f
REG ADD %KEY%\021 /V 1 /D "%APPS%\iTunes\setup.exe /S /V\"ISSETUPDRIVEN=0 ASSUME_MEDIA_DEFAULTS=1 ASSUME_QT_DEFAULTS=0 ALLUSERS=1 SILENT_INSTALL=1 INSTALLDIR=C:\Multimedia\iTunes /QN\"" /f
REG ADD %KEY%\021 /V 2 /D "ECHO F | XCOPY /Y \"%APPS%\iTunes\iTunes.pref-APP\" \"%USERPROFILE%\Application Data\Apple Computer\iTunes\iTunes.pref\" 
REG ADD %KEY%\021 /V 3 /D "ECHO F | XCOPY /Y \"%APPS%\iTunes\iTunes.pref-LOC\" \"%USERPROFILE%\Local Settings\Application Data\Apple Computer\iTunes\iTunes.pref\" 
REG ADD %KEY%\021 /V 3 /D "XCOPY /Y \"%APPS%\iTunes\Prefs\QuickTime.qtp" "%ALLUSERSPROFILE%\APPLICATION DATA\QUICKTIME\\"


I havent gotten around to testing these, but they should work.

Also.. dont forget to change the 'INSTALLDIR=' switch if you want iTunes to be installed to another location (or remove it entirely if you want it installed to your Program Files folder)

#6 User is offline   PryGuy 

  • Junior
  • Pip
  • Group: Members
  • Posts: 83
  • Joined: 26-January 05

Posted 27 March 2005 - 11:21 PM

durex, on Mar 26 2005, 12:42 PM, said:

Im sure you realize there has been a ton of discussion on the 'optimum' way to do this.
Yes, of course I do realize. :)

durex, on Mar 26 2005, 12:42 PM, said:

You rock.. and nice work.
Thank you! Hope many people will enjoy this simple and working solution. :yes:

Now, Durex, a few words on your methods you've posted in the message above:
I still think it's better to put the two iTunes.pref files in $OEM$\$DOCS\Default User\... folders, not copy them to %USERPROFILE%\... folders, because if we assume the Unattended Windows can have more than one user account and if we make it your way all the newly created accounts WILL NOT have the iTunes settings files copied in their folders automatically on first logon, only the first one, the account where the iTunes was installed. And in my method they are copied AUTOMATICALLY! No more boring scripting!
Another reason why I think it's better to do it my way is that even if you copy the files using your script to the %SYSTEM DRIVE%\Documents and Settings\Default User\... folders you'll have the settings applied automatically to all the newly created accounts on their filrst login, but NOT for the user account you use for the iTunes installation for you're ALREADY logged in.

Best wishes!

#7 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 28 March 2005 - 06:19 AM

Yea... I just did it that way cause I dont really like using $OEM$, plus Im the only person that uses my pc... so this method works for me.

To each his own, right? ;)

and thx again for this much needed streamlined method....

#8 User is offline   rompom7 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 01-September 04

Posted 28 March 2005 - 08:07 AM

Cool will try it out as soon as I get home.

Keep up the good work :)

#9 User is offline   SilverHaze420 

  • Computer Geek
  • PipPip
  • Group: Members
  • Posts: 144
  • Joined: 03-February 05

Posted 28 March 2005 - 08:56 AM

Works perfectly. Go you for figuring it out. Thanks :) This is the best forum on the net I swear it!

#10 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 07 April 2005 - 01:51 PM

Thanks mate :)

Now I don't have to use that stupid AutoIt script anymore!

#11 User is offline   erik_demon 

  • Master Chief
  • PipPip
  • Group: Members
  • Posts: 253
  • Joined: 22-August 04

Posted 18 May 2005 - 03:10 AM

Although this is an old topic, I just found it a few days ago :) I've seen many question about Itunes on this board lately. So this is the reason for this reply, and ofcourse i want to thank PryGuy for this great guide :thumbup

This indeed is the ultimate solution!!

It also works with Itunes 4.8

and some switches work for the Ipod updater aswell

iPodUpdater\setup.exe" /S /V"ISSETUPDRIVEN=0 SILENT_INSTALL=1 /QN"


Thanks alot PryGuy :thumbup :thumbup

#12 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 18 May 2005 - 06:45 AM

I dont suppose anyone knows if theres a switch to not install the QuickTime components?

#13 User is offline   PryGuy 

  • Junior
  • Pip
  • Group: Members
  • Posts: 83
  • Joined: 26-January 05

Posted 18 May 2005 - 07:17 AM

@erik_demon:
You're welcome, my friend! :)

@durex:
Well, the question is: why do you want iTunes without QuickTime if it won't work without it? :). I doubt there's a switch, at least I couldn't find it in the iTunes installer. Yet why do you think Apple should include such switch if it will make troubles with playback?! I haven't explored this way, but I think you'll have to install the QuickTime Alternative or something anyway. Because literally there's no sound without the QuickTime codecs...

Another reason is: iTunes uses the QuickTime codecs for playback, and they are FAR BETTER than the Windows Media Player codecs for instance. You may feel the difference even on the middle-end acoustics and sound card (I've tested it on the AudioTrak Prodigy 7.1 sound card + Defender Volcano 2 speakers). So iTunes with QuickTime codecs is really the best audio player around. :thumbup

If you really can't stand QuickTime, think maybe the best solution for you will be just to add a line in your script that deletes the QuickTime folder from the Start Menu. :whistle:

#14 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 18 May 2005 - 02:27 PM

Well, for 1- I hate quick time. Its a bloated, resource intensive, useless app that i need for 2% of all media I ever download...

But for that 2%.. and like you touched on... for iTunes to run, I do install QuickTime alternative.

Currently, for my unattended install, I install iTunes using your great recommendations, then I have a VBScript, which calls the QuickTime uninstaller and sends the keyboard command to 'uninstall everything' for quick time, then I install quicktime alternative after this.

If I could figure out how to simply not include the quicktime components, it would help me remove an entire step from my install processes.

Remind me again.. where did you find these added parameters? If you can point me in the right direction, I can do the research on it.

Thanks again!

#15 User is offline   PryGuy 

  • Junior
  • Pip
  • Group: Members
  • Posts: 83
  • Joined: 26-January 05

Posted 18 May 2005 - 11:36 PM

First, how to take the iTunes installer out of the package without the QuickTime stuff:
1. Open your %TEMP% folder and erase all folders there, it will be easier to find the iTunes temporary folder.
2. Start iTunesSetup.exe. DO NOT CLOSE THE WINDOW!
3. Look inside the newly created folder in your %TEMP% folder (in my case it has the name "_isD8")
4. You'll see the iTunes.msi file. And that's it. No QuickTime!!! :yes: You can use all the switches with this file, such as: ISSETUPDRIVEN=0 ASSUME_MEDIA_DEFAULTS=1 ASSUME_QT_DEFAULTS=0 ALLUSERS=1 SILENT_INSTALL=1 /QN

Second, how to examine the iTunes.msi file:
There's a great utility called ORCA. It's a part of Windows Installer SDK. Of course you may download the entire SDK from Micro$oft, but you may find this utility alone if you try... :) It's nice and handy and you can inspect the MSI packages for switches and all, and you can also modify the packages. So download it, open the iTunes.msi file and look for the "Property" table. Here you go! :thumbup

BUT! As far as I know you'll also loose the iPod functionality and you won't be able to burn CDs. I was inspecting these things two or three months ago, so I can't say for sure what you'll have to do to make the iTunes work after such unconditional installation, but in other words the problem is that in this case of installation iTunes doesn't register some services and stuff as it does during the ordinary installation. So good luck to you on this hard way named "I can't stand QuickTime"! :D

And please explain me this thing: Does the QuickTime alternative use the native codecs taken out of the QuickTime installation or it has it's own codecs compatible with QuickTime? That's important for me 'cause I like iTunes mainly for it's great sound made by the QuickTime codecs, and I doubt that the codecs supplied with the QuickTime alternative can produce the same great sound (if they are not the native QuickTime codecs of course).

#16 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 30 May 2005 - 02:43 PM

Another quick question for ya Pry... any idea how to change the installdir of the iPod stuff? I install iTunes to an alternate path using INSTALLDIR, but the iPod dir still gets created in Program Files.

#17 User is offline   Dumpy Dooby 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 424
  • Joined: 16-May 05

Posted 30 May 2005 - 04:53 PM

PryGuy, on May 18 2005, 10:36 PM, said:

First, how to take the iTunes installer out of the package without the QuickTime stuff:
1. Open your %TEMP% folder and erase all folders there, it will be easier to find the iTunes temporary folder.
2. Start iTunesSetup.exe. DO NOT CLOSE THE WINDOW!
3. Look inside the newly created folder in your %TEMP% folder (in my case it has the name "_isD8")
4. You'll see the iTunes.msi file. And that's it. No QuickTime!!! :yes: You can use all the switches with this file, such as: ISSETUPDRIVEN=0 ASSUME_MEDIA_DEFAULTS=1 ASSUME_QT_DEFAULTS=0 ALLUSERS=1 SILENT_INSTALL=1 /QN

Second, how to examine the iTunes.msi file:
There's a great utility called ORCA. It's a part of Windows Installer SDK. Of course you may download the entire SDK from Micro$oft, but you may find this utility alone if you try... :) It's nice and handy and you can inspect the MSI packages for switches and all, and you can also modify the packages. So download it, open the iTunes.msi file and look for the "Property" table. Here you go! :thumbup

BUT! As far as I know you'll also loose the iPod functionality and you won't be able to burn CDs. I was inspecting these things two or three months ago, so I can't say for sure what you'll have to do to make the iTunes work after such unconditional installation, but in other words the problem is that in this case of installation iTunes doesn't register some services and stuff as it does during the ordinary installation. So good luck to you on this hard way named "I can't stand QuickTime"! :D

And please explain me this thing: Does the QuickTime alternative use the native codecs taken out of the QuickTime installation or it has it's own codecs compatible with QuickTime? That's important for me 'cause I like iTunes mainly for it's great sound made by the QuickTime codecs, and I doubt that the codecs supplied with the QuickTime alternative can produce the same great sound (if they are not the native QuickTime codecs of course).
<{POST_SNAPBACK}>

QTAlt comes with the native Quicktime codecs.

#18 User is offline   PryGuy 

  • Junior
  • Pip
  • Group: Members
  • Posts: 83
  • Joined: 26-January 05

Posted 16 June 2005 - 10:25 AM

durex, on May 30 2005, 02:43 PM, said:

Another quick question for ya Pry... any idea how to change the installdir of the iPod stuff?  I install iTunes to an alternate path using INSTALLDIR, but the iPod dir still gets created in Program Files.
<{POST_SNAPBACK}>
Sorry for delay, friends! Well, I'm not familiar with the iPod players actually, going to buy the iPod Shuffle though. And so I do not know about such things, but allow me to repeat it again, the idea of changing the install paths seems to be strange to me 'cause there's a wonderful proverb "When in Rome do as Romans do.", in other words "When in Windows do it the way Micro$oft does it", cause I think installing your stuff in other directories is:

1. Dangerous cause even if you'll be a lucky one to install the stuff where do you want it to be installed you don't know how the other software will react on it.

2. Makes your %SYSTEMDRIVE% untidy! :)

3. DOESN'T WORTH IT!!! Cause changing the INSTALLDIR you get so many problems I can't really imagine.

#19 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 18 June 2005 - 05:53 PM

Well, personally, since my 1st Win 3.1 comp Ive always installed my applications to other locations than the Program Files directory. I have sub-dirs of my sys drive such as 'internet', 'entertainment', 'multimedia', etc... and have never had a problem with it. It makes it MUCH easier to track stuff down as opposed to sifting through 100 dirs in the progfiles folder. but thats just my personal preference.

thanks for the response regardless

#20 User is offline   scp2 

  • Group: Members
  • Posts: 2
  • Joined: 19-April 05

  Posted 21 June 2005 - 06:23 AM

PryGuy, on May 19 2005, 07:36 AM, said:

First, how to take the iTunes installer out of the package without the QuickTime stuff:
1. Open your %TEMP% folder and erase all folders there, it will be easier to find the iTunes temporary folder.
2. Start iTunesSetup.exe. DO NOT CLOSE THE WINDOW!
3. Look inside the newly created folder in your %TEMP% folder (in my case it has the name "_isD8")
4. You'll see the iTunes.msi file. And that's it. No QuickTime!!! :yes: You can use all the switches with this file, such as: ISSETUPDRIVEN=0 ASSUME_MEDIA_DEFAULTS=1 ASSUME_QT_DEFAULTS=0 ALLUSERS=1 SILENT_INSTALL=1 /QN


Hi! :hello:

Thanks a lot for those instructions! :) And I also want to get rid of the standard QuickTime package and therefore I use the alternative codecs. But what confuses me is your explanation above. If I extract the temporary files there's only that iTunes.msi next to a ISScript8.Msi. So I believe the QuickTime components must reside in the iTunes.msi as well. But how could one get rid of them if this is true? They don't seem to be in a separated file or whatever as your explanations imply.

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy