[SOLVED] OS deployment + post-install script

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Eyji
Messages: 13
Registration: February 15, 2022 - 09:32

September 5, 2022 - 11:50

Yes, perfect, thank you. I did need to add the line for the update at the beginning.
One last question: have you ever encountered this issue? I can't seem to deploy it on PCs with a USB-C dock.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

September 5, 2022 - 4:59 PM

Hello,

the USB-C drivers are probably missing from the WinPE image,

depending on the error you're getting.
Eyji
Messages: 13
Registration: February 15, 2022 - 09:32

September 6, 2022 - 4:09 PM

Hello,
yes, the USB-C drivers are missing from the WinPE image. How can I integrate the missing drivers as .exe files into the WinPE image?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

September 8, 2022 - 4:12 PM

copy the file

Code: Select all

C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim 
towards

Code: Select all

c:\waptdev\winpe.wim
then add the drivers to the WIM file:

Code: Select all

Dism /Mount-Image /ImageFile:"c:\waptdev\winpe.wim" /index:1 /MountDir:"C:\mountpe"
Dism /Add-Driver /Image:"C:\mountpe" /Driver:"C:\SampleDriver\driver.inf"
Dism /Unmount-Image /MountDir:"C:\mountpe" /commit
Dism /Export-Image /SourceImageFile:c:\waptdev\winpe.wim /SourceIndex:1 /DestinationImageFile:c:\waptdev\winpe_cleaned.wim
then copy

Code: Select all

c:\waptdev\winpe_cleaned.wim
towards

Code: Select all

C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim
You can now regenerate the winpe from the wapt console
Eyji
Messages: 13
Registration: February 15, 2022 - 09:32

September 9, 2022 - 11:50

Hello,
thank you for your help, everything is working now.
You can close the ticket as resolved.
Locked