Help - Search - Members - Calendar
Full Version: iTunes 5, Localized with no quicktime...
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2, 3, 4, 5

   


Google Internet Forums Unattended CD/DVD Guide
seapagan
UPDATED 15th Jan 2006 : Added iTunes Version 6.0.2.23 smile.gif

Here is the latest version of iTunes, with quicktime removed as before for those who use the QT alternative. I have also completely stripped out all language files except english, so it's not suitable for any other languages. Tested with the latest version of QT-Alt.

Important : iTunes Version 6.0.2.23 needs QT 7.0.4 or greater (or the latest QT-Alt). This must currently be installed before iTunes is installed, otherwise you will get a (non fatal but annoying for unattended installs) error. Version 5.0.1 Will work with any 7.x.x version, and QT can be installed before or after iTunes. The latest version of QT-Alternative is also compatible with both iTunes 5 & 6.

Edit : It seems the silent install method hides the QT error, so you can install the Silent Installer version without ANY QT installed and it will not fail. Just remember to install QT or QT-alt before trying to run it.

I have stopped using RapidShare for the new version, since some people have problems with that, so both 7z and silent installs are now stored on MegaUpload.

Note, for the silent install this time I have used a custom installer 'stub' to replace the batch file (so no cmd box visible or flashing). Please let me know if anyone has any problems. I will eventually release a util that will run cmd/bat files silently without compiling them, specifically for use in silent installers.

I will state once again, if you un-install any previous versions of iTunes, ALWAYS reboot before installing the new versions - this causes 99% of all problems with this release (and the original apple installer). Thanks smile.gif

Standard Versions.
Version 6.0.2.23: Get it from MegaUpload or RapidShare- 7z file, 8,309,937 Bytes.

Version 5.0.1: Get it from Rapidshare - 7z file, 7217055 Bytes.

Silent Versions.
Version 6.0.2.23 : From Megaupload or RapidShare
(Installs for All users, adds Desktop Shortcut, iTunes is not made default media player)

Version 5.0.1 : From RapidShare (Provided by RikGale)

Note : the 7z version is not a silent installation, just 'slimmed-down'. If you want a silent install of this version, use the one above.

As usual, let me know of any problems please.

SP
rikgale
Thanx Seapagan

I'll build up a silent installer 2morw, must hit the sack soon as have to be up early for work, joy of joys!!

Many thanx again
canuckerfan
how do you use this pack? just unzip and run itunessetup?
seapagan
@canuckerfan:
Yes, that's right. Run the .exe file, this is the original iTunes installer. I quess it will support all of the normal switches like the last verison too, for silent etc.


@all:
If you are not using the 'Bonjour' (apparently part of air-tunes and music sharing) it can be safely disabled from the services panel in windows. I set it to 'disabled', run iTunes and no complaint. It will not try to run it either, just wants it installed. Maybe I'll modify the installer so it installs but not register the service. See later.

SP.
evilvoice
I just wanted to say awesome job...I hope its understood that my posts werent meant in any way to deter you from making this for us all

SIDE NOTE: just wondering since you removed the extra languages in this if you could possibly take on quicktime.msi? I tried removing the languages and get some error about QTComponents not being accessible, without removing any language, I can get the 7z file down to 9.5mb (not bad!)...Wonder if iTunesSetup.exe could be used with Quicktime...Ill prolly try in a few minutes and see what happens, it really should just be a loader that does whatever setup.ini tells it to do. Wellllll, that works, itunessetup.exe is just a loader but somehow the mst comes into play because it errors out saying it cant access the temp directory...I may look at the mst and see what I can figure out...but honestly if I could just get the languages removed, that would be awesome.
seapagan
@evilvoice:

1st, thanks for the comments! welcome.gif.
I didn't take any of your posts in any way other than constructive advice / information - which is always welcome.

This is the problem that you are having, in the Setup.ini :
CODE
[QuickTime.msi]
Type=1
Location=QuickTime.msi
[Setup.bmp]
Type=1
[ISScript.msi]
Type=1
Location=ISScript11.Msi

The 'Type=1' tells the installer that the files are compressed internally to the exe file, so it should uncompress to a temp location. However, since we have the files in the dir, this aint gonna work. Change all instances of 'Type=1' above to 'Type=0' and the setup runs. I have not got much further in the install, i'll do it in a VM so as not to screw up my QT-Alt installation.
Regarding the msi, I think that if you are on the default english install, the mst is not needed since the msi (as far as the install data goes) is english localised anyway. Otherwise, use Orca to load the mst, and then save the transformed file (you may lose the internal Data1.cab file which is embedded in the msi though, so export that first using whichever tool you prefer).

Edit : I'll take a look at the msi later on today, see if I can localize it.

SP.
evilvoice
wow dude...youre really good at this...that was the error I was having...although I only have a msi file, nothing else...well now that we can use the 270KB itunessetup.exe, I have the msi, exe, ini, and language stuff, Im prolly gonna remove the isscript11.msi since itunes already has one. Well, now to go back and test the install. *Well, looks like isscript11.msi MUST exist, so thats in there too...but it seems to be working with an extracted msi (used wininstallLE to expand the msi)
seapagan
Heh, Thanks biggrin.gif.

The (eg) 1033.mst file is responsible, at least, for the licence agreement - I applied the transform during installation :
CODE
QuicktimeSetup.exe /v"TRANSFORMS=1033.mst"
Note: the 'QuicktimeSetup.exe' is a renamed version of the 269kb iTunes setup stub, not the full 32Mg installer.

Good Luck smile.gif

SP.
evilvoice
hmm, well it seems using winstallLE is not a good method for editing the msi...I would appreciate it if you could take a stab at it...I could package up what I have so far and put on rapidshare...virtual install is what I am using...I dont think that would be a problem because I cant think of anything QT would install that would require a real machine (itunes has a check for whether you have a cdr or not...i think, since there are about 6 gear* files but not all of them get installed)
seapagan
I use only Orca to mess with msi files - it's pretty low-level access and easier to control the final msi, however it is more convoluted to use. Also, MsiDB.exe from the MSI SDK to get at the cab files.

I started taking a look at the msi / cab, and got it down to about 217 files less. Still more to do, I'll take a look later on. Today is my 'one-year-closer-to-death' day, so I may not be in any fit state to touch a computer later on. Hmm. memo to oneself - hide the modem b4 going out! whistling.gif

