Technically you could, but it requires a high level of Windows expertise. What functions does the WinPE Setup perform?
1. Boots and recognizes HW devices
2. Formats & preps the individual partitions (EFI, MSR, Windows, Recovery)
3. Extracts the install.wim to the Windows volume
4. Updates bcdstore with the new boot option
5. Reboots into the extracted Windows image, to continue installation
Let's consider the deployment steps:
1. You already know the target PC's driver set, so they can be integrated in install.wim. There's no need for a boot.wim, since we're installing from a live host.
2. Run diskpart with a command file, which wipes the disk and creates the normal partitions.
diskpart /s commands.txt
Code:
select disk 6
clean
convert gpt
create partition efi size=100
format quick fs=fat32
assign letter=S
create partition msr size=16
create partition primary
shrink minimum=700
format quick fs=ntfs
assign letter=W
create partition primary
format quick fs=ntfs
assign letter=R
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001
Target volumes are S:\ = System Reserved, W:\ = Windows, R:\ = Recovery partition
3. Use DISM to extract install.wim to the target volume.
Code:
dism /Apply-Image /ImageFile:C:\path\to\install.wim /Index:1 /ApplyDir:W:\
Enable the Recovery partition. Copy EFI files from the install image, or your PC's current boot drive.
Code:
mkdir R:\Recovery\WindowsRE
xcopy /h W:\Windows\System32\Recovery\Winre.wim R:\Recovery\WindowsRE\
W:\Windows\System32\Reagentc /Setreimage /Path R:\Recovery\WindowsRE /Target W:\Windows
W:\Windows\System32\Reagentc /Info /Target W:\Windows
W:\Windows\System32\bcdboot W:\Windows /s S: /f ALL
4. For bcdstore, follow the usual commands for setting up a dual-boot.
5. You still need to reboot into the new Windows to finish OOBE and other provisioning tasks.
Now can you do this without scripting, or a long list of manual commands? No, because Setup assumes you're doing a clean install or upgrading an existing system drive. There's no concept of installing to a different hosted drive, because the install expects to immediately reboot into the new image as soon as Setup has finished prepping.
I'm sure someone in the IT community has written a set of scripts to perform this task, but it's not something NTLite can automate.
Capture and apply Windows using a single WIM file
learn.microsoft.com