Here is the error message:
Quote
ImageX Tool for Windows
Copyright © Microsoft Corp. All rights reserved.
Mounting (RW): [F:\7elite32\source\sources\install.wim, 1] ->
[F:\7elite32\mount]
Successfully mounted image (RW).
-------------------------------------------
------Pre-install registry Tweak Tool------
---------------for Windows 6.x-------------
-------------------------------------------
Processing : F:\7elite32\mount
Creating BKP of registry file... OK
Mounting registry file... OK
Enabilng taking ownership... OK
Editing 'Packages' subkeys 532/532 OK
Editing 'PackagesPending' subkeys 532/532OK
Modyfing registry completed sucessfully.
-------------------Ending------------------
Unmounting key... OK
Removing BKP file... OK
F:\7elite32\batch>cleanup
Please, wait...
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
Could Not Find F:\7elite32\mount\Windows\inf\hp*
Could Not Find F:\7elite32\mount\Windows\inf\netw5*
Could Not Find F:\7elite32\mount\Windows\inf\nv*
The operation completed successfully.
The operation completed successfully.
The operation completed successfully.
How I came into this problem? Below is what I did:
System: Windows 7 Ultimate 32-bit with SP1, MSDN, English ( Location: China. Locale: Chinese, simplified, PRC)
1) Disable System Restore and antivirus programs.
2) Extract 7elite32.rar (provided by Liquid0624, http://www.msfn.org/...post__p__933395) to "F:\7elite32\", and install WAIK 3.0 English Version (http://www.microsoft...ls.aspx?id=5753, KB3AIK_EN.iso).
3) Extract en_windows_7_ultimate_with_sp1_x86_dvd_u_677460.iso to F:\7elite32\source\.
Run gimagex.exe (x86). (http://www.autoitscr...-tools/gimagex/)
a) Go to "Apply" tab. Source: "F:\7elite32\source\sources\install.wim". Destination: "F:\temp\". Image=5. Then click "Apply" button.
b) Go to "Capture" tab. Source: "F:\temp\". Destination: "F:\install.wim". Name: "Windows 7 ULTIMATE". Description: "Windows 7 ULTIMATE". Compression: "Maximun". SKU Flag: "ULTIMATE". Display Name: "Windows 7 ULTIMATE". Then click "Create" button.
c) Replace "F:\7elite32\source\sources\install.wim" with "F:\install.wim".
4) Modify the files in "F:\7elite32\batch\"
cleanup.bat (the differences between my cleanup.bat and myselfidem's were marked in red)
Quote
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
>nul taskkill /F /FI "WINDOWTITLE eq batch"
echo Please, wait...
REM Retrieve parent folder from config file
set /p mount=<setupcfg.txt>nul
REM Windows Logs
del /f /s /q "%mount%\*.log">nul
REM Windows DVD Maker
rd /s /q "%mount%\Program Files\DVD Maker">nul
REM Windows Recovery
rd /s /q "%mount%\Windows\System32\Recovery">nul
REM Microsoft Games
rd /s /q "%mount%\Program Files\Microsoft Games">nul
REM Winsxs Backup Removal
del /f /s /q "%mount%\Windows\winsxs\Backup\*.*">nul
REM Windows Wallpaper
rd /s /q "%mount%\Windows\Web\Wallpaper\Nature">nul
rd /s /q "%mount%\Windows\Web\Wallpaper\Scenes">nul
rd /s /q "%mount%\Windows\Web\Wallpaper\Characters">nul
rd /s /q "%mount%\Windows\Web\Wallpaper\Landscapes">nul
rd /s /q "%mount%\Windows\Web\Wallpaper\Architecture">nul
REM Windows Powershell
rd /s /q "%mount%\Windows\System32\WindowsPowerShell">nul
REM Windows Help
rd /s /q "%mount%\Windows\Help\mui\0409">nul
del /f /s /q "%mount%\Windows\Help\Windows\en-US\*.h1s">nul
REM Portable Devices
rd /s /q "%mount%\Program Files\Windows Portable Devices">nul
REM Windows Ringtones
rd /s /q "%mount%\ProgramData\Microsoft\Windows\Ringtones">nul
REM Windows Resources
del /f /s /q "%mount%\Windows\Resources\Themes\nature.theme">nul
del /f /s /q "%mount%\Windows\Resources\Themes\scenes.theme">nul
del /f /s /q "%mount%\Windows\Resources\Themes\characters.theme">nul
del /f /s /q "%mount%\Windows\Resources\Themes\landscapes.theme">nul
del /f /s /q "%mount%\Windows\Resources\Themes\architecture.theme">nul
REM Public User Folders
for /d %%i in ("%mount%\Users\Public\*.*") do rd /s /q "%%i">nul 2>&1
REM BITS Update Network
del /f /s /q "%mount%\ProgramData\Microsoft\Network\Downloader\*.*">nul
REM Windows Media Sounds
del /f /s /q "%mount%\Windows\Media\*.wav">nul
for /d %%i in ("%mount%\Windows\Media\*") do rd /s /q "%%i">nul
rd /s /q "%mount%\Users\Administrator\AppData\Local\Microsoft\Windows Media">nul
rd /s /q "%mount%\Windows\Media">nul
REM Windows Font Removal
del /f /s /q "%mount%\Windows\Fonts\angsa*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\aparaj*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\candara*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\consola*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\constan*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\corbel*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\cordia*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\daunpenh.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\dokchamp*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\ebrima*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\estr*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\euphemia.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\framd*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\gabriola.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\gautami*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\gisha*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\iskpota*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\kalinga*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\kartika*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\khmerui*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\kokila*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\laoui*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\latha*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\leelaw*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\l_10646.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\majalla*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\malgun*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\mangal*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\monbaiti.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\moolbor*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\msyi.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\mvboli.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\ntailu*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\nyala.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\phagspa*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\plant*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\raavi*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\modern.fon">nul
del /f /s /q "%mount%\Windows\Fonts\roman.fon">nul
del /f /s /q "%mount%\Windows\Fonts\script.fon">nul
del /f /s /q "%mount%\Windows\Fonts\segoepr*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\segoesc*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\shonar*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\shruti*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\taile*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\tunga*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\utsaah*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\vani*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\vijaya*.ttf">nul
del /f /s /q "%mount%\Windows\Fonts\vrinda*.ttf">nul
for /d %%i in ("%mount%\Windows\winsxs\*-angsa*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-aparaj*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-candara*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-consola*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-constan*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-corbel*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-cordia*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-daunpenh_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-dokchamp*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-ebrima*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-estr*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-euphemia_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-franklingothic_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-gabriola_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-gautami*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-gisha*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-iskoolapota_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-kalinga*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-kartika*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-khmerui*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-kokila*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-laoui*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-latha*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-leelaw*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-l_10646*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-sakkalmajalla*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-malgun*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-mangal*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-mongolianbaiti_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-moolbor*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-yibaiti_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-mvboli_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-new_tai*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-nyala_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-phagspa*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-plant*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-raavi*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-modern*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-roman*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-script*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-segoepr*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-segoesc*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-shonar*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-shruti*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-tai_le*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-tunga*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-utsaah*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-vani*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-vijaya*_*") do rd /s /q "%%i">nul
for /d %%i in ("%mount%\Windows\winsxs\*-vrinda*_*") do rd /s /q "%%i">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-angsa*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-aparaj*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-candara*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-consola*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-constan*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-corbel*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-cordia*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-daunpenh_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-dokchamp*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-ebrima*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-estr*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-euphemia_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-franklingothic_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-gabriola_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-gautami*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-gisha*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-iskoolapota_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-kalinga*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-kartika*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-khmerui*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-kokila*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-laoui*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-latha*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-leelaw*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-sakkalmajalla*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-malgun*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-mangal*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-mongolianbaiti_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-moolbor*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-yibaiti_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-mvboli_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-new_tai*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-nyala_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-phagspa*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-plant*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-raavi*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-script*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-segoepr*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-segoesc*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-shonar*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-shruti*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-tai_le*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-tunga*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-utsaah*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-vani*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-vijaya*_*">nul
del /f /s /q "%mount%\Windows\winsxs\Manifests\*-vrinda*_*">nul
REM ATI Drivers
rem do not remove if you need ATI Drivers!
set part=ati
set cb=x86
del /f /s /q "%mount%\Windows\inf\%part%*">nul
for /d %%i in (%mount%\Windows\system32\Driverstore\FileRepository\%part%*) do rd /s /q "%%i">nul
for /d %%i in (%mount%\Windows\winsxs\%cb%_%part%*) do rd /s /q "%%i">nul
REM Brother Drivers
set part=brmf
set cb=x86
del /f /s /q "%mount%\Windows\inf\%part%*">nul
for /d %%i in (%mount%\Windows\system32\Driverstore\FileRepository\%part%*) do rd /s /q "%%i">nul
for /d %%i in (%mount%\Windows\winsxs\%cb%_%part%*) do rd /s /q "%%i">nul
REM Fax Drivers
set part=faxc
set cb=x86
del /f /s /q "%mount%\Windows\inf\%part%*">nul
for /d %%i in (%mount%\Windows\system32\Driverstore\FileRepository\%part%*) do rd /s /q "%%i">nul
for /d %%i in (%mount%\Windows\winsxs\%cb%_%part%*) do rd /s /q "%%i">nul
REM HP Drivers
set part=hp
set cb=x86
del /f /s /q "%mount%\Windows\inf\%part%*">nul
for /d %%i in (%mount%\Windows\system32\Driverstore\FileRepository\%part%*) do rd /s /q "%%i">nul
for /d %%i in (%mount%\Windows\winsxs\%cb%_%part%*) do rd /s /q "%%i">nul
REM Intel Graphics Drivers
rem set part=ig
set cb=x86
del /f /s /q "%mount%\Windows\inf\%part%*">nul
for /d %%i in (%mount%\Windows\system32\Driverstore\FileRepository\%part%*) do rd /s /q "%%i">nul
for /d %%i in (%mount%\Windows\winsxs\%cb%_%part%*) do rd /s /q "%%i">nul
REM Intel Wireless Drivers
set part=netw5
set cb=x86
del /f /s /q "%mount%\Windows\inf\%part%*">nul
for /d %%i in (%mount%\Windows\system32\Driverstore\FileRepository\%part%*) do rd /s /q "%%i">nul
for /d %%i in (%mount%\Windows\winsxs\%cb%_%part%*) do rd /s /q "%%i">nul
REM Modem Drivers
rem set part=mdm
set cb=x86
del /f /s /q "%mount%\Windows\inf\%part%*">nul
for /d %%i in (%mount%\Windows\system32\Driverstore\FileRepository\%part%*) do rd /s /q "%%i">nul
for /d %%i in (%mount%\Windows\winsxs\%cb%_%part%*) do rd /s /q "%%i">nul
REM Nvidia Drivers
set part=nv
set cb=x86
del /f /s /q "%mount%\Windows\inf\%part%*">nul
for /d %%i in (%mount%\Windows\system32\Driverstore\FileRepository\%part%*) do rd /s /q "%%i">nul
for /d %%i in (%mount%\Windows\winsxs\%cb%_%part%*) do rd /s /q "%%i">nul
REM Printer Drivers
rem set part=prn
set cb=x86
del /f /s /q "%mount%\Windows\inf\%part%*">nul
for /d %%i in (%mount%\Windows\system32\Driverstore\FileRepository\%part%*) do rd /s /q "%%i">nul
for /d %%i in (%mount%\Windows\winsxs\%cb%_%part%*) do rd /s /q "%%i">nul
REM Scanners Drivers
set part=wia
set cb=x86
del /f /s /q "%mount%\Windows\inf\%part%*">nul
for /d %%i in (%mount%\Windows\system32\Driverstore\FileRepository\%part%*) do rd /s /q "%%i">nul
for /d %%i in (%mount%\Windows\winsxs\%cb%_%part%*) do rd /s /q "%%i">nul
REM Blank Desktop Icon Registry Fix
reg load HKLM\wim %mount%\Windows\System32\Config\Software
reg delete HKLM\wim\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{98D99750-0B8A-4c59-9151-589053683D73} /f
reg unload HKLM\wim
REM Broken Startmenu Shortcut Removal
rd /s /q "%mount%\ProgramData\Microsoft\Windows\Start Menu\Programs\Games">nul
rd /s /q "%mount%\ProgramData\Microsoft\Windows\Start Menu\Programs\Maintenance">nul
rd /s /q "%mount%\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows PowerShell">nul
rd /s /q "%mount%\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Maintenance">nul
del /f /s /q "%mount%\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Performance Monitor.lnk">nul
del /f /s /q "%mount%\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\System Tools\Resource Monitor.lnk">nul
del /f /s /q "%mount%\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\System Tools\Windows Easy Transfer.lnk">nul
del /f /s /q "%mount%\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Windows PowerShell Modules.lnk">nul
del /f /s /q "%mount%\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\System Tools\Windows Easy Transfer Reports.lnk">nul
>nul timeout /t 1
commit.bat (the same as myselfidem's)
Quote
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
>nul taskkill /F /FI "WINDOWTITLE eq batch"
REM Folder Index
set index=0
REM Retrieve parent directories from config file
for /f "tokens=*" %%x in (setupcfg.txt) do (
set parent=%%x
call:functionArray)
REM Directory containing current mounted install.wim
set mount="%parent.0%"
REM Set the location and commands to unmount images using imagex.exe
set imgx="C:\Program Files\Windows AIK\Tools\x86\imagex.exe"
set untimage=%imgx% /unmount /commit %mount%
REM Initializes commands to unmount images on the fly using imagex.exe
set init="%mount%\Windows"
set unmountimage=if exist %init% %untimage%
%unmountimage%
if exist %mount% rmdir /s /q %mount%
:functionArray
if not %index%==3 (
set /a index=%index% + 1
set parent.%index%=%parent%)
>nul timeout /t 1
discard.bat (the same as myselfidem's)
Quote
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
>nul taskkill /F /FI "WINDOWTITLE eq batch"
REM Folder Index
set index=0
REM Retrieve parent directories from config file
for /f "tokens=*" %%x in (setupcfg.txt) do (
set parent=%%x
call:functionArray)
REM Directory containing current mounted install.wim
set mount="%parent.0%"
REM Set the location and commands to unmount images using imagex.exe
set imgx="C:\Program Files\Windows AIK\Tools\x86\imagex.exe"
set untimage=%imgx% /unmount %mount%
REM Initializes commands to unmount images on the fly using imagex.exe
set init="%mount%\Windows"
set unmountimage=if exist %init% %untimage%
%unmountimage%
if exist %mount% rmdir /s /q %mount%
:functionArray
if not %index%==3 (
set /a index=%index% + 1
set parent.%index%=%parent%)
>nul timeout /t 1
mount.bat (the same as myselfidem's)
Quote
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
>nul taskkill /F /FI "WINDOWTITLE eq batch"
REM Folder Index
set index=0
REM Edition Index
set image=1
REM Retrieve parent directories from config file
for /f "tokens=*" %%x in (setupcfg.txt) do (
set parent=%%x
call:functionArray)
REM Directory containing current mounted install.wim
set mount="%parent.0%"
if not exist %mount% mkdir %mount%
REM Directory containing orginal image to be modified
set source="%parent.1%\sources"
REM Execute install_wim_tweak.exe to take ownership of registry
set tweak="%parent.2%\install_wim_tweak.exe"
REM Set the location and commands to mount images using imagex.exe
set imgx="C:\Program Files\Windows AIK\Tools\x86\imagex.exe"
%imgx% /info "%source%\install.wim" %image% >nul
if not %errorlevel%==0 set image=1
set mntimage=%imgx% /mountrw "%source%\install.wim" %image% %mount%
REM Initializes commands to mount images on the fly using imagex.exe
set init="%mount%\Windows"
set mountimage=if not exist %init% %mntimage%
%mountimage%
if %image%==1 %tweak% /p %mount% /m
:functionArray
if not %index%==3 (
set /a index=%index% + 1
set parent.%index%=%parent%)
>nul timeout /t 1
removal.bat (the same as myselfidem's)
Quote
REM Windows 7 SP1 Edition ULTIMATE - ONLY ONE IMAGE
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
>nul taskkill /F /FI "WINDOWTITLE eq batch"
REM Code Base
set code=x86
REM Build Number
set build=7601
REM Minor Build
set minor=17514
REM Folder Index
set index=0
REM Edition Index
set image=1
REM Windows Version
set winver=6.1.%build%.%minor%
REM Windows Package Prefix
set winprefix=31bf3856ad364e35
REM Windows Package Suffix
set winsuffix=~%winprefix%~%code%~~%winver%
REM Retrieve parent directories from config file
for /f "tokens=*" %%x in (setupcfg.txt) do (
set parent=%%x
call:functionArray)
REM Directory containing current mounted install.wim
set mount="%parent.0%"
REM REM Directory containing orginal image to be modified
set source="%parent.1%\sources"
REM Set the location and command to remove packages using dism.exe
set dism="%source%\dism.exe"
set rempacks=%dism% /image:%mount% /remove-package /packagename:
%rempacks%Microsoft-Hyper-V-Common-Drivers-Package%winsuffix%
%rempacks%Microsoft-Hyper-V-Guest-Integration-Drivers-Package%winsuffix%
%rempacks%Microsoft-Windows-Anytime-Upgrade-Results-Package%winsuffix%
%rempacks%Microsoft-Windows-Backup-Package%winsuffix%
%rempacks%Microsoft-Windows-BLB-Client-Package%winsuffix%
%rempacks%Microsoft-Windows-Branding-Ultimate-Client-Package%winsuffix%
%rempacks%Microsoft-Windows-BusinessScanning-Feature-Package%winsuffix%
%rempacks%Microsoft-Windows-Client-Wired-Network-Drivers-Package%winsuffix%
%rempacks%Microsoft-Windows-ClipsInTheLibrary-Package%winsuffix%
%rempacks%Microsoft-Windows-Editions-Client-Package%winsuffix%
%rempacks%Microsoft-Windows-Gadget-Platform-Package%winsuffix%
%rempacks%Microsoft-Windows-GPUPipeline-Package%winsuffix%
%rempacks%Microsoft-Windows-IE-Troubleshooters-Package%winsuffix%
%rempacks%Microsoft-Windows-Links-Package%winsuffix%
%rempacks%Microsoft-Windows-MobilePC-Client-Sensors-Package%winsuffix%
%rempacks%Microsoft-Windows-NetworkDiagnostics-DirectAccessEntry-Package%winsuffix%
%rempacks%Microsoft-Windows-OfflineFiles-Package%winsuffix%
%rempacks%Microsoft-Windows-OpticalMediaDisc-Package%winsuffix%
%rempacks%Microsoft-Windows-PeerDist-Client-Package%winsuffix%
%rempacks%Microsoft-Windows-RecDisc-SDP-Package%winsuffix%
rem %rempacks%Microsoft-Windows-Security-SPP-Component-SKU-Ultimate-Package%winsuffix%
rem %rempacks%Microsoft-Windows-ServicingBaseline-Ultimate-Package%winsuffix%
%rempacks%Microsoft-Windows-Shell-HomeGroup-Package%winsuffix%
%rempacks%Microsoft-Windows-Shell-MultiplayerInboxGames-Package%winsuffix%
%rempacks%Microsoft-Windows-SnippingTool-Package%winsuffix%
%rempacks%Microsoft-Windows-StickyNotes-Package%winsuffix%
%rempacks%Microsoft-Windows-TerminalServices-Publishing-WMIProvider-Package%winsuffix%
%rempacks%Microsoft-Windows-TerminalServices-RemoteApplications-Client-Package%winsuffix%
%rempacks%Microsoft-Windows-VirtualPC-Licensing-Package%winsuffix%
%rempacks%Microsoft-Windows-VirtualPC-USB-RPM-Package%winsuffix%
%rempacks%Microsoft-Windows-VirtualXP-Licensing-Package%winsuffix%
%rempacks%Microsoft-Windows-WinOcr-Package%winsuffix%
%rempacks%Microsoft-Windows-WindowsMediaPlayer-Troubleshooters-Package%winsuffix%
%rempacks%Microsoft-Windows-Xps-Foundation-Client-Package%winsuffix%
%rempacks%Networking-MPSSVC-Rules-UltimateEdition-Package%winsuffix%
:functionArray
if not %index%==3 (
set /a index=%index% + 1
set parent.%index%=%parent%)
>nul timeout /t 1
setupcfg.txt
Quote
F:\7elite32\source
F:\7elite32\wtools
5) SHIFT+right click on "F:\7elite32\batch\" and click "open command window here", type "mount" and press Enter. When "mount" is done, type "removal" and press Enter. No errors.
6) Uninstall WAIK 3.0, and restart the computer. Install WAIK 1.1 English Version (http://www.microsoft...ls.aspx?id=9085, "6001.18000.080118-1840-kb3aikl_en.iso"). Extract vLite 1.2 selfextracting archive (http://www.vlite.net/download.html) to "D:\Program Files\vLite\", and copy "C:\Program Files\Windows AIK\Tools\x86\wimgapi.dll" to "D:\Program Files\vLite\". Run vLite using "Last Session.ini" (Modified according to myselfidem's settings. Differences: myselfidem - French, I - Chinese).
I didn't install vLite 1.16 as myselfidem did (step 4). And I don't quite understand myselfidem's step 4: How can we run vLite before installing WAIK 1.1? Is it because myselfidem uses Windows Vista, and is it right that we do step 5 & 6 before step 4?
Last Session.ini
Quote
;
;#Environment:
; vLite v1.2
; Framework 2.0.50727.5420
; Microsoft Windows NT 6.1.7601 Service Pack 1 32-bit
;
;#Target:
; Windows 7 ULTIMATE 32-bit Service Pack 1
; Version 0.0.0.0 English (United States)
;
[Compatibility]
Internet Explorer
Internet Information Services (IIS)
Recommended
Scanners and Cameras
System Restore
Windows Update
[CustomHide]
[Components]
;# Accessories #
Accessibility
Welcome Center
;# Drivers #
TV Tuners-ADS Technologies
TV Tuners-ASUSTeK Computer Inc.
TV Tuners-AVerMedia Technologies, Inc.
TV Tuners-Compro Technology Inc.
TV Tuners-Creatix
TV Tuners-Hauppauge
TV Tuners-KNC ONE GmbH
TV Tuners-KWorld
TV Tuners-Lumanate, Inc.
TV Tuners-Philips Semiconductors
TV Tuners-Pinnacle Systems
TV Tuners-TerraTec Electronic GmbH
TV Tuners-VidzMedia Pte Ltd.
;# Languages #
Arabic
Brazillian
Bulgarian
Croatian
Czech
Danish
Dutch
Estonian
Finnish
French
German
Greek
Hebrew
Hungarian
Italian
Japanese
Korean
Latvian
Lithuanian
Norwegian
Polish
Portuguese
Romanian
Russian
Serbian
Slovak
Slovenian
Spanish
Swedish
Thai
Turkish
Ukrainian
;# Multimedia #
SideShow
;# System #
16-bit Support
Beep
Parental Controls
Tablet PC
Zip Folder
[Options]
DEP (Data Execution Prevention) = Default
User Account Control (UAC) = Disabled
AntiSpyware Realtime Protection = Default
Memory requirement = Default
AutoPlay = Enabled
Paging Executive = Enabled
Power scheme = Balanced
Power button = Default
Sleep button = Default
Control Panel - Classic View = Default
Show hidden files and folders = No
Show protected operating system files = No
Show extensions for known file types = Yes
IE Phishing Filter = Default
IE Phishing Verification Ballon Tips = Default
[Services]
[Protection]
windows\system32\browcli.dll
windows\system32\msdrm.dll
windows\system32\tbs.dll
windows\system32\wer.dll
windows\system32\winipsec.dll
windows\system32\wmdrmsdk.dll
[Drivers]
[Unattended]
[Hotfixes]
[LanguagePacks]
7) SHIFT+right click on "F:\7elite32\batch\" and click "open command window here", type "mount" and press Enter. When "mount" is done, type "cleanup" and press Enter. Then I got the error message.
What's the problem? Thank you!
This post has been edited by crazyfrog: 24 October 2011 - 02:39 AM



Help

Back to top













