Integrace LP do instalace
Nakonec jsem na webu našel ruční postup, který jsem vyzkoušel a úspěšně vytvořil vlastní instalaci.
Zde celý návod v mé úpravě zveřejňuji.
Samozřejmě je nutné upravit cestu k adresáři, podle toho na jakém disku ho máte :).
1) Co je potřeba?
Především sada utilit - http://bordel.kecinzer.cz/7work.zip
Pokud nejste ve Windows 7 je třeba stáhnout nástroj DISM - http://rapidshare.com/files/262852013/DISM.7z.
2) Příprava
Vytvoření adresářů:
D:\7work
dvd
lp
- setup
- sources
- WinPE
- lp.cab
wim
Obsah archivu 7work.zip je třeba rozbalit do kořene adresáře D:\7work.
Do dvd nakopírovat celý obsah potřebného ISA.
Do lp dát lp.cab s jazykem a vyextrahovat z něho adresáře setup a soruces.
Dále také složku se svým jazykem z archivů
http://rapidshare.com/files/262973489/x86_WinPELPs.zip
http://rapidshare.com/files/262973649/x64_WinPELPs.zip
A přejmenovat na WinPE - pokud chcete lokalizovat i bootování instalace.
3) Montování install.wim
Spustit příkazový řádek jako správce, navigovat do adresáře D:\7work a psát příkazy:
Kód:
dism /Mount-Wim /WimFile:D:\7work\dvd\sources\install.wim /index:4 /MountDir:D:\7work\wim
Index pro 32bit Windowsy 1 - 5 pro 64bit jen 1 - 4 - určuje verzi systému
pro 32bit > 1=Starter 2=HomeBasic 3=HomePremium 4=Professional 5=Ultimate
pro 64bit > 1=HomeBasic 2=HomePremium 3=Professional 4=Ultimate
4) Přidání balíčků
Připojí zvolený jazyk.
Kód:
dism /Image:D:\7work\wim /Add-Package /PackagePath:D:\7work\lp\lp.cab
5) Nastavení jazyka
Nastaví jazyk jako výchozí náš jazyk.
Kód:
dism /image:D:\7work\wim /Set-SKUIntlDefaults:cs-CZ /Gen-LangINI /Set-SetupUILang:cs-CZ /distribution:D:\7work\dvd
6) Odmontování install.wim
Uloží se změny do instalace.
Kód:
dism /Unmount-Wim /MountDir:D:\7work\wim /commit
Tento celý postup je potřeba udělat pro všechny verze zvlášť změnou indexu od kroku 3.
Nastavení volby verze při instalaci: D:\7work\dvd\sources ei.cfg upravit
Kód:
[EditionID]
[Channel]
OEM
[VL]
0
Optimalizace velikosti souboru .wim
Kód:
imagex /export /check /compress maximum D:\7work\dvd\sources\install.wim * D:\7work\newinstall.wim
copy /V /Y D:\7work\newinstall.wim D:\7work\dvd\sources\install.wim
erase /F /Q D:\7work\newinstall.wim
Instalace ve vlastním jazyce:
Kód:
xcopy D:\7work\lp\setup\sources\* D:\7work\dvd\sources\ /cheriky
xcopy D:\7work\lp\sources\license\* D:\7work\dvd\sources\license\ /cheriky
Krok 7 přeskakuji - obsahoval dodatečné aktualizace a ovladače.
8) Zkopírování potřebných souborů pro český instalátor
Kód:
xcopy D:\7work\lp\setup\sources\* D:\7work\dvd\sources\ /cheriky
xcopy D:\7work\lp\sources\license\* D:\7work\dvd\sources\license\ /cheriky
9) Montování boot.wim
Kód:
dism /Mount-Wim /WimFile:D:\7work\dvd\sources\boot.wim /index:2 /MountDir:D:\7work\wim
index: 1 - pro konzoli, 2 - pro instalaci (první doporučuji začít s indexem 2)
10) Přidání bootovacího jazyka
Kód:
dism /image:D:\7work\wim /Add-Package /PackagePath:D:\7work\lp\WinPE
11) Odmontování boot.wim
Kód:
dism /Unmount-Wim /MountDir:D:\7work\wim /commit
Pozor! Před odmontování s /index:1 je nutné
zkopírovat následující soubory:
Kód:
xcopy D:\7work\wim\Windows\Boot\DVD\PCAT\cs-CZ\bootfix.bin D:\7work\dvd\boot\ /cheriky
xcopy D:\7work\wim\Windows\boot\PCAT\memtest.exe D:\7work\dvd\boot\ /cheriky
xcopy D:\7work\wim\Windows\boot\PCAT\cs-CZ\* D:\7work\dvd\boot\en-US\ /cheriky
xcopy D:\7work\wim\Windows\boot\PCAT\cs-CZ\* D:\7work\dvd\boot\cs-CZ\ /cheriky
12) Vytvoření ISO image
Kód:
oscdimg -h -u2 -m -bD:\7work\dvd\boot\etfsboot.com -lWin7DVD D:\7work\dvd D:\7work\Windows7.iso
Re: Integrace LP do instalace
oprav si mezi bodem 6 a 7 "pismenka" disku z F: na D:
jinak uz to zkousim... mel jsem to v anglictine a nejak jsem se nemel k tomu podle toho navodu to delat, ty to mas pekne rozdelene, prikazy odlisene od textu, takze do toho jdu. jinak cely proces se da shrnout do 2-3 bat souboru (1. cast odlisit pro 32bit a 64bit + 2. cast po editaci ei.cfg)
edit:
jeste dotaz - vcera jsem zkousel odladovat BAT soubory pro "automaticky" prubeh teto integrace a prisel jsem na nemilou vec... nemohu vymazat slozku WIM, jen ji mohu prejmenovat. Nelze ji vymazat ani po restartu W7 a uzasna utilita UNLOCKER nefunguje pod x64 :-/
Re: Integrace LP do instalace
Díky za opravdu.
No já jsem na to našel taky něco automatického, ale nic z toho mi nefungovalo, proto jsem se jal dělat vše ručně a povedlo se.
Co s tím WIM netuším :(
Re: Integrace LP do instalace
Citace:
Původně odeslal
kecinzer
Díky za opravdu.
[OT]Opravdu dík za opravu.[/OT]
Fakt mi to nedalo... :mweheh:
Re: Integrace LP do instalace
Citace:
Původně odeslal
jimmy
edit:
jeste dotaz - vcera jsem zkousel odladovat BAT soubory pro "automaticky" prubeh teto integrace a prisel jsem na nemilou vec... nemohu vymazat slozku WIM, jen ji mohu prejmenovat. Nelze ji vymazat ani po restartu W7 a uzasna utilita UNLOCKER nefunguje pod x64 :-/
takze odpovim si sam... jelikoz jsem proces vzdy prerusil z duvodu ladeni BAT fajlu, nedoslo k odpojeni WIM slozky...
takze staci spustit
Kód:
dism /Unmount-Wim /MountDir:d:\7work\wim /discard
a pak uz smazat jde ;)
Re: Integrace LP do instalace
omlouvam se za extra post, nicmene je dobre od sebe oddelit odlisne veci...
v bodu 10 po prikaze
Kód:
dism /image:D:\7work\wim /Add-Package /PackagePath:D:\7work\lp\WinPE
se objevi chyba
Kód:
Chyba: 0x800f081e
The specified package is not applicable to this image.
The specified package is not applicable to this image.
The specified package is not applicable to this image.
The specified package is not applicable to this image.
The specified package is not applicable to this image.
The specified package is not applicable to this image.
The specified package is not applicable to this image.
The command completed with errors.
For more information, refer to the log file.
Soubor protokolu nástroje Obsluha a správa bitových kopií se nachází v C:\Window
s\Logs\DISM\dism.log.
dle tohoto postu je to v poradku a neni treba panikarit
Kód:
http://forums.mydigitallife.info/showpost.php?p=106290&postcount=312
Re: Integrace LP do instalace
Re: Integrace LP do instalace
Stejně by mě zajímal ten rozdíl, jestli je tam něco navíc, nebo jak to prostě je.
Re: Integrace LP do instalace
Zanedlouho to budeš moci porovnat sám... ;)