Hi all, I've decided to write my own batch installer for the extended kernel that automates a few steps. At the moment it should be able to:
Automatically trigger UAC to run as administrator
Check that you are installing on Vista x64 (but doesn't check that you have the required updates!)
Back up existing system files as *.bak
Replace system files at reboot to avoid 'access denied' problems
Set file permissions for the replacement files
Enable local DLL redirection automatically and fix problems with Windows Sidebar (by making it use the original ole32.dll)
Create OSVER.ini
Optionally install the Media Foundation Platform update (see below)
Optionally set x64 Windows Media Player as default for all users (if installing Media Foundation Platform)
Check for any errors in the process and safely roll back any changes if problems occur (obviously still a good idea to back up your system!)
Create a log for troubleshooting
The batch installer requires a different configuration file (attached) for each release of the extended kernel to be installed. These are named in the same date format as the zipped extended kernel .7z files.
To use:
Place SETUP*.bat in the same folder as the extended kernel installation files extracted from the .7z archive
Copy the corresponding version of the .cfg configuration file into the same folder (and rename as SETUP.cfg if using installer versions older than SETUP3.bat)
If installing the Media Foundation Platform, place the extracted MFPLATSETUP folder as a subfolder with the rest of the extended kernel files
Run SETUP*.bat and hope that it works...
The installer automatically creates a basic OSVER.ini (if none exists), but its contents can be customised in the config file (does not replace any existing OSVER.ini).
If Vista behaves oddly post install (e.g. Firefox failing with RtlQueryPerformanceCounter not being found), a second reboot should fix it. This is a limitation of the way this installer replaces system files at reboot, as certain files are loaded into memory before replacement and remain until the next reboot.
Update 31 Mar 2023:
Updated installer SETUP3.bat
Feb 2022 configuration info no longer embedded, but .cfg files no longer need to be renamed (as long as only one version is placed in its folder - can get confused if more than one .cfg file available!)
Makes copies of MUI files for the March 2023 extended kernel release
Added SETUP_03092023_x64.cfg and SETUP_03092023_x86.cfg for the March 2023 release / revision 1
Update 31 Oct 2022:
Renamed SETUP_10192022_x32.cfg to SETUP_10192022_x86.cfg
Update 28 Oct 2022:
Updated installer SETUP2.bat (various minor bug fixes; no longer fails installation when running from read-only location; checks that file permissions are updated successfully)
Added SETUP_10192022_x32.cfg and SETUP_10192022_x64.cfg for the October 2022 release (see note below)
Download installer
SETUP3.bat for all releases - this is overdue a re-write, really. But for now I have amended it to work with the newest March 2023 release. Unfortunately extremely busy at the moment so this has had very VERY limited testing - please back up and use with caution!
setup3.bat
SETUP2.bat for old releases up to and including October 2022, that has had a bit more testing (at least, no-one's told me they've had any major issues...):
setup2.bat
By default, SETUP2.bat works with the Feb 2022 release of the extended kernel, but can be made to work with newer/older versions using configuration files (attached below). Simply rename the version you need as SETUP.cfg and place in the same folder as the batch file.
Configuration files
Note: the October 2022 and March 2023 Extended Kernel releases include too many files for the batch installer to handle at present, so the configuration files have been split in two for now. I would recommend installing the x64 files before x86 (reboot required in between). On first reboot after installing the x64 files, you may get a BSOD or crash with the 'Windows did not shut down properly' screen, but Windows will start up again normally after this, and the x86 files can be installed normally.
The March 2023 x86 configuration file should be used with SETUP3.bat to ensure MUI localisation files are copied.
setup_03092023_x64.cfg setup_03092023_x86.cfg
setup_10192022_x64.cfg setup_10192022_x86.cfg
Configuration files for older releases:
setup_07252022.cfg setup_06102022.cfg setup_02042022.cfg setup_10262021.cfg setup_05142021.cfg setup_02262021.cfg setup_12312020.cfg
If your Vista was installed using the MSDN iso, you may need to place Win32's replacement EXPLORER.exe with the rest of the extended kernel files and remove the ; at the start of the relevant line in the file list in SETUP.cfg (not required from the Feb 2022 release onwards).
Help for configuration files:
Config info.txt