diff --git a/Contrib/System/System.html b/Contrib/System/System.html index fec0624c..1ef8c1f3 100644 --- a/Contrib/System/System.html +++ b/Contrib/System/System.html @@ -1,11 +1,13 @@ - - + +
-(NSIS_MAX_STRLEN - 24) * NSIS_CHAR_SIZE
bytes)
-
- VPatch 3.1+VPatch 3.1Introduction
@@ -126,9 +96,7 @@ a:hover
file (version to update to). For example, DATA.DTA (currently on user
system) and DATA_20.DTA (version 2.0 of this data file). Now call
the command line tool GenPat.exe:
-
-GENPAT oldfile.txt newfile.txt patch.pat -+ GENPAT oldfile.txt newfile.txt patch.pat Now, the patch will be generated, this will take some time. Using the /B=(BlockSize) parameter of the GenPat utility (put it after the filenames), you can use a different block size. A smaller @@ -141,9 +109,7 @@ GENPAT oldfile.txt newfile.txt patch.pat Update the file during installationUse the VPatch plug-in to update a file using a patch file: --vpatch::vpatchfile "patch.pat" "oldfile.txt" "temporary_newfile.txt" -+ vpatch::vpatchfile "patch.pat" "oldfile.txt" "temporary_newfile.txt" The result of the patch operating will be added to the stack and can be one of the following texts:
A user interface is included as well, which you will have to build yourself because the GUI executable was too large to include. Besides Borland Delphi 6 or higher (you can use the freely available Personal - edition), you will also need to install the VirtualTreeView component by Mike Lischke. + edition), you will also need to install the VirtualTreeView component by Mike Lischke.Version history@@ -310,13 +275,12 @@ vpatch::vpatchfile "patch.pat" "oldfile.txt" "temporary_newfile.txt"Credits
-
Written by Koen van de Sande Written by Koen van de Sande. License-
-
- + |
-
nsDialogs allows creation of custom pages in the installer. On top of the built-in pages, nsDialogs can create pages with any type of controls in any order and arrangement. It can create everything from a simple page with one label to form which reacts to user's actions. Modern UI 2, for example, uses nsDialogs to create the welcome and finish pages.
+nsDialogs allows creation of custom pages in the installer. On top of the built-in pages, nsDialogs can create pages with any type of controls in any order and arrangement. It can create everything from a simple page with one label to form which reacts to user's actions. Modern UI 2, for example, uses nsDialogs to create the welcome and finish pages.
nsDialogs is a NSIS plug-in, introduced in version 2.29 as a replacement for InstallOptions. nsDialogs doesn't use INI files, so it's way faster than InstallOptions. Integration with the script is tighter and more natural - creating controls is done using plug-in functions and notification is done by directly calling a function in the script. Unlike InstallOptions, there isn't a predefined set of available control type and by providing a lower level access to Windows API, every type of control can be created and pages can be more customizable.
@@ -472,7 +483,7 @@ SectionEndnsDialogs::SelectFileDialog mode initial_selection filter
Displays a file selection dialog to the user. If mode is set to save, displays a file save dialog. If mode is set to open, displays a file open dialog.
initial_selection can be used to provide the user with a default file to look for and/or a default folder to look in. If initial_selection is empty no default filename will be provided for the user and the dialog will start in the current working directory. If initial_selection specifies just a filename, for example "test.exe", the dialog will be set up to look for a file called test.exe in the current working directory. If initial_selection specifies just a directory, for example "C:\Program Files", the dialog starts in the provided directory with no file name provided. If initial_selection specifies a directory and a filename, for example "C:\Windows\System32\calc.exe", the dialog will be set up to look for a file called calc.exe in the directory C:\Windows\System32.
-filter is a list of available file filter pairs separated by pipes. A filter pair consists of a display string and a DOS-style wildcard pattern. If an empty string is passed, the default is used ("All Files|*.*"). +filter is a list of available file filter pairs separated by pipes. A filter pair consists of a display string and a DOS-style wildcard pattern. If an empty string is passed, the default is used ("All Files|*.*").
Returns the selected file on the stack or an empty string if the user canceled the operation.
nsDialogs::SelectFileDialog open "$DOCUMENTS\Config.ini" ".ini files|*.ini|All Files|*.*" @@ -852,20 +863,15 @@ SectionEnd
A: nsDialogs.nsh contains a function called CreateDialogFromINI that can create nsDialogs' dialog from an INI file. It can handle every type of control InstallOptions supports, but doesn't handle the flags or notifications. Examples\nsDialogs\InstallOptions.nsi shows a usage example of this function.