SP
evilvoice
Wellll! Happy 1-year closer to death day...j/k Happy bday.
rikgale
Happy one-day-closer-to-retirement day(assuming the governmenet doesn't up retirement age)

Have a cracking time!!

P.S.

Here is a 7-zip installer for Seapagan files that are posted on the main page. This installer with not install a desktop icon and will make itself the defualt player, and it is in english only. When I work out how to disable taskes using batch script (disabling Bonjour) I shall update the installer, hope this is ok Seapagan?

LINK currentely not working due to errors will replace ASAP
seapagan
@evilvoice & rikgale:
Thanks thumbup.gif. Not a bad nite, still capable of typing, lol.

@evilvoice:
I created earlier an english only version of Quicktime, got the msi down from 25 meg to 16. This also knocks about 20Mb out of the installed version. Problem is, as usual, since all the localized files are so similar to the normal ones they compress very well - so there is very little diference in sizes once compressed into a silent installer - I think it was about 15Mb final size after 7z. So, if you want this version let me know and I'll post it tomorrow.

@rikgale:
Thanks for doing the installer, no problems from me - I'll put a link in the main topic.
The code you are looking for to stop and disable the bonjour service on XP in a batch / script is :
CODE
sc stop "bonjour service"
sc config "bonjour service" start= disabled

Note the space before 'disabled' - that needs to be there.
This stops then disables the service. Dunno if that works on other os's, than XP though.
You can always stop a service using the 'NET' command on most os's but it will start again at boot:
CODE
net stop "bonjour service"


SP.
rikgale
@seapagan

Glad to hear that you had a good night, although still being able to type shows that you did not imbibe enough alcohol based fluid.

Thanx for the batch code, saves me a lot of searching today. I'll see if I can get it to work now. Will post back later.
rikgale
@seapagan PROBLEMS!!!!

Yep there is a problem with the files that are posted in the first page, which consiquentley means that the install in the Rapidshare link doesn't work.

I'll explain. I tried a full test run this morning with the silent installer based on your 5.0 slimed rar files and spent ages trying to figure out why. After numerious unsuccessful attempts at rebuilding the installer, I was on the verge of giving up for a bit when I decided to not bother with the installer and just run iTunessetup on a clean VMWare install. I got this error.

Click to view attachment

I uninstalled iTunes5.0 on my proper machine (which I installer using the full 32Mb installer) so I could test on a machine with the most upto date version of QT installed and I got the same error when I installed using the files from the RAR files in the 1st post!! Using the version that I trimed myself (the 12Mb on metioned in the other post) it worked. So somewhere in the work of slimming it down even more things have gone of the rails, any ideas?

EDIT: my other notice it that there is no Data1.cab in the original (32mb) installer?!?! So why is it asking for it now. Seems odd to say the least.
seapagan
Hi rikgale.

There was a problem with the very first version that I posted here, which I fixed about 10 mins later. On that first version I had integrated all the cabs into 1 (called it Data1.cab) and packed that inside the msi, but forgot to change the pointer to look inside instead of out blushing.gif
I guess you must have been so keen and got the original version sad.gif.
So, if you have orca, or any other editor that wont destroy the structure, load up the msi , look in the 'media' table, and change the entry for 'Cabinet' from 'Disk1.cab' to '#Disk1.cab'. That should fix it. Otherwise, download again from the first page.
Sorry for the trouble.

You are correct, I was very gentle with my alcohol intake last nite - guess I'm getting old rolleyes.gif.

SP.
rikgale
Must have been dead keen, I'll redownload and try again!!! Will post back my results.

QUOTE
You are correct, I was very gentle with my alcohol intake last nite - guess I'm getting old .


Dare I ask how old?
seapagan
You can ask tongue.gif
Ok, just 35. But, after 16 years working on ships sailing all over the world, I look and feel a lot older, lol.
I had a hard paper round too laugh.gif

SP
rikgale
Ok so you have a few years on me (about 12)

I've up'ed a new silent iTunes installer to Rapidshare. This one still has the bonjour service up and running. It can be got here.

I am testing an installer that will automatically disable the Bonjour service once iTunes has been installed. I'll post it up when I proved that it works
evilvoice
that would be great seapagan...i havent had a chance to look at orca...the one time i did before it looked like a lot to handle...but hey, its still smaller :-) plus I have some methods for getting it smaller (i think, would like to try).

SIDE NOTE: Wouldnt it be possible to have Bonjour set to disabled in the msi? I dont think there is another method for adding a service, so somewhere should be where itunes sets bonjour to auto...maybe not diabled, but at least manual or something.
seapagan
@rikgale:
Thanks for that, and sorry for the inconvenience. I'll wait to put the link on the main page, to see if you get the bonjour-stop script working.

@evilvoice:
i'll upload the QT-English-only version now then, no probs. Regarding the bonjour service, there is nowhere I can find in the msi that registers the service. I suspect that it is done by a custom action that calls one of their custom dll's, or is done by the compiled installshield script. This new version breaks the inx decompiler that I used to use, so cant edit that sad.gif. I posted the code above to disable it in a batch though, so once rikgale has put that into a silent installer it will do the job.

SP
rikgale
@seapagan

