Где на загрузочном USB-накопителе Windows PE следует размещать пользовательские исполняемые файлы?

358
peterboston

Я сделал загрузочную флешку с версией Windows PE, соответствующей Windows 7. Теперь я хочу добавить исполняемый файл на флешку, чтобы я мог запустить его вручную в среде PE. Где (по какому пути) я должен положить его на диск? Должно ли оно на самом деле входить в носитель / образ PE?

0

1 ответ на вопрос

0
Ben N

If the program won't ever need to be changed from within the PE environment, you might as well put it inside the Windows image (the mount folder if you're following the TechNet tutorial; all that stuff gets jammed into media\sources\boot.wim). That way, it will appear to be on the system drive and, like all the other stuff there, not persist across reboots. It doesn't really matter where you put the executable in there. I've seen people create subfolders in the Windows directory to hold third-party apps.

Usually, the Windows environment the flash drive boots to assigns a letter to the actual flash drive. If you need to modify the executable in the PE environment or put things next to it, you'll want to put the program on the drive after you get the PE stuff onto it.