UPDATED 2006-01-02 (testing Windows WMF Metafile Vulnerability HotFix from Hex Blog)
(more info at the bottom of this post)
MultiCompiler is a small package designed to create silent/switchless installers for:
- Windows WMF Metafile Vulnerability HotFix from Hex Blog [wmffix.exe] (testing)
- .NET Framework 1.1 with SP1 + hotfix (with or without language pack) [DNF11.exe]
- MSN Messenger 7.0 for Win2K (with or without tweaks for auto start and balloon tips) [MSNMsg70.exe]
- MSN Messenger 7.5 for WinXP (with or without tweaks for auto start and balloon tips) [MSNMsg75.exe]
- Windows Media Player 6.4 codec package (1.23MB) [WMP6cdcs.exe]
- Windows Media Player 9 for Win2K (9.90MB) [WMP9_2K.exe]
- Classic Windows Media Player skin (for WMP9 or 10) [WMPCskin.exe]
- Macromedia Shockwave Flash Player 8 for MSIE (891.5KB -- full installer!) [Flash8IE.exe]
- User Profile Hive Cleanup Service [UPHClean.exe] [UPHC_2K.exe]
- Base Smart Card Cryptographic Service Provider [BaseSM.exe]
- ElcomSoft Advanced Office Password Recovery (with or without registration patch) [AOPR.exe]
- MS XML 4.0 SP2 with KB887606 hotfix (519.5KB) [XML4SP2+.exe]
- MS XML 6.0 (549.6KB) [XML6.exe]
This should work for languages other than English.
All the main programs this tool can process are optional, but there may be requirements for specific components that ARE included.
Windows WMF Metafile Vulnerability HotFix from Hex Blog
This is intended to be used until Microsoft come up with a fix for the WMF vulnerability. The silent installer created by MultiCompiler suppresses the reboot, so be sure to reboot your system when not testing this during an unattended installation of Windows.
WMP9 for Win2K
The original source of WMP9 is reduced by 3.40MB through high compression repackaging, removal of two XP-only skins, and removal of five Win9x-specific files. Additionally, the installation files are not cached but this will cause the WMP9 program files to be overwritten when you upgrade to a newer version of Windows in the future; it's up to you to decide whether this is an issue or not.
User Profile Hive Cleanup Service
Two silent installers are created for the User Profile Hive Cleanup Service: UPHClean.exe (Windows XP, Windows XP unattended and Windows 2000) and UPHC_2K.exe (Windows 2000 unattended). The former doesn't work during an unattended installation of Windows 2000, hence the second version. UPHC_2K.exe will do the following if included on the CD:
1) Copy UPHClean.msi into %WINDIR%\Temp
2) Execute a .REG file placing a command in HKLM\...\RunOnce to silently install UPHClean.msi
3) Windows 2000 setup completes and you reboot
4) After logging in the first time, the RunOnce registry key is processed during which the UPHC Service is installed
In short: use "UPHC_2K.exe" for a Win2K unattended installation and "UPHClean.exe" for anything else (eg, unattended WinXP).
.NET Framework 1.1
A silent installer for the English version of .NET Framework 1.1 already exists; it was made by RyanVM and is obtainable here.
The hotfix for .NET 1.1 will normally create an entry for itself in the "Add/Remove Programs" window. However, it's useless because it cannot be uninstalled separately. MultiCompiler adds a post-install command to the silent installer which removes a registry key in order to get rid of this entry.
Choosing the package:
There are two packages available: MultiCompiler.7z (296.8kb) and MCmini.7z (80.2kb). The difference between them is that the latter does not contain the following files: 7za.exe and StartX.exe. If you already have these files, download MCmini.7z and place your copies of 7za.exe and StartX.exe in the working folder (I use 7za.exe from 7-Zip Command Line Version 4.30 beta). If you don't have these extra files, download the larger package.
General preparation instructions:
1) Download either MultiCompiler.7z (remote site) or MCmini.7z (attached to this post). Extract all files into a folder with the name you like best; we'll call it "MC" here. This folder can be located anywhere you want. If you download the smaller package, don't forget to include 7za.exe and StartX.exe as outlined in the previous section "Choosing the package".
2) Read readme.txt for additional information on the files being used.
3) If you want, you can download cmdow.zip and extract cmdow.exe into MC. This will hide the second DOS box that appears when the silent installers are created.
Preparation instructions for Windows WMF Metafile Vulnerability HotFix from Hex Blog:
Download wmffix_hexblog13.exe and place it in MC. Newer revisions should work unless the installation procedure of the main installer is changed.
Preparation instructions for Windows Media Player 6.4 codec package:
Go to this page, scroll down to the section "Codec Installation Package for Windows Media Player 6.4", click the Download Now link in that section and place the file (wmp6cdcs.exe) in MC.
Preparation instructions for MS XML 6.0:
Download msxml6.msi and place it in MC.
Preparation instructions for MS XML 4.0 SP2 with KB887606 hotfix:
1) Go to the MS XML 4.0 SP2 download page. English users: get msxmlcab.exe and place it in MC; if you prefer, you can use msxml.msi instead but then it must be renamed to msxml4.msi. International users: get the msi for your language and place it in MC; then change the file name to msxml4.msi (you can leave the language reference in after the "4" if you want; eg: msxml4fra.msi).
2) Download the KB887606 hotfix in the same language as MS XML 4.0 SP2 and place it in MC.
Preparation instructions for Windows Media Player 9 for Win2K:
English users: download WMP9 and place it in MC. International users: Go to this page, change the setting in the third drop-down list to reflect your preferred language, wait till the page has reloaded and then click the link below for "Windows Media Player 9 Series".
Preparation instructions for Macromedia Shockwave Flash Player 8 for MSIE:
Download the offline installer and place it in MC: click here, wait till the page has jumped to the section "How do I download Macromedia Flash Player?", and then click on "Flash Player for Internet Explorer" in the subsection "Windows" to download the offline installer.
Preparation instructions for Advanced Office Password Recovery:
Download AOPR and save it in MC. The file should be named "aopr.zip".
If you don't want to register it during setup or just fancy using a trial version, delete "aopr.txt" from the MultiCompiler package.
If you want to include your registration key, edit "aopr.txt" (part of the MultiCompiler package) with Notepad or any other basic text editor by replacing the string of X's with the serial number you've obtained.
Preparation instructions for Base Smart Card Cryptographic Service Provider:
Download the KB909520 package and place it in MC.
Preparation instructions for User Profile Hive Cleanup Service:
Download the User Profile Hive Cleanup Service package and place it in MC.
Preparation instructions for the WMP Classic skin:
Place CLASSIC.WM_ (in your language) in MC. You can find it on the Windows XP installation CD (Gold, SP1, SP1a or SP2) in the I386 folder.
Preparation instructions for MSN Messenger 7:
Go to the MSN Messenger download page, click on the textual link "Download and Install Later" near the bottom of the page, and save the file into MC. You can include both version 7.0 for Win2K and version 7.5 for WinXP at the same time.
Multi Compiler looks for files which file name ends with "messenger_nt.exe" for Win2K and "messenger.exe" for WinXP (capitals are allowed). As far as I know, this is the default for every language so no changes need to be done.
If you want, MultiCompiler can include a patch which will disable auto-run on Windows startup, disable the balloon tip saying that MSN Messenger is still running and disable the one asking to create a Passport account. For Windows XP, the balloon tips are disabled for Windows Messenger 4.7 as well. To include this patch, download the attached file msnp.7z (23kb) and extract msnp70.tmp (for MSN Messenger 7.0) and/or msnp75.tmp (for MSN Messenger 7.5 and Windows Messenger 4.7) into MC.
Preparation instructions for .NET Framework 1.1:
NOTE: You can use RyanVM's .NET 1.1 installer to replace steps 1 and 2, but then the language pack (step 3) MUST be present. This tool will not repackage RyanVM's installer just for the fun of it. The pros: you save time, and the resulting silent installer is smaller (approx. 0.4MB). Place dotnet11sp1.exe in MC and proceed to step 3.
1) Download .NET Framework 1.1, place it in MC and install it (double-click and follow the wizard). Actual installation at this moment is necessary in order to execute the next step. Note: this is not a limitation of Multi Compiler but of the update installers themselves.
2) Download Service Pack 1 and the hotfix for .NET 1.1 into MC. This step is required if you're including .NET 1.1.
3) If you wish to include the language pack, download it (in your language) and place it in MC.
4) If you want, create a file called dnpatch.cmd with your custom patches and place it in MC. I'm using this to remove the English shortcuts under Start > Settings > Control Panel > Administrative Tools which still exist when applying the language pack. See my version of dnpatch.cmd (mypatch.txt; attached to this post) for an example.
Creating the silent installers:
Run MultiCompiler.bat and wait till it's finished. The last portion can take a while if you've included .NET 1.1 or WMP9 for Win2K so be patient. The output files will be located in a subfolder called "out".
Please let me know your findings!
2006-01-02 #2: WMF vulnerability hotfix can be installed from SVCPACK for Windows XP. Still need to test Windows 2000.
2006-01-02: Testing Windows WMF Metafile Vulnerability HotFix from Hex Blog. You are getting a silent installer which suppresses the reboot, but it still needs to be tested for an unattended installation of Windows.
- Added support for the Windows Media Player 6.4 codec package.
- The silent installers for MSXML4 and MSXML6 can be installed during an unattended installation.
2005-12-21 GMT: Testing MS XML 4.0 SP2 with KB887606 hotfix and MS XML 6.0.
2005-12-19 #2: Improved the handling of the User Profile Hive Cleanup Service for Win2K some more. I was able to reach the %WINDIR%\Temp folder in a registry key by using "REG_EXPAND_SZ" instead of "REG_SZ". Since the installation file is now in the Temp folder again, I've also removed the "cleanup" portion introduced in the previous update; this results in one less DOS box and a seemingly quicker execution.
2005-12-19: Improved the handling of UPHClean for Win2K. The resulting silent installer is much smaller and the need to manually edit a file has been eliminated. Read the note near the top of this post for an explanation of what the silent installer does.
2005-12-19 GMT: UPHClean now works during an unattended installation of Windows 2000, but it's ugly.
- The silent installer for WMP9 for Win2K worked but one skin wasn't copied over; that's corrected now.
- Improved the code of the tool a bit (some commands for compressed files to be extracted which don't contain subdirectories still had the "recurse subdirectories" switch set).
- Testing Windows Media Player 9 for Win2K with slightly reduced source.
- Updated installation instructions on this page to reflect the name change of the MSN Messenger registry tweak files from a couple of days ago. Sorry if this caused any confusion to anyone who followed this guide to the letter.
- Added Macromedia Flash Player 8. It works during unattended installation of Windows.
- Microsoft Base Smart Card Cryptographic Service Provider update works.
- User Profile Hive Cleanup Service does not work during an unattended installation of Windows 2000!
2005-12-16 #2: Testing Microsoft Base Smart Card Cryptographic Service Provider update. The silent installer still needs to be tested during an unattended installation of Windows.
- The registry tweaks for MSN Messenger and Advanced Office Password Recovery are now compatible with Windows 2000 (thanks to TommyP for some useful info). Please redownload MultiCompiler as well as the msnp.7z package.
- The working folders for the various programs supported are now only created when those programs are actually included.
- MultiCompiler now checks if there are left over working folders from a previous (broken off) run and deletes them if present; this should prevent any overwrite dialogs from appearing. The only exception to this is the output folder "out" which is never deleted.
- Newer setup files that are copied into the silent installers were recently modded to have only one icon. The older ones (.NET 1.1 and MSN Messenger), which still had two icons, are now updated to have only one icon as well. This reduces the combined file size of sfiles.tmp from 11.9 to 11.6kb and of msnp.7z from 23.1 to 22.9kb (and should marginally reduce the file size of the created silent installers as well).
- Added support for ElcomSoft Advanced Office Password Recovery (with or without registration key).
- Finally tested UPHClean during installation of Windows (SVCPACK) and it works.
- Fixed an error in the handling of .NET Framework 1.1. It's yet another issue of "rename file but don't update tool to reflect change". I should try to work more during the day...
- Removed support for .NET Framework 2.0. I wasn't calling the MSI but the EXE with the latest change, but still it wouldn't install. I give up. Use Zxian's .NET 2.0 installers instead: multilingual / English only
2005-12-13: Credited the author of msistub.exe (Oleg_Sch) in the readme files. No functionality changes.
2005-12-12: Testing User Profile Hive Cleanup Service (UPHClean). The silent installer works on an existing installation of Windows, but still needs to be tested in an unattended installation of Windows.
- Compressed 7zS.sfx which will lower the file size of the silent executables.
- Fixed several coding errors that caused the tool to not work if there are spaces in directory names.
- Removed support for HighMAT Update.
- Updated .NET Framework 2.0 for the last time. If this doesn't work during SVCPACK either, I'll remove it.
- Added support for RyanVM's .NET 1.1 package. langpack.exe is required.
- The optional patch for .NET 1.1 must now be named dnpatch.cmd instead of patch.cmd. This is to avoid confusion with patches for other programs.
- Added support for MSN Messenger autostart & balloon tips patch. This is a separate addon.
- Added support for installation of the WMP Classic skin.
- Removed support for Windows Media Connect 2.0 because it can be integrated as is.
- Fixed an error in the handling of .NET Framework 2.0. The MST transforms file was renamed but the script still referred to its old name.
2005-12-03: Edited the description and the instructions. There are no functionality changes and no new download(s).
2005-12-03 GMT: Updated the code of MultiCompiler.bat and build.cmd. There's no performance gain, but it's much more overviewable (for me) and their combined size dropped from 6.82kb to 5.36kb (which should mainly benefit my MSFN upload quota, haha). No changes in functionality.
2005-12-02: Included support for Windows Media Connect 2.0.
2005-12-01: Included support for .NET 2.0.
2005-12-01 GMT: Fixed a problem where a DOS box would appear for the silent installer of .NET 1.1 under Windows XP; I know it sounds stupid, but it's as if XP doesn't like the word "base" too much...
2005-12-01 GMT: Corrected a problem which prevented the compiler to process the requested components if not all were included (pretty dumb, this one).
Edited by Tomcat76, 02 January 2006 - 05:41 PM.