So you gonna post link to both of the files on the main page?
My first test failed, but I am testing again atm, forgot to tell XCOPY if it was mention to be copying a file or a directory and because I am using cmdnow I never noticed, so spent trying to figure out why the install had stopped. It turned out that in a window that was hidden it was asking me a question that I could not answer. Should know if it worked in about 15 mins smile.gif
evilvoice
I found bonjour and gearsecurity services in winstallle...gonna see if I can perfrom a basic edit and the msi still work. In winstallle its under services and both are set to autostart...if it does work, ill send the msi to someone to host...putting it to theonly other option sets it to manual

EDIT: ok, that worked. so if anyone wants it, I can 7zip and send.
seapagan
@evilvoice:
You are very correct! In the raw msi, it is in the 'ServiceInstall' table - dont know how I could have missed that, doh! I think I can modify that to make it disabled, hunting google now. Thanks for the heads-up thumbup.gif. Some people may need this service, so will keep the original installed, but probably post a transform to change it. Need to test for a while in a VM first. Did you modify my version, or the original?

@rikgale:
yeah, I can post both the iTunes and QT localized files on the main page.

Edit : QT7 (English Only) link put on main page

SP
evilvoice
i changed yours...since im gonna be using your msi...winstallle has an option to copy package, so i do that so that I have one edited version and one unedited (yours).

EDIT: Got QT7 (your version) down to 8.91MB
seapagan
@evilvoice:
gak! How you do that! Nice work smile.gif

I have also worked out how to set the service to install as disabled, not manual, will post a transform file for the installer.
If you want to change yours, if WinstallLE offers a table editing facility :

In the 'ServiceInstall' table, for the 'Bonjour Service' set start to '4'
in the 'ServiceControl' table, for the 'Bonjour Service' set Event to '162'

good work!

SP.
evilvoice
I extract the files from the msi then 7zip it up...cant be done with itunes...but QT allows it...winstallle has an option to expand the package, and i end up with a program files and system32 dir and a 3mb msi...take that and package it with the excess files and you can get it down to 8.91mb...i dunno why but you can achieve a smaller size with an extracted msi.
seapagan
@evilvoice:
Good going. That is probably because 7z cannot really compress another compressed file (ie the internal cab). When you extract the files, it can then properly compress them. I tried this with iTunes too, and got the same problems you had, so didn't bother for QT. Guess I was wrong! lol. If you want to post that on rapidshare or whereever, I'll change the link on the first page.
Thanks!

SP
evilvoice
i gotta goto bed...but will post as soon as I wake up
seapagan
@evilvoice:
OK, sleep well and thanks for the help.

@all:
I have posted a transform on the main page that will stop the 'Bonjour' service starting. Instructions for use are there also.

@rikgale:
You gonna put that in your silent version? newwink.gif - Be neater than a batch.

SP
rikgale
I've just this second up'ed a batch based install, would have been up before all this came about but the electrican wanted all the power off. GGrrrrrrrrr

Does this .MST file just stop the service or does remove it completely. I prefer the batch method as it still installs the service, but sets it to disable so at least ppl can still use the service if they need it.

I'll create a 3rd installer with the transform and up that in a bit.

For the silent batch based, non-bonjour running installer go here.

For the silent installer with bonjour running as normal go here.
evilvoice
removed due to setup errors
seapagan
@rikgale:
This mst just changes the installer so that it still installs the service, but defaults it to disabled instead of auto, same as your batch.

Thanks for the installers smile.gif

edit :

@evilvoice:
Thanks for that, I'll change the link on the main page. Downloading now, for my own use also. Now .... get to sleep! laugh.gif

Think I may try to make my own 'alternative' install of QT, after all I have learned about the files. There is a lot there that I dont need. Another days project smile.gif

SP
rikgale
@seapagan

Ok cool. So it does the same thing!

I'm up'ing a silent installer with the transform in. If someone could test it I'd be greatful. I've lost count of the number of times I run a full-install on VMWare today, I could do with not seeing XP install again for couple of hours tongue.gif blink.gif whistling.gif

The silent, transform based, non-bonjour running, untested installer can be found here.

