I will show you how to do it on your own in a few simple steps and then you guys can run with it.
1) First off grap the latest version of iTunes from Apple.
2) Extract iTunesSetup.exe (I used 7-zip) and it will give you the following folders and files:
.data
.rdata
.rsrc
.text
CERTIFICATE
Go into .rsrc | RCDATA and extract CABINET. It will give you the following files:
AppleMobileDeviceSupport.msi
AppleSoftwareUpdate.msi
Bonjour.msi
iTunes.msi
MobileMe.msi
QuickTime.msi
SetupAdmin.exe
Get rid of the MSI's you don't want to install. I got rid of AppleSoftwareUpdate.msi, Bonjour.msi, MobileMe.msi, QuickTime and SetupAdmin.exe.
3) Next create a Install.cmd to automate the install, this can be used for future versions.
msiexec /i AppleMobileDeviceSupport.msi /l*v %TEMP%\AppleMobileDeviceSupport.log /qb
If you want to change the folder location for Apple Mobile Device Support you can use the INSTALLDIR= switch seen below. Doing this gave me some strange behavior so I left it default.
msiexec /i QuickTime.msi INSTALLDIR="C:\Program Files\iTunes\QuickTime" /l*v %TEMP%\QuickTime.log /qb
If you need QuickTime you can use the above command line. You can also use INSTALLDIR= to move the QuickTime folder inside the iTunes Program Files folder.
For those of you who hate QuickTime as much as I do this is how you get around installing it.
Download this http://www.megaupload.com/?d=KWIWSJR8
This is a package I put together that includes required registry and files for iTunes to function (They are the latest version) without installing. I do not think you need to get updated QuickTime files when a new version of iTunes comes out. I did not try to skinny up the file or registry locations I simply used trial and error to find out the required bulk locations. We could probably get rid of some stuff and get down to the bare essentials.
Copy the QuickTime folder anywhere you want. In my case it is located at D:\Apps\iPhone\QuickTime. Edit QuickTime.reg accordingly by changing D:\\Apps\\iPhone\\QuickTime to wherever you decided to put it. Move the QuickTime.reg in the same location as your MSI's.
Add the following line to your Install.cmd:
reg import QuickTime.reg
msiexec /i iTunes.msi IPODINSTALLDIR="C:\Program Files\iTunes\iPod" /l*v %TEMP%\iTunes.log /qb
You can use IPODINSTALLDIR= to redirect the iPod folder into Program Files.
net stop "iPod Service"
net stop "Apple Mobile Device"
net start "iPod Service"
net start "Apple Mobile Device"
After the install I had to restart the services for my iPhone to be detected. This is to avoid rebooting.
After all this is done my Install.cmd looks like this:
msiexec /i AppleMobileDeviceSupport.msi /l*v %TEMP%\AppleMobileDeviceSupport.log /qb
reg import QuickTime.reg
msiexec /i iTunes.msi IPODINSTALLDIR="C:\Program Files\iTunes\iPod" /l*v %TEMP%\iTunes.log /qb
net stop "iPod Service"
net stop "Apple Mobile Device"
net start "iPod Service"
net start "Apple Mobile Device"
When a new iTunes release comes out, extract the MSI's of your choice and all you have to do is run Install.cmd to upgrade.
I tested this on two machines and it worked perfect.
This post has been edited by snooz: 05 September 2009 - 11:55 PM



Help

Back to top










