UnpackFile Method (fileName, destFileName)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation UnpackFile Method (fileName, destFileName)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionArchiveInfoUnpackFile(String, String)
Extracts a single file from the archive.
Declaration Syntax
C# Visual Basic Visual C++
public void UnpackFile(
	string fileName,
	string destFileName
)
Public Sub UnpackFile ( 
	fileName As String,
	destFileName As String
)
public:
void UnpackFile(
	String^ fileName, 
	String^ destFileName
)
Parameters
fileName (String)
The name of the file in the archive. Also includes the internal path of the file, if any. File name matching is case-insensitive.
destFileName (String)
The path where the file is to be extracted on disk.
Remarks
If destFileName already exists, it will be overwritten.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)