default strings, current folder

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3176 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2003-11-19 16:28:58 +00:00
parent 82e3e6dadf
commit 98d481d7cb
5 changed files with 14 additions and 3 deletions

View file

@ -90,6 +90,7 @@ subtext: Text next to the installation type selection.
subtext2: Text to the left of the components list and below the installation type.
The default string will be used if a string is empty ("").
\S2{acrccheck} CRCCheck
@ -117,6 +118,7 @@ browse_button_text: Text on the Browse button.
browse_dlg_text: Text on the "Browse For Folder" dialog, appears after clicking on "Browse" button.
The default string will be used if a string is empty ("").
\S2{adirvar} DirVar
@ -203,6 +205,7 @@ text: Text above the controls, to the right of the installation icon.
button_text: Text on the "I Agree" button.
The default string will be used if a string is empty ("").
\S2{amiscbuttontext} MiscButtonText

View file

@ -52,7 +52,9 @@ Adds file(s) to be extracted to the current output path ($OUTDIR).
\c [/REBOOTOK] source_file dest_file
Rename source_file to dest_file. Functions just like the Win32 API MoveFile, which means you can move a file from anywhere on the system to anywhere else, and you can move a directory to somewhere else on the same drive. It also means the destination file must not exist or the move will fail for regular Rename operation (no /REBOOTOK). If /REBOOTOK is specified, and the file cannot be moved (if, for example, the destination exists), then the file is moved when the system reboots -- if the file will be moved on a reboot, the reboot flag will be set. The error flag is set if the file cannot be renamed (and /REBOOTOK is not used) or if the source file does not exist.
Rename source_file to dest_file. You can use it to move a file from anywhere on the system to anywhere else and you can move a directory to somewhere else on the same drive. The destination file must not exist or the move will fail (unless you are using /REBOOTOK). If /REBOOTOK is specified, and the file cannot be moved (if, for example, the destination exists), then the file is moved when the system reboots. If the file will be moved on a reboot, the reboot flag will be set. The error flag is set if the file cannot be renamed (and /REBOOTOK is not used) or if the source file does not exist.
If no absolute path is specified the current folder will be used. The current folder is the folder set using the last \R{setoutpath}{SetOutPath} instruction. If you have not used \R{setoutpath}{SetOutPath} the current folder is \R{varother}{$EXEDIR}.
\S2{reservefile} ReserveFile

View file

@ -12,6 +12,8 @@ Closes a file handle opened with FileOpen.
Opens a file named "filename", and sets the handle output variable with the handle. The openmode should be one of "r" (read) "w" (write, all contents of file are destroyed) or "a" (append, meaning opened for both read and write, contents preserved). In all open modes, the file pointer is placed at the beginning of the file. If the file cannot be opened, the handle output is set to empty, and the error flag is set.
If no absolute path is specified the current folder will be used. The current folder is the folder set using the last \R{setoutpath}{SetOutPath} instruction. If you have not used \R{setoutpath}{SetOutPath} the current folder is \R{varother}{$EXEDIR}.
\S2{FileRead} FileRead
\c handle user_var(output) [maxlen]

View file

@ -10,7 +10,9 @@ Calls a function_name inside a NSIS extension DLL. See Contrib\\ExDLL for an exa
\c [/SILENT] [/FILESONLY] filespec_on_destsys destination_path [size_of_files_in_kb]
Copies files from the source to the destination on the installing system. Useful with $EXEDIR if you want to copy from installation media, or to copy from one place to another on the system. Uses SHFileOperation, so the user might see a status window of the copy operation if it is large (to disable this, use /SILENT). The last parameter specifies how big the copy is (in kilobytes), so that the installer can approximate the disk space requirements. On error, or if the user cancels the copy (only possible when /SILENT was omitted), the error flag is set. If /FILESONLY is specified, only files are copied.
Copies files from the source to the destination on the installing system. Useful with $EXEDIR if you want to copy from installation media, or to copy from one place to another on the system. You might see a Windows status window of the copy operation takes a lot of time (to disable this, use /SILENT). The last parameter can be used to specify the size of the files that will be copies (in kilobytes), so that the installer can approximate the disk space requirements. On error, or if the user cancels the copy (only possible when /SILENT was omitted), the error flag is set. If /FILESONLY is specified, only files are copied.
If no absolute path is specified the current folder will be used. The current folder is the folder set using the last \R{setoutpath}{SetOutPath} instruction. If you have not used \R{setoutpath}{SetOutPath} the current folder is \R{varother}{$EXEDIR}.
\S2{createdirectory} CreateDirectory
@ -18,6 +20,8 @@ Copies files from the source to the destination on the installing system. Useful
Creates (recursively if necessary) the specified directory. The error flag is set if the directory couldn't be created.
You should always specify an absolute path.
\S2{createshortcut} CreateShortCut
\c link.lnk target.file [parameters [icon.file [icon_index_number [start_options [keyboard_shortcut [description]]]]]]

View file

@ -46,7 +46,7 @@ Here's a short list of some of NSIS' features:
\b Easy to use plug-in system (lots of plug-ins for creation of custom dialogs, internet connections, HTTP downloading, file patching, Win32 API calls etc. are included)
\b Installers can be as large as 2GB (theoretically -- when building on Win9x the limit seems to be around 500MB, however building on NT then installing on Win9x works with larger sizes)
\b Installers can be as large as 2GB
\b Optional silent mode for automated installations