WinPE 3.0
#1
Posted 07 August 2009 - 10:28 PM
My PC is currently running Windows 7 X86 US with the WAIK 3.0 and lots of Drive space for this project. I wish I could upload the entire project but the code
will have to do for now.
[codebox] [Main] Title=0 - Windows AIK Configuration Type=script Level=1 Description=Mounting WIM Files Selected=True Version=016 Contact= Date=8.7.2009 Locked=false Download_Level=0 Author=Morphs [Process] Echo, "Stand By Preparing System & Creating Directories" If,notExistDir,"%basedir%\Temp",DirMake,"%basedir%\Temp" If,notExistDir,"%basedir%\Custom",DirMake,"%basedir%\Custom" If,notExistDir,"%basedir%\Custom\WinPE3",DirMake,"%basedir%\Custom\WinPE3" If,notExistDir,%BootSRC%,DirMake,%BootSRC% If,notExistDir,%InstallSRC%,DirMake,%InstallSRC% If,notExistDir,%ISODir%,DirMake,"%ISODir%" If,NotExistDir,"%TargetDir%",DirMake,"%TargetDir%" run,%ScriptFile%,AutoDetectWimTool run,%ScriptFile%,Find-Win7 If,%Win7CD%,Equal,"OK",run,%ScriptFile%,MountWin7-DISM [Find-Win7] Echo,"Detecting Microsoft Windows Win7 DVD..." If,ExistFile,"%SourceDir%\sources\boot.wim",Set,%SDIR%,"%SourceDir%" If,ExistFile,"%SourceDir%\sources\boot.wim",Set,%Win7CD%,"OK" If,ExistFile,"%SourceDir%\sources\boot.wim",Echo,"Win7 DVD found [%SDIR%]" [AutoDetectWimTool] run,%ScriptFile%,AutoFindImagex [AutoFindImagex] Echo,"Detecting #$qDISM.exe#$q..." If,ExistFile,"%pFileBox1%\DISM.exe",Set,%DISM%,"%pFileBox1%\DISM.exe" If,ExistFile,"%pFileBox1%\DISM.exe",Set,%Mount%,"%Mount2%/Mount-Wim /WimFile:" If,ExistFile,"%pFileBox1%\DISM.exe",Echo,"WAIK 3.0 is Installed [%pFileBox1%]" If,EXISTDIR,"%pFileBox2%Tools\PETools\x86",Set,%WAIK%,"%pFileBox2%\Tools\PETools\x86" [MountWin7-DISM] Echo,"Mounting Windows Win7 files with DISM.exe..." ShellExecute,Open,%DISM%,"/mount-wim /WimFile:%SDIR%\sources\boot.wim %pScrollBox1% /MountDir:%BootSRC%" Echo,%ExitCode% ShellExecute,Open,%DISM%,"/mount-wim /WimFile:%SDIR%\sources\install.wim %pScrollBox2% /MountDir:%InstallSRC%" Echo,%ExitCode% FileCopy,"%WAIK%\bootmgr","%BootSRC%\BOOTMGR" FileCopy,"%WAIK%\BootSect.exe","%BootSRC%\BootSect.exe" DirCopy,"%WAIK%\Boot\*.*","%BootSRC%\Boot\" DirCopy,"%WAIK%\efi\*.*","%BootSRC%\efi\" [Interface] pFileBox1=C:\Windows\System32,1,13,6,59,202,30,dir pTextLabel1="Location of the DISM.EXE is Windows\system32.",1,1,207,62,391,25,8,Normal pTextLabel2="Preconfiguration script, detect WIM tool, source type and locale.",1,1,6,22,543,18,8,Bold pScrollBox1=/Index:2,1,4,7,148,86,21,/Index:1,/Index:2,/Index:3,/Index:4,/Index:5,6,7,8,9,10 pScrollBox2=/Index:5,1,4,6,178,88,21,/Index:1,/Index:2,/Index:3,/Index:4,/Index:5,/Index:6,/Index:7,8,9,10 pTextLabel3="boot.wim container",1,1,101,150,230,18,8,Normal pTextLabel4="install.wim container",1,1,102,177,230,18,8,Normal pTextLabel5="Imagex has many limitations Instead we are using DISM from the WAIK 3.0",1,1,8,259,315,112,12,Bold pFileBox2="C:\Program Files\Windows AIK\",1,13,6,97,202,30,dir pTextLabel6="WAIK 3.0 Location.",1,1,209,104,230,18,8,Normal [/codebox] I am also working on the Unmount Wim File but is not ready yet. I post this to give Ideas to some of you that
are having Issues with Imagex. When I complete this project I should be able to share the entire Project with
Everyone. I am not a pro at creating Scripts for Winbuilder, In fact I have spend many hours comparing Results
to be able to understand the process.
#2
Posted 07 August 2009 - 11:17 PM
FileCopy,"%WAIK%\bootmgr","%BootSRC%\BOOTMGR"
FileCopy,"%WAIK%\BootSect.exe","%BootSRC%\BootSect.exe"
DirCopy,"%WAIK%\Boot\*.*","%BootSRC%\Boot\"
DirCopy,"%WAIK%\efi\*.*","%BootSRC%\efi\"
if you mount the boot.wim into the folder %BootSRC% from the install DVD
and what is %BootSRC%?
sorry, maybe i am a little tried
but i cannot understand your script,
in which project should it use?
i mean do you plan to make your own project based on your guide found here?
Edited by dera, 08 August 2009 - 08:32 AM.
#3
Posted 08 August 2009 - 05:01 PM
Thas is not clear enough to me whart is the porpuse of these script lines:
FileCopy,"%WAIK%\bootmgr","%BootSRC%\BOOTMGR"
FileCopy,"%WAIK%\BootSect.exe","%BootSRC%\BootSect.exe"
DirCopy,"%WAIK%\Boot\*.*","%BootSRC%\Boot\"
DirCopy,"%WAIK%\efi\*.*","%BootSRC%\efi\"
if you mount the boot.wim into the folder %BootSRC% from the install DVD
and what is %BootSRC%?
sorry, maybe i am a little tried
but i cannot understand your script,
in which project should it use?
i mean do you plan to make your own project based on your guide found here?
Yes thats what I have In mind, I have done so much on my PE that it would be very hard for new people to make it happend.
About this lines
FileCopy,"%WAIK%\bootmgr","%BootSRC%\BOOTMGR"
FileCopy,"%WAIK%\BootSect.exe","%BootSRC%\BootSect.exe"
DirCopy,"%WAIK%\Boot\*.*","%BootSRC%\Boot\"
DirCopy,"%WAIK%\efi\*.*","%BootSRC%\efi\"
I need those to make my PE to boot using the Windows Deployment Server.
At work I have loaded the WinPE 3 and other utilities use for troubleshooting
and removing trojans for the Desktop support people.
I also had issues when I try to run the Script File Copy From the Win7PE Project, See http://www.boot-land...?showtopic=8488
[/code]
[FileCopyFull]
Echo,"Processing Full file copy...This will take several minutes, be patinent..."
run,%ScriptFile%,LanPack
If,"%DistLang%",NotEqual,"en-US",run,%ScriptFile%,LanPackUS
FileCopy,"%SDIR%\bootmgr","%TargetDir%\BOOTMGR"
DirCopy,"%SDIR%\boot\*.*","%TargetDir%\boot\"
DirCopy,"%BootWimSRC%\*.*","%TargetDir%\"
[/code]
It always fail to copy those file, Any way I change the File Copy script as well so Is a lot different now.
But my main point here is that we can use newer tools to Mount and UnMount WIM Files, and here is the
example. The people from the Win7PE Project got the right Idea, Let's make a new PE, But there Project
Won't work on WAIK 3.0 US, Windows 7 X86 US. Can you tell me How long those it takes for those that manage
to get the Win7PE Project to Extract the Install.WIM using ImageX, I really like to know so I can compare performance
with DISM.EXE
When I am done with this project Is going to work on all OS and Language using the WAIK 3.0
#4
Posted 09 August 2009 - 07:37 AM
i didn't make correct test
(and tried only in emulator using a GUEST OS as host)
but seems to me on Windows 7 host using dism.exe
install.wim get mounted much more slower
compared with imagex on XP host (using the files of WAIK 1.1 for Windows Vista SP1)
Edit:
on Windows7 host and KB3AIK_EN installed
imagex is exactly the same slow as the dism
(only tried to mount the install.wim image index 5 as read-only)
as wrote i tried only in emulator (VMware)
so on Windows 7 host this command (where D: is the CD-drive using ISO image file):
Dism.exe /Mount-Wim /WimFile:D:\sources\install.wim /index:5 /MountDir:C:\mount /ReadOnly
finish in 2min 07sec
Dism.exe /Unmount-Wim /MountDir:C:\mount /Discard
finish in about 1min
Edited by dera, 09 August 2009 - 03:41 PM.
#5
Posted 09 August 2009 - 04:20 PM
that is okI need those to make my PE to boot using the Windows Deployment Server.
which was not clear: why you want to copy the files from the WAIK folder into the mount folder
instead of copy the files directly from the install DVD into the %TargetDir%
(as you mount 'sources\boot.wim' and '\sources\install.wim' presumably from the install DVD)
p.s.
sorry, it is my fault, i was so tried when at first time read your script,
but as your whole project is not known to me yet
please forget this question
Edited by dera, 09 August 2009 - 04:37 PM.
#6
Posted 09 August 2009 - 05:23 PM
that is ok
which was not clear: why you want to copy the files from the WAIK folder into the mount folder
instead of copy the files directly from the install DVD into the %TargetDir%
(as you mount 'sources\boot.wim' and '\sources\install.wim' presumably from the install DVD)
p.s.
sorry, it is my fault, i was so tried when at first time read your script,
but as your whole project is not known to me yet
please forget this question
Yesterday I run across this project for Winbuilder is Called ShadowPE, Is a much cleaner code for creating Win7PE and has some good features
too. So Finally I was able to use ImageX to mount WIM files with the WAIK 3.0. I did some minor adjustment on the script to be able to get it to work properly
but they were not hard to correct at all. I decided to work on there project instead rather than build a new one. There site is at
http://shadowproj.net/
You can add to this project by adding to winbuilder this link shadowproj.net/Projects
This project is fairly new and might have many bugs so be ready,
#7
Posted 31 August 2009 - 02:42 AM
im need winpe3.0.cab !! plz help me to find link download . (Only winpe3.0.cab)
#8
Posted 31 August 2009 - 07:53 AM
hi guys .
im need winpe3.0.cab !! plz help me to find link download . (Only winpe3.0.cab)
See attachment.
jaclaz
Attached Files
#9
Posted 31 August 2009 - 08:12 AM
See attachment.
Joshua
#10
Posted 31 August 2009 - 08:27 AM
![]()
![]()
![]()
Joshua
jaclaz
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users









