Updating images
After the image has been mounted, the most frequent image servicing tasks are usually updating software and adding device drivers. DISM only supports device drivers that are made up of .inf files. Drivers in executable (.exe) files and Microsoft Windows Installer files (.msi) are not supported. When specified, the /Add-Driver switch needs the location information of the driver's information (.inf) file and adds the driver to the image. The /Recurse switch adds all the drivers that are found in a specified folder. The following command adds all drivers in the c:\drivers folder to the image that's mounted in the c:\mountedimage folder:
DISM.exe /image:c:\mountedimage /Add-Driver /driver:c:\drivers\ /recurse
If you prefer PowerShell, the equivalent command is as follows:
Add-WindowsDriver -Path c:\mountedimage -Driver c:\drivers -Recurse
推薦閱讀
- Clojure Data Analysis Cookbook
- Dreamweaver CS3+Flash CS3+Fireworks CS3創(chuàng)意網(wǎng)站構(gòu)建實(shí)例詳解
- Linux Mint System Administrator’s Beginner's Guide
- IoT Penetration Testing Cookbook
- 人工智能工程化:應(yīng)用落地與中臺(tái)構(gòu)建
- AutoCAD 2012中文版繪圖設(shè)計(jì)高手速成
- 自動(dòng)控制理論(非自動(dòng)化專業(yè))
- Enterprise PowerShell Scripting Bootcamp
- RedHat Linux用戶基礎(chǔ)
- 軟件工程及實(shí)踐
- Flink原理與實(shí)踐
- 21天學(xué)通Linux嵌入式開發(fā)
- 機(jī)床電氣控制與PLC
- 智能制造系統(tǒng)及關(guān)鍵使能技術(shù)
- 中老年人學(xué)電腦與上網(wǎng)