Hello coucou!
About reducing Image size.
If you want reduce the size of the final Image, you can try to use
GImageX or use a batch file.
1)
Before to launch 7Customizer.exe, you can delete the folders and the Images you don't want like "support" and "upgrade" and choose to keep only the Image you want.
Example with Windows 7 Ultimate (install.wim 5 and boot.wim 2)
With the batch file (change the name of your folder where Windows 7 is located and the partition's letter, for your personnal use):
7Custom.cmd
@ECHO OFF
"C:\Program Files\Windows AIK\Tools\x86\imagex.exe" /export C:\Win7\sources\install.wim 5 C:\Win7\sources\installnew.wim "Windows 7 ULTIMATE"
DEL /S /F /Q "C:\Win7\sources\install.wim"
DEL /S /F /Q "C:\Win7\sources\install_Windows 7 HOMEBASIC.clg"
DEL /S /F /Q "C:\Win7\sources\install_Windows 7 HOMEPREMIUM.clg"
DEL /S /F /Q "C:\Win7\sources\install_Windows 7 PROFESSIONAL.clg"
DEL /S /F /Q "C:\Win7\sources\install_Windows 7 STARTER.clg"
RD /S /Q "C:\Win7\support\"
RD /S /Q "C:\Win7\upgrade\"
REN "C:\Win7\sources\installnew.wim" "install.wim"
"C:\Program Files\Windows AIK\Tools\x86\imagex.exe" /export C:\Win7\sources\boot.wim 2 C:\Win7\sources\bootnew.wim
DEL /S /F /Q "C:\Win7\sources\boot.wim"
REN "C:\Win7\sources\bootnew.wim" "boot.wim"
pause to see if errors
Now you have only one Image: Windows 7 Ultimate (
install.wim 1 and
boot.wim 1; because the order's number of folders .wim has been moved!)
2)
After you can launch 7Customizer and you can see only the Image Windows 7 Ultimate inside the window that you can customize, and you can made your customizations adding updates, drivers, language packs, etc.
I've made an test with Windows XP SP3, here is the log.txt
Quote
=== 7Customizer Started===
7Customizer verion: 0.4.4
7Customizer path: C:\7Customizer_0.4.4\7Customizer.exe
Current directory: C:\7Customizer_0.4.4
OS: Microsoft Windows NT 5.1.2600 Service Pack 3
OS architecture: x86
Work folder found: True
Mount folder found: True
Themes folder found: True
Languages folder found: True
Extract utility found: True
Configuration file found: True
bootorder.txt file found: True
Boot sector file found: True
Elevated: True
Loading Language: Begin
Loading Language: Done
Getting drive info
Free space: 27,3889465332031 GB
Getting drive info: Done
Saved Imagex path: C:\Program Files\Windows AIK\Tools\x86\imagex.exe
Saved DISM path: C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe
Saved odcdimg path: C:\Program Files\Windows AIK\Tools\x86\oscdimg.exe
Windows source path selected
Sources folder found
install.wim found
install.wim size: 1917 MB
Added: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe">work\testimagex.txt
Testing imagex
Imagex result begin:
Imagex result file created.
ImageX Tool for Windows
Copyright © Microsoft Corp. All rights reserved.
Version: 6.1.7600.16385
Imagex result end.
Added: "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe">work\testdism.txt
Testing dism
dism result begin:
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
dism result end.
added: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" /XML /info "C:\Win7\sources\install.wim">work\imagesinfo.xml
Starting imagex
Imagex created imagesinfo.xml Successfully
Reading images information from imagesinfo.xml
First 5 lines of imagesinfo.xml
<WIM>
<TOTALBYTES>2010168439</TOTALBYTES>
<IMAGE INDEX="1">
<DIRCOUNT>9675</DIRCOUNT>
<FILECOUNT>48161</FILECOUNT>
Number of Available Images: 1
Reading image indiceis
Reading image displaynames
Reading image names
Reading image architectures
Reading image edition IDs - using EDITIONID
Available Images: Begin
Windows 7 Édition Intégrale
Available Images: End
Reading info finished
Start button pressed
added: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" /XML /info "C:\Win7\sources\install.wim" 1 >work\imagesinfo.xml
Starting ImageX
Imagex created imagesinfo.xml Successfully
Reading selected image information from imagesinfo.xml
First 5 lines of imagesinfo.xml
<IMAGE INDEX="1">
<DIRCOUNT>9675</DIRCOUNT>
<FILECOUNT>48161</FILECOUNT>
<TOTALBYTES>8329369824</TOTALBYTES>
<CREATIONTIME>
Installed Language: Begin
fr-FR
Installed Language: End
Image default language: fr-FR
Image Architecture: x86
Image Edition:Ultimate
Selected Image name: Windows 7 ULTIMATE
Finished Reading selected image information
Tweaks Enabled
Preparing instructions for registry editing
added reg.exe load HKLM\7user "work\mount\Users\Default\NTUSER.DAT"
added reg.exe load HKLM\7soft "work\mount\Windows\System32\config\SOFTWARE"
added reg.exe load HKLM\7system "work\mount\Windows\System32\config\SYSTEM"
added reg.exe import "work\reg.reg"
added reg.exe unload HKLM\7user
added reg.exe unload HKLM\7soft
added reg.exe unload HKLM\7system
Finished preparing instructions for registry editing
Apply button pressed
Debug Mode: False
Creating Autounattend.xml
Finished Autounattend.xml
Prepearing instructions to execute
Added: "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /mount-wim /wimfile:"C:\Win7\sources\install.wim" /index:1 /mountdir:"work\mount"
Added: "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /unmount-wim /mountdir:"work\mount" /commit
Preparing tweaks file
Finished preparing tweaks file
Starting
Finished Execution
Done. Exiting 7Customizer
You save space for the ISO file and processing time because the process is a little faster (the size is reduce)!
* Also if you want save time when 7Customizer is working: Disconnect from the Internet!
Before execute 7Customizer.exe you can also add modded .dlls (imageres.dll, spwizimg.dll, etc.) inside your Windows 7 Image. You can read
Guide de l'utilisateur Se7en_UA for customizations.
I've tried successfully and all works perfectly with 7Customizer on a Computer working with Windows XP SP3 and Windows 7!
I will update the 7Customizer French guide about reducing Image size.
Regards
*Edit: Guide updated
7Customizer French guide
You can also optimize Windows to save time and to improve performances: desable Screensaver and others features:
http://www.optimizingpc.com/
http://www.optimizin...pandscreen.html
Changing the storage location:
http://www.optimizin...al_folders.html
This post has been edited by myselfidem: 24 August 2010 - 12:17 PM