Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip.Sfx Namespace / Variables Class
Members


In This Topic
    Variables Class
    In This Topic
    Contains variables which are used by various properties of the Self-Extractor binary to dynamically provide paths and filenames.
    Syntax
    'Declaration
     
    Public NotInheritable Class Variables 
    'Usage
     
    Dim instance As Variables
    public sealed class Variables 
    Remarks

    A variable is a string that has the format <variable>. The variable is a string representing one of the available variables (see below). The strings representing the macros are replaced by a path only when the actual self-extracting zip file is executed. Thus, the value of a variable usually depends on the particular settings of the operating system the self-extracting zip file is being run on.

    All variables except for the <RandomFolder> macro include the drive as part of the path. The <SystemDrive> variable only contains the drive letter followed by the colon (:) character. None of the variables contain a trailing System.IO.Path.DirectorySeparatorChar.

    Inheritance Hierarchy

    System.Object
       Xceed.Zip.Sfx.Variables

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Fields
     NameDescription
    Public FieldThe path and filename of the file to overwrite. Used only by the DialogMessages.Overwrite dialog.  
    Public FieldThe unzipping folder or the user-selected folder where files were unzipped to.  
    Public FieldThe number of the requested disk. Used only by the DialogMessages.InsertDisk dialog.  
    Public FieldAn English description of an error code that caused the failure. Used only by the DialogMessages.Error dialog for both the extraction error and the ExecuteAfter error.  
    Public FieldThe error code that caused the failure. Used only by the DialogMessages.Error dialog.  
    Public FieldThe location of the Program Files folder.  
    Public FieldRandom folder name that doesn't already exist. (the format of the random name is: _SFXxxx, where xxx is a random number)  
    Public FieldThe folder where the self-extracting zip file is being run from.  
    Public FieldThe main system hard disk.  
    Public FieldThe location of the Windows System folder.  
    Public FieldThe location of the system's temporary folder.  
    Public FieldThe location of the Windows folder.  
    Top
    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