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:
CODE
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:
CODE
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.COPY PATH_TO_THE_FILE\QuickTime.qtp "%ALLUSERSPROFILE%\APPLICATION DATA\QUICKTIME\QuickTime.qtp" /Y
TASKKILL.EXE /F /IM QTTASK.EXE
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!
