Class SharpSevenZipSfx
The class for making 7-zip based self-extracting archives.
Inherited Members
Namespace: SharpSevenZip
Assembly: SharpSevenZip.dll
Syntax
public class SharpSevenZipSfx
Constructors
| Edit this page View SourceSharpSevenZipSfx()
Initializes a new instance of the SharpSevenZipSfx class.
Declaration
public SharpSevenZipSfx()
SharpSevenZipSfx(SfxModule)
Initializes a new instance of the SharpSevenZipSfx class.
Declaration
public SharpSevenZipSfx(SfxModule module)
Parameters
Type | Name | Description |
---|---|---|
SfxModule | module | The sfx module to use as a front-end. |
SharpSevenZipSfx(string)
Initializes a new instance of the SharpSevenZipSfx class.
Declaration
public SharpSevenZipSfx(string moduleFileName)
Parameters
Type | Name | Description |
---|---|---|
string | moduleFileName |
Properties
| Edit this page View SourceModuleFileName
Gets or sets the custom sfx module file name
Declaration
public string? ModuleFileName { get; set; }
Property Value
Type | Description |
---|---|
string |
SfxModule
Gets the sfx module type.
Declaration
public SfxModule SfxModule { get; }
Property Value
Type | Description |
---|---|
SfxModule |
Methods
| Edit this page View SourceMakeSfx(Stream, Dictionary<string, string>, Stream)
Makes the self-extracting archive.
Declaration
public void MakeSfx(Stream archive, Dictionary<string, string> settings, Stream sfxStream)
Parameters
Type | Name | Description |
---|---|---|
Stream | archive | The archive stream. |
Dictionary<string, string> | settings | The sfx settings. |
Stream | sfxStream | The stream to write the self-extracting executable to. |
MakeSfx(Stream, Dictionary<string, string>, string)
Makes the self-extracting archive.
Declaration
public void MakeSfx(Stream archive, Dictionary<string, string> settings, string sfxFileName)
Parameters
Type | Name | Description |
---|---|---|
Stream | archive | The archive stream. |
Dictionary<string, string> | settings | The sfx settings. |
string | sfxFileName | The name of the self-extracting executable. |
MakeSfx(Stream, Stream)
Makes the self-extracting archive.
Declaration
public void MakeSfx(Stream archive, Stream sfxStream)
Parameters
Type | Name | Description |
---|---|---|
Stream | archive | The archive stream. |
Stream | sfxStream | The stream to write the self-extracting executable to. |
MakeSfx(Stream, string)
Makes the self-extracting archive.
Declaration
public void MakeSfx(Stream archive, string sfxFileName)
Parameters
Type | Name | Description |
---|---|---|
Stream | archive | The archive stream. |
string | sfxFileName | The name of the self-extracting executable. |
MakeSfx(string, Dictionary<string, string>, Stream)
Makes the self-extracting archive.
Declaration
public void MakeSfx(string archiveFileName, Dictionary<string, string> settings, Stream sfxStream)
Parameters
Type | Name | Description |
---|---|---|
string | archiveFileName | The archive file name. |
Dictionary<string, string> | settings | The sfx settings. |
Stream | sfxStream | The stream to write the self-extracting executable to. |
MakeSfx(string, Dictionary<string, string>, string)
Makes the self-extracting archive.
Declaration
public void MakeSfx(string archiveFileName, Dictionary<string, string> settings, string sfxFileName)
Parameters
Type | Name | Description |
---|---|---|
string | archiveFileName | The archive file name. |
Dictionary<string, string> | settings | The sfx settings. |
string | sfxFileName | The name of the self-extracting executable. |
MakeSfx(string, Stream)
Makes the self-extracting archive.
Declaration
public void MakeSfx(string archiveFileName, Stream sfxStream)
Parameters
Type | Name | Description |
---|---|---|
string | archiveFileName | The archive file name. |
Stream | sfxStream | The stream to write the self-extracting executable to. |
MakeSfx(string, string)
Makes the self-extracting archive.
Declaration
public void MakeSfx(string archiveFileName, string sfxFileName)
Parameters
Type | Name | Description |
---|---|---|
string | archiveFileName | The archive file name. |
string | sfxFileName | The name of the self-extracting executable. |