ArchiverBuildSfx(IEnumerableString, String, SevenZipSharpSfxModule) Method

Builds a self-extracting archive (SFX) containing the source file or directory using the default compression parameters.

Definition

Namespace: DevCase.ThirdParty.SevenZipSharp
Assembly: DevCase.net48.ThirdParty.SevenZipsharp (in DevCase.net48.ThirdParty.SevenZipsharp.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual string BuildSfx(
	IEnumerable<string> sourceFileOrDirs,
	string outputFilepath,
	SevenZipSharpSfxModule sfxModule
)

Parameters

sourceFileOrDirs  IEnumerableString
The source files or diretories to compress.
outputFilepath  String
The path of the output file to create.
sfxModule  SevenZipSharpSfxModule
The SFX module type.

Return Value

String
The full path of the resulting self-extracting archive.

Remarks

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

Squid-Box.SevenZipSharp

Exceptions

FileNotFoundException Source file or directory not found.

See Also