added a note about SetOutPath to RegDLL's section

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3314 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-12-25 12:26:22 +00:00
parent ce03b797ba
commit e3d2cf1537

View file

@ -12,7 +12,7 @@ Calls a function_name inside a NSIS extension DLL. See Contrib\\ExDLL for an exa
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}.
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 usually \R{varother}{$EXEDIR}.
\S2{createdirectory} CreateDirectory
@ -111,6 +111,11 @@ The error flag will be set if the file's attributes cannot be set (i.e. the file
Loads the specified DLL and calls DllRegisterServer (or entrypoint_name if specified). The error flag is set if an error occurs (i.e. it can't load the DLL, initialize OLE, find the entry point, or the function returned anything other than ERROR_SUCCESS (=0)).
Use \R{setoutpath}{SetOutPath} to set the current directory for DLLs that depend on other DLLs that are now in the path or in the Windows directory. For example, if foo.dll depends on bar.dll which is located in $INSTDIR use:
\c SetOutPath $INSTDIR
\c RegDLL $INSTDIR\foo.dll
\S2{unregdll} UnRegDLL
\c dllfile