Last active
February 8, 2023 03:37
-
-
Save royharoush/761ae4e2b60e9ef7528bedc273092c52 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#drivers http://www.gc14.com/hcon/downloads/USB-IntelAndGenericDrivers.rar | |
#the sources folder in windows installation contains a bad copy of dism, so we need to ponit directly at the windows 7 dism version. | |
mkdir c:\temp\mount1 | |
cd d:\sources\ | |
C:\Windows\SysWOW64\Dism.exe /mount-wim /wimfile:boot.wim /index:2 /mountdir:c:\temp\mount1 | |
cd d:\sources\drivers | |
C:\Windows\SysWOW64\Dism.exe /image:c:\temp\mount1 /Add-Driver /driver:d:\sources\drivers /recurse | |
C:\Windows\SysWOW64\Dism.exe /unmount-wim /mountdir:c:\temp\mount1\ /commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment