Ok here is my information on creating a slimmed down version of Windows 7...
packages_xls.txt (rename to packages.xls)
Contains information about all Windows packages, vLite component, the relation between them, removal issues and specified removal (dism or vLite)
removal_bat.txt (rename to removal.bat)
Contains removal of packages, cleanup and language pack integration (not fully automated). Works by specifying a parameter (eg "removal.bat packages")
Please make sure you edit it to fit your needs (everything up to the choice between using imagex or dism for mounting,
use imagex for proper functionality)
The updated removal.bat, "does" the following action for you:
Remember to set the image id to 1 after you have run vLite (in case you rebuild to 1 image).
parameter - action (see contents for possibilities)
<none> - initialise environment variables (a new prompt called "WIM-prompt" will be started)
packages - remove packages with dism (see packages.xls for details)
cleanup - remove files and folders
drivers - driver integration (recurses the specified folder)
post - actions cleanup + drivers
full - actions packages + cleanup + drivers (not recommended)
langpack - integrate language pack in Windows 7
langpack2 - integrate language pack in Setup
Pre-requirements/notes
In case of Windows 7 x64, make sure you are running a x64 version of Windows as well
Windows 7 iso-contents (or DVD) copied to a local drive
dism.exe present in the sources-folder (for those of you that remove all files from the sources-folder)
remove ei.cfg from sources-folder to be able to install all editions
removal of Game Explorer component (by vLite) requires removal of Snipping Tool package (by idsm)
after the cleanup phase with nullify of winsxs-Backup, do not select any components in vLite or it will not be able to complete.
The following files need to be placed in the same folder as removal.bat:
install_wim_tweak (direct link:
win6x_registry_tweak_bin_v1.1.rar)
imagex.exe and intlcfg.exe from the
WAIK for Vista SP1 (take the proper version of these files amd64 for x64 or x86)
Recomended use
Modify the removal.bat to fit your needs (just in case you forgot)
Integrate Language pack
Packages removal
vLite (normal run)
Cleanup of files and folders
vLite (dummy run: reduce image size after cleanup)
Test on a secondary partition or to a virtual environment (such as VMware)
Afterwards use the regsvr32-command to make safe-removal of external drives work (see removal.bat).
This post has been edited by Jeronimo: 26 July 2009 - 08:53 AM