Now you can pick which installer to add to the front page. I suggest the one the run bonjour as defualt and one of the non-bonjour installers, then ppl get a choice. smile.gif
seapagan
Thanks rikgale biggrin.gif
I'll do that now. I know the feeling - If I never see the itunes or QT install screens again, it will be too soon!!
I'll put up a link to your first (including bonjour) installer, and one to the latest transform-based one.

Hmm, if I never have to edit that first post again I will be happy too! laugh.gif

SP
rikgale
You wait until they release iTunes 5.1........... laugh.gif

Well with my installers hopefully you'll never see the screens anyway. I just have to wait until they release K-lite Mega Codec Pack 1.38 with the updated QT codecs in and then I can trash my install and start again, that's always the ulitimate test.
seapagan
Yeah, and they will probably release it tomorrow! confused.gif

Time to go play Everquest and take a break, I'm starting to dream in msi format wacko.gif

SP.
rikgale
Have fun! You deserve a rest!! thumbup.gif
evilvoice
ok, yea, i noticed the installer didnt work...well, i did finally get it all extracted and it working...it only save 2mb, but i will offer it up if someone wants it. Im looking at combining the itunes and quicktime into a silent installer and would also offer that package also. (some things will be combined...this is really only for those who dont use qta [like me]).
seapagan
@evilvoice:

Yeah, I spotted that a few days ago, and changed the main page just b4 my adsl line died sad.gif . I compared yours to my version and it seems that your 'quicktime.qtp' was corrupt, it was only 48k. I got a working version about the same size as yours (using an administrative install after I removed the languages), I'll upload it in a bit. I've also just about completed writing up the method to remove all these languages, I'll post it soon. Worked out a way to do it quite easily, better than my original method.
Mind you, having no internet for a few days was very productive - started working on a programming project that I've been meaning to take on for quite a while now, and almost finished it smile.gif

SP
evilvoice
using either itunes installer, i keep getting an error that says the registry settings for burning cds and dvds is missing. Please reinstall iTunes...if I click anything (like Next or Cancel), it never shows up again...but does anyone have a fix for this? Tested it after reboot, same error.
seapagan
Hmm. That normally only happens if the program was installed by running the msi directly, without using the setup program. Does this happen with the files in the rar also, or just the silent ones? I have not tried the silent ones personally.

SP
evilvoice
i havent used the silent one...just the one you made...yea, its kind of weird, i dunno, ive tested it quite a bit. I downloaded the setup files from rapidshare again yesterday just to be sure it wasnt something i had done.
seapagan
I'll download the rar myself again, try it out. I've just reinstalled XP on one computer, so I'll try to install on there and see what happens.
The rar file has been downloaded over 40 times from rapidshare and about te same from my server - anyone else have any problems? if so, please post!

SP
seapagan
Just tested it, clean system with QT7 (official) previously installed, and no problems. Ran it using the iTunesSetup.exe, with the killbonjour transform specified.
Working great - just adding all my library again (40gig worth ... gah, time to get a bigger iPod!)
So, not sure why it is not working for you evilvoice. You definately 100% used the iTunesSetup.exe and didnt run the msi directly? Is this on an installed system, or during an unattended unstall?

SP
rikgale
Just to say no probs here... sofar
seapagan
Thanks for the feedback rikgale smile.gif

@evilvoice:
any progress?

SP
evilvoice
ill try it out again on a new system, been using an already installed system to test on...im not getting an error during install, its when i first run itunes and it asks me to associate which i pick none, and about whether i want it to keep the library up to date, and to goto web store, then after that, it says the cd/dvd burning registry isnt right...but ill try it on a new system.
canuckerfan
just to let everyone know... 5.0.1 is out...

http://www.apple.com/itunes/download/
seapagan
Thanks canuckerfan, I'll start working on it tomorrow.
Downloaded it, it's same packing as 5.0, so just unrar it and delete the quicktimeinstaller.exe.
I'll post a reduced English-only ver tomorrow.

Any idea what the changes were?

SP




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.