From: Michael Brown Date: Wed, 17 Sep 2014 01:26:35 +0000 (+0100) Subject: Mark xennet.sys as boot-critical to simplify offline installation X-Git-Tag: 8.1.0-rc1~33 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=cebd922f5ca38edf4856836ebbaaedafe130b988;p=pvdrivers%2Fwin%2Fxennet.git Mark xennet.sys as boot-critical to simplify offline installation Explicitly mark the xennet driver as boot-critical using the "BootCritical=1" directive. This causes dism.exe to reflect the driver when performing an offline installation, thereby making it available on the next boot (which may be an iSCSI boot, requiring a functioning network). This avoids the need to hack the registry to manually install the driver (by creating the HKLM\CurrentControlSet\Services\xennet key and corresponding entries in the CriticalDeviceDatabase). Signed-off-by: Michael Brown --- diff --git a/src/xennet.inf b/src/xennet.inf index 8831784..d99ffed 100644 --- a/src/xennet.inf +++ b/src/xennet.inf @@ -35,6 +35,7 @@ ClassGUID={4d36e972-e325-11ce-bfc1-08002be10318} Provider=%Company% CatalogFile=xennet.cat DriverVer=01/01/1900,0.0.0.0 +BootCritical=1 [DestinationDirs] DefaultDestDir=12