Aloha all...
Before anything I'd like to thank
pdmcmahon and
it ybd for putting me on the right track... So here it is, for us n00bs, a recap on making an "almost" fully silent (U tell me...) QT7 silent installer with all your tweaks and prefs integrated (Registration included)...
What you will need:
- QuickTime 7.0.2 Standalone installer. (And valid registration info if you want to include it...)
Here
- Quick Batch Compiler.
Here
- Winrar.
Here (I Use v3.42 but i'm sure latest version has the same features...)
- An Icon of your choice... *.ico format if you want to change the sfx icon...
1 - Install QuickTime 7 on your computer and configure it fully... (Prefs, registration, player prefs...).
2 - Copy your Pref files to a folder on your Desktop... The Files are...
- Two files for the General Prefs and the Registration...
"c:\Document and Settings\All Users\Application Data\Apple Computer\QuickTime\QuickTime.qtp"
"c:\Document and Settings\All Users\Application Data\Apple Computer\QuickTime\com.apple.QuickTime.plist"
- One editable *.xml file that manages the user Player Prefs...
"c:\Document and Settings\%userprofile%\Application Data\Apple Computer\QuickTime\QTPlayerSession.xml"
3 - Prepare your package. In the same folder you copied your pref files, include the original "QuickTimeInstaller.exe"... Also, install your copy of Quick Batch Compiler if you haven't done so allready.
4 - Create your QT7Silent.cmd and save it your distribution folder... Now as i stated earlier this is
pdmcmahon's batch... I just twisted it a litlle to suite my needs...
@ECHO OFF
QuickTimeInstaller.exe /S /v/qn
XCOPY /S /E /I /Y QuickTime.qtp "C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime"
XCOPY /S /E /I /Y com.apple.QuickTime.plist "C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime"
XCOPY /S /E /I /Y QTPlayerSession.xml "%userprofile%\Application Data\Apple Computer\QuickTime\"
DEL "c:\Documents and Settings\All Users\Start Menu\Programs\QuickTime\PictureViewer.lnk"
DEL "c:\Documents and Settings\All Users\Start Menu\Programs\QuickTime\QuickTime Read Me.lnk"
DEL "c:\Documents and Settings\All Users\Start Menu\Programs\QuickTime\Uninstall QuickTime.lnk"
DEL "c:\Documents and Settings\All Users\Desktop\QuickTime Player.lnk"
DEL "%userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch\QuickTime Player.lnk"
taskkill /F /IM qttask.exe
EXIT
5 - Transform your "QT7Silent.cmd"...
1) Open your QT7Silent.cmd in Quick Batch Compiler.
2) Select Ghost Application in the Project | Options
3) Build your *.exe (By default it will be saved with the same name and in the same folder as your QT7Silent.cmd).
4) You can now remove QTSilent.cmd from your distribution folder...
6 - Create your silent installer...
1) Your folder which should now look like this...
com.apple.QuickTime.plist
QT7Silent.exe
QTPlayerSession.xml
QuickTime.qtp
QuickTimeInstaller.exe
MyIcon.ico
2) Install WinRAR and Create an archive with all the files listed above... Here is for the options... (GUI):
- General Tab
Name: whatever you want
Format: rar
Compression: best
Create sfx
Create Solid archive
Put recovery record
- Advanced Tab -> SFX Options | General Tab
Run After extraction: QT7Silent.exe
- Advanced Tab -> SFX Options | Mode Tab
Temporary mode: Unpack to temporary folder
Silent mode: Hide All
Overwrite mode: Overwrite all files (but that's for you to decide...)
- Advanced Tab -> SFX Options | Text & Icon Tab
Load SFX icon from the file (If you have an *.ico file to include).[/code]
And that's it.... validate your choices by clicking OK and your new silent installer is here....
! - For those of you eager to keep working with 7zip method... It can also be done... Just use this as config.txt
;!@Install@!UTF-8!
RunProgram="QT7Silent.exe"
;!@InstallEnd@!
I have found though that you only gain like 512k with the 7zip version and spend way more time compressing it Ultra...
Xtra stuff:
- More info on Window environment variables:
Here
- More info on Taskkill:
Here
Post Edited:
Txs to
seapagan the installer is now Fully Silent...

(integrating
cmdow.exe in the sfx archive and using QT7Silent.cmd to launch install pops open a cmd prompt and closes it right away...).
Quote
Quote
Hmmm...
- At this point i'm kinda wondering if there isn't a better way of doing this in getting rid of cmdow.exe from package and having the instructions directly parsed by the winrar sfx instead of the QTSilent.cmd... Any help on this greatly appreciated... could get rid of the only NOT completely silent part of the install...

Quote
You can use 'Quick Batch compiler' or similar to compile the batch file into a silent exe (use 'ghost' mode), so there will be no flash of the cmd box.
This post has been edited by XXsplit: 07 October 2005 - 11:34 AM