SelfExtractorOptions Class |
Namespace: Aspose.Zip.Saving
The SelfExtractorOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | SelfExtractorOptions | Initializes a new instance of the SelfExtractorOptions class |
Name | Description | |
---|---|---|
![]() | CloseWindowOnExtraction |
Gets or sets a value indicating whether extractor window must be closed upon extraction or not.
|
![]() | ExtractorTitle |
Gets or sets the title of extractor's window.
|
![]() | TitleIcon |
Gets or sets path to title icon for main windows of extractor application.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
using (FileStream zipFile = File.Open("archive.exe", FileMode.Create)) { using (var archive = new Archive()) { archive.CreateEntry("entry.bin", "data.bin"); var sfxOptions = new SelfExtractorOptions() { ExtractorTitle = "Extractor", CloseWindowOnExtraction = true, TitleIcon = "C:\pictorgam.ico" }; archive.Save(zipFile, new ArchiveSaveOptions() { SelfExtractorOptions = sfxOptions }); } }