UtilDismCopyDriverPackageToDisk(DismDriverPackage, DirectoryInfo, FuncDismDriverPackage, String, Boolean) Method

Copies the files of the source driver package to the specified directory path.

Definition

Namespace: DevCase.ThirdParty.Dism
Assembly: DevCase.net48.ThirdParty.Dism (in DevCase.net48.ThirdParty.Dism.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void CopyDriverPackageToDisk(
	DismDriverPackage driverPackage,
	DirectoryInfo destinationDir,
	Func<DismDriverPackage, string> subDirectoryName,
	bool overwrite
)

Parameters

driverPackage  DismDriverPackage
A DismDriverPackage object that represents the driver files to copy.
destinationDir  DirectoryInfo
The destination directory where to copy the driver files.
subDirectoryName  FuncDismDriverPackage, String
Creates a custom subdirectory in the destination directory with the specified folder name based on the DismDriverPackage object properties.

This value can be , in which case the directory name of OriginalFileName property is used as the name for the subdirectory. (E.g: "{DESTINATION_DIRECTORY}\ipsfullhd.inf_amd64_ce187df9e604b5d6\" )

overwrite  Boolean
A value indicating whether to overwrite any existing files in the destination directory.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

Microsoft.Dism by jeffkl

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also