Skip to content

Instantly share code, notes, and snippets.

@OSDeploy
Created December 19, 2018 04:20
Show Gist options
  • Save OSDeploy/98a1a903d5e770c8b63d08994e4e0900 to your computer and use it in GitHub Desktop.
Save OSDeploy/98a1a903d5e770c8b63d08994e4e0900 to your computer and use it in GitHub Desktop.
Adds WPF Dlls to WinPE
;===============================================================
; David Segura
; https://www.osdeploy.com
; WinPE WPF Dlls.inf
; ================== Purpose ===================================
; Restores WPF Functionality in WinPE 10 1809
; ================== Requires ==================================
; Win32\BPC47Langs.dll, Win32\BPC47mm.dll
; Win64\BPC47Langs.dll, Win64\BPC47mm.dll
; ================== Compatibility =============================
; WinPE 10 x86/x64
; ================== Version ===================================
[Version]
Signature = "$WINDOWS NT$"
Class = System
ClassGuid = {4D36E97d-E325-11CE-BFC1-08002BE10318}
Provider = OSDeploy
DriverVer = 12/18/2018,2018.12.18.0
; ================== Manufacturer and Models ===================
[Manufacturer]
%Manufacturer% = WinPE, NTx86, NTamd64
[WinPE.NTx86]
%Manufacturer% = Install.NTx86, DUMMY\WinPE
[WinPE.NTamd64]
%Manufacturer% = Install.NTamd64, DUMMY\WinPE
; ================== Source Disks ==============================
[SourceDisksNames]
1 = %SourceDisksNames%
[SourceDisksFiles.x86]
BPC47Langs.dll = 1,\Win32
BPC47mm.dll = 1,\Win32
[SourceDisksFiles.amd64]
BPC47Langs.dll = 1,\Win64
BPC47mm.dll = 1,\Win64
; ================== Destination Directory ===============================
[DestinationDirs]
PESystem32 = 11 ;\Windows\System32
; ================== Installation ========================================
[Install.NTx86]
CopyFiles = PESystem32
[Install.NTamd64]
CopyFiles = PESystem32
; ================== Copy Files ==========================================
[PESystem32]
BPC47Langs.dll
BPC47mm.dll
; ================== Strings ===================================
[Strings]
Provider = "WinPE WPF Dlls"
Manufacturer = "WinPE"
SourceDisksNames = "Current Directory"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment