I understand now that I am not clear.
In the topic http://reboot.pro/to...-a-description/
there is a .7z file that contains various elements that I think are useful.
The file "3-WinpeFlat-Vhd-use-case-en.txt" describes, among other things, the details of the "Chinese" method.
not to introduce ambiguities yet, I note here the correct sequence:
1- boot on a VHD-WinpeFlat
no matter the builder used to build this WINpe FLAT in a VHD
2- install VirtualBox 6.1.16
in my winpe built with my builder : it's OK without error
3- create a vm if you want for the test
4- save this two files
x:\windows\system32\config\system
x:\windows\system32\config\software
you can use :
Reg save hklm\system x:\windows\system32\config\system.saved
Reg save hklm\system x:\windows\system32\config\software.saved
5- modify x:\windows\system32\config\system.saved
The 3 basic mofications to do in ...\config\system.
\system\setup\setuptype = 1
\system\setup\systemSetupInProgress = 1
delete or rename \system\mountedDevice (------> this if you change of computer !)
you can use ( if i don't write error because i write "in the fly" ):
reg load HKU\system-saved x:\windows\system32\config\system.saved
reg add HKU\system-saved\setup /v SetupType /d 1 /f
reg add HKU\system-saved\setup /v SystemSetupInProgress /d 1 /f
reg delete HKU\system-saved\setup\mountedDevice
reg unload HKU\system-saved
6- Stop Winpe properly
You don't have to restart on the first winpe because you will lose the result of the installation
7- Restart using another image of a winpe.
8- step "copy new files" : warning
So, in this second winpe :
- mount the vhd of the first winpe
- go to the config directory in this first winpe : I don't know if I'm understandable
- replace system by system.saved and software by software.saved
- You can also save the original files before the copy
you can use :
copy <the letter for the VHD mounted>\windows\system32\config\system.saved <the letter for the VHD mounted>\windows\system32\config\system
copy <the letter for the VHD mounted>\windows\system32\config\software.saved <the letter for the VHD mounted>\windows\system32\config\software
9- unmount the VHD
10- boot on the first Winpe VHD (on the same computer for the first test)
If i don't make error in the sequence, and if you don't make error, you retrieve your virtualbox installed (and your VM in you create one)
I'm sure if i make error, you can correct.
because i was sure that all technicien know this method, i didn't write details here before.
I hope i don't make error.
If someone tests this, i beg his pardon if he is meeting some error. But before he beats me with a stick it would be possible to discuss.
ps : discussing the method was the goal I was pursuing