PackFileSet Method (sourceDirectory, fileNames)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation PackFileSet Method (sourceDirectory, fileNames)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionArchiveInfoPackFileSet(String, IDictionary<(Of <<'(String, String>)>>))
Compresses files into the archive, specifying the names used to store the files in the archive.
Declaration Syntax
C# Visual Basic Visual C++
public void PackFileSet(
	string sourceDirectory,
	IDictionary<string, string> fileNames
)
Public Sub PackFileSet ( 
	sourceDirectory As String,
	fileNames As IDictionary(Of String, String)
)
public:
void PackFileSet(
	String^ sourceDirectory, 
	IDictionary<String^, String^>^ fileNames
)
Parameters
sourceDirectory (String)
This parameter may be null, but if specified it is the root directory for any relative paths in fileNames.
fileNames (IDictionary<(Of <(<'String, String>)>)>)
A mapping from internal file paths to external file paths.
Remarks
Uses maximum compression level.

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