BannerText Property

Optional banner text to show before the self-extraction starts.

Syntax

ANSI (Cross Platform)
char* GetBannerText();
int SetBannerText(const char* lpszBannerText); Unicode (Windows) LPWSTR GetBannerText();
INT SetBannerText(LPCWSTR lpszBannerText);
@property (nonatomic,readwrite,assign,getter=bannerText,setter=setBannerText:) NSString* bannerText;
- (NSString*)bannerText;
- (void)setBannerText:(NSString*)newBannerText;
#define PID_ZIPSFX_BANNERTEXT 2

IPWORKSZIP_EXTERNAL void* IPWORKSZIP_CALL IPWorksZip_ZipSFX_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_ZipSFX_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

If this property is set, a dialog box will pop up displaying the contents of this property as soon as the SFX executable is run. If this property is set to an empty string (default) no banner dialog will be displayed.

Example (Creating a Self-Extracting Archive)


class.ArchiveFile = "c:\test.exe"
class.RecurseSubdirectories = true
class.SourceDirectory = "c:\foo\"
class.CaptionText = "Testing ZipSFX"
class.BannerText = "Press continue to decompress the archive."
class.CreateSFX()

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 C++ Edition - Version 20.0 [Build 8300]