Class SelfExtractorOptions

Class SelfExtractorOptions

Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)

자기 추출 실행 파일 아카이브 생성을 위한 옵션입니다.

public class SelfExtractorOptions

상속

objectSelfExtractorOptions

상속된 멤버

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

예제

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 = "추출기", CloseWindowOnExtraction = true, TitleIcon = "C:\pictorgam.ico" };
        archive.Save(zipFile, new ArchiveSaveOptions() { SelfExtractorOptions = sfxOptions });
    }
}

생성자

SelfExtractorOptions()

public SelfExtractorOptions()

속성

CloseWindowOnExtraction

추출 후 추출기 창을 닫아야 하는지를 나타내는 값을 가져오거나 설정합니다.

public bool CloseWindowOnExtraction { get; set; }

속성 값

bool

ExtractorTitle

추출기 창의 제목을 가져오거나 설정합니다.

public string ExtractorTitle { get; set; }

속성 값

string

RunAfterExtraction

아카이브 추출이 완료된 후 실행될 프로그램을 가져오거나 설정합니다.

public string RunAfterExtraction { get; set; }

속성 값

string

TitleIcon

추출기 애플리케이션의 주요 창에 대한 제목 아이콘의 경로를 가져오거나 설정합니다.

public string TitleIcon { get; set; }

속성 값

string

 한국어