SDA ConfigurationThe 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).|
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.|
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:
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.
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
|BuildInfo: Information about the product's build.When queried, this setting will return a string containing information about the product's build.|
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:
Information about the current license.When queried, this setting will return a string containing information about the license this instance of a class is using. It will return the following information:
|UseInternalSecurityAPI: Tells the class whether or not to use the system security libraries or an internal implementation. By default the class will use the system security libraries to perform cryptographic functions. Setting this to True tells the class to use the internal implementation instead of using the system's security API.|