Xceed .NET Libraries Documentation
DialogMessages Enumeration


Xceed.Zip Assembly > Xceed.Zip.Sfx Namespace : DialogMessages Enumeration
Value representing the texts that are displayed by the various dialog boxes shown by self-extracting zip files.
Syntax
'Declaration
 
Public Enum DialogMessages 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As DialogMessages
Members
MemberValueDescription
AbortUnzip9Prompt which asks the user if they really wish to abort the self-extracting process, after having clicked on the Abort button. The default value is "Are you sure you want to abort the unzipping process?" Variables cannot be used in the abort prompt.
CreateFolder10Message that is displayed in the Create Folder dialog. The text informs the user that the folder where files will be unzipped to does not exist and asks the user if they wish to create the folder. The default value is "Folder <DestinationFolder> does not exist. Do you want to create it?". Only the <DestinationFolder> variable is supported.
DestinationFolder5Prompt that is displayed in the Destination Folder dialog box. The prompt asks the user to select the path where the files will be extracted to. The default value is "Select the folder where you want to unzip the files to." Variables cannot be used in the Destination Folder dialog box.
Error1

Message that is displayed in the Error dialog box if an error occurs during the extraction process. The default value is "An error occurred while unzipping. One or more files were not successfully unzipped. The error code is <ErrorNumber>." Only the <ErrorNumber> variable is supported.

It is also possible to specify an error message for when a program specified by the ExecuteAfter property cannot be started. To enable this, a second message can be specified here with the prefix: "|~". By default, there is no error message for ExecuteAfter.

Here is a complete example value: "An error occurred while unzipping. One or more files were not successfully unzipped. The error code is <ErrorNumber> (<ErrorDescription>).|~Unzip completed successfully. But a program scheduled to execute after could not be started. Error code: <ErrorNumber> (<ErrorDescription>)."

ErrorCreatingFolder2Message that is displayed in the Error Creating Folder dialog box. The default value is "Unable to create folder <DestinationFolder>." Only the <DestinationFolder> variable is supported.
InsertDisk8Prompt which asks the user to insert a specific disk from the set of disks containing the self-extracting zip file. This prompt is used when the self-extracting zip file spans multiple disks, and a specific disk is required. The default value is "Please insert disk #<DiskNumber>." Only the <DiskNumber> variable is supported.
InsertLastDisk7Prompt which asks the user to insert the last disk of the set of disks containing the self-extracting zip file. This prompt is used when the self-extracting zip file spans multiple disks and the last disk is required. The default value is "This self-extracting zip file is part of a multidisk zip file. Please insert the last disk of the set.". Variables cannot be used in the insert last disk prompt.
Introduction3Message that is displayed in the Introduction dialog box. The default value is "Welcome to the Xceed Zip Self-Extractor. This program will unzip some files onto your system." Variables cannot be used in the introduction dialog box.
License4Message that is displayed in the License agreement dialog box. The license agreement dialog box allows you to display a license agreement and to force the user to either accept or reject the terms of the agreement. If the terms are rejected, the self-extractor will terminate and no files will be extracted. Variables cannot be used in the License agreement dialog box.
Overwrite11Prompt which asks the user if they wish to overwrite a file that already exists. The default value is "The file <DestinationFile> already exists. Do you want to overwrite it?" Only the <DestinationFile> variable is supported.
Password6Prompt which asks the user to enter a password for a given file. The default value is "A password is required for file:" Variables cannot be used in the password prompt.
Progress12String used in the Progress dialog box to indicate which file is currently being extracted. The default value is "Unzipping file:" Variables cannot be used in the Progress dialog box.
Success0Message that is displayed in the Success dialog box upon successful extraction of all the files in the archive. The default value is "All files were successfully unzipped." Variables cannot be used in the success dialog box.
Remarks

For 32-bit self-extracting zip files, the maximum string length allowed for each dialog message is 2000 characters, except for the license agreement message which can contain up to 8000 characters. For 16-bit self-extracting zip files, the maximum length for all dialog messages is 255 characters.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Xceed.Zip.Sfx.DialogMessages

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Xceed.Zip.Sfx Namespace