Xceed Zip Compression Library Documentation
SfxRegistryKeys property
Self-Extractor Module reference > Self-Extractor Module properties > SfxRegistryKeys property

Description

This property allows you to instruct the self-extracting zip file to add or change key values in the system registry. To specify a registry key to create, set this property to a string with the following format: "key" + "|" + "valuename" +"|" + "value".

You can specify multiple registry keys by separating the "regkey|regvalue|value" string specification by a CR and/or LF character. Use the SfxAddRegistryKey method for easier, cleaner code.

Macros can be used.

The total length of the values of the SfxExecuteAfter, SfxFilesToCopy, SfxFilesToRegister and SfxRegistryKeys properties cannot exceed 2000 characters.

Data type

String

Default value

Empty

Declaration (DLL API)  

UINT XzGetSfxRegistryKeys(HXCEEDZIP hZip, TCHAR* pwszBuffer, UINT uMaxLength);

void XzSetSfxRegistryKeys(HXCEEDZIP hZip, const TCHAR* pwszValue);

Browsable

Yes

Applicable methods

Zip, Convert