SDA Configuration
The class accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the class, access to these internal properties is provided through the Config method.
SDA Configuration Settings
CompleteMessage: Message to notify user that extraction has finished normally. When the self-decrypting executable created by this class successfully finishes extracting the files contained within itself, it may optionally display a Message Box indicating that it's finished. By default, the message "Extraction Complete." is displayed. You may change this to your own custom message. However, any message longer than 400 characters will be truncated. To disable this message, set the CompleteMessage configuration setting to "" (empty string). | |||||||||
ExtractorStub: Path to optional self-extractor executable stub.
Normally the class loads a self-extractor stub from an internal resource
and uses it to create the self-decrypting executable.
If a path is specified in this setting, the file indicated by that path is used instead. This setting allows you to specify a custom self-extractor. The compiled self-extractor stub is available on demand. Resources such as icons and text may then be modified. This may also be used to specify if the resulting executable should be 32 bit or 64 bit by setting this to either "*32bit" or "*64bit". | |||||||||
FileToExecuteParams: List of parameters to pass to FileToExecute.This setting allows you to pass command-line parameters to the executable file indicated by FileToExecute. Parameters should be in the form of a space-separated list. | |||||||||
InstallationMode: This setting will install to ExtractToPath, run FileToExecute, and then remove the extracted files. Is set to true, this setting makes the self-extractor behave as an installer by installing to a temp directory, running the desired executable, and removing the extracted files upon completion. The default value is false. | |||||||||
LogLevel: Specifies the level of detail that is logged.This setting controls the level of detail that is logged through the Status event. Possible values are:
| |||||||||
RequireAdminPrivs: Specifies whether the created executable requires Administrator privileges.This setting specifies whether the executable created by the class requires Administrator privileges to execute.
This setting is false by default. | |||||||||
SilentExtraction: Specifies whether the archive should hide all UI interaction while extracting.This setting specifies whether to hide the progress bar and success window when the archive executable is run.
Setting this config to true is equivalent to passing the '/s' command-line parameter to the archive executable.
This setting is false by default. |
Base Configuration Settings
SelectWaitMillis: The length of time in milliseconds the class will wait when DoEvents is called if there are no events to process. If there are no events to process when DoEvents is called, the class will wait for the amount of time specified here before returning. The default value is 20. |
Base Configuration Settings
CodePage: The system code page used for Unicode to Multibyte translations.
The default code page is the Active Code Page (0).
The following is a list of valid code page identifiers:
|