changelog, info, doc

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2665 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2003-06-22 11:22:55 +00:00
parent 8b3a71d6cb
commit 63a1f7a0e3
3 changed files with 39 additions and 33 deletions

View file

@ -6,7 +6,7 @@ The following commands change how the compiler generates code and compresses dat
\c \\<b\\>on\\</b\\>|off
This command specifies whether the user should be able to skip a file or not. A user has an option to skip a file if SetOverwrite on is used (default) and the installer fails to open a file for writing when trying to extract a file (see File command). If \e{off} is used the ignore button which allows the user to skip the file will not show and the user will only have an option to abort the installation (Cancel button) or retry opening the file for writing (Retry button). If \e{on} is used the user will have an option to skip the file (error flag will be set - see SetOverwrite).
This command specifies whether the user should be able to skip a file or not. A user has an option to skip a file if \R{asetoverwrite}{SetOverwrite} is set to on (default) and the installer fails to open a file for writing when trying to extract a file. If \e{off} is used the ignore button which allows the user to skip the file will not show and the user will only have an option to abort the installation (Cancel button) or retry opening the file for writing (Retry button). If \e{on} is used the user will have an option to skip the file (error flag will be set - see \R{asetoverwrite}{SetOverwrite}).
\S2{asetcompress} SetCompress

View file

@ -3,32 +3,30 @@
\e{v2.0b4}
\b \W{../Contrib/Modern UI/Readme.html}{Modern UI 1.65}: Easier page macro system, language specific fonts, \R{alicenseforceselection}{LicenseForceSelection} support, new options for Finish page / language selection dialog, fixes, more
\b Added \R{asetallowskipfiles}{AllowSkipFiles}: Set whether the user should be able to skip a file when overwriting failed
\b \W{../Contrib/InstallOptions/Readme.html}{InstallOptions}: Added LINK control, added EXTENDEDSELECT flag for list boxes which replaces MULTISELECT that now acts exactly as the real style flag ([double] click turns on or off selection), fixes
\b Added support for standard predefines: $\{__DATE__\}, $\{__TIME__\}, $\{__TIMESTAMP__\}, $\{__FILE__\}, $\{__LINE__\}
\b \W{../Contrib/Makensisw/Readme.txt}{MakeNSISW 2.0}: UI to define symbols, toolbar, more
\b /o Switch for \R{ssection}{Section} provides ability to unselect the section by default
\b Increased amount of InstTypes to 32
\b Added \R{ssectionsetsize}{SectionSetSize}, \R{ssectiongetsize}{SectionGetSize}, \R{ssetcurinsttype}{SetCurInstType}, \R{sgetcurinsttype}{GetCurInstType}
\b InstallOptions PlugIn: Fixed bug [ 720332 ] ">301 Characters in State of List Box Bug in InstallOptions"
\b System Plug-in: Fixed a bug with calling proc(void) and added e switch to get GetLastError return value
\b System PlugIn: Fixed a bug with calling proc(void) and added e switch to get GetLastError return value
\b Fixed a problem regarding borders in PlugIns BgImage and InstallOptions
\b Fixed pluginsdir init function generation
\b Bug #717022 fixed: overlapping chars in dir input
\b In Components Tree: Fixed problems with sub-sections with RO sections as children, SF_EXPAND now refreshes the components tree, Added SF_PSELECTED for partially selected sub-sections
\b Components Tree: Fixed problems with sub-sections with RO sections as children, SF_EXPAND now refreshes the components tree, Added SF_PSELECTED for partially selected sub-sections
\b \R{onmouseoversection}{OnMouseOver Text} is only displayed when mouse over section else nothing is displayed
\b RO sections can now be in \R{ainsttype}{InstTypes} too (default to old behavior)
\b \W{../contrib/InstallOptions/readme.html}{InstallOptions}: Added EXTENDEDSELECT flag for list boxes which replaces MULTISELECT that now acts exactly as the real style flag ([double] click turns on or off selection)
\b Modern UI 1.64: Finish header macro's don't have to be inserted anymore, \R{alicenseforceselection}{LicenseForceSelection} support, improved language preference storage
\b Added \R{alicenseforceselection}{LicenseForceSelection}: Checkbox or radiobuttons on license page to let user agree with license or not
\b Leave function for custom \R{pages}{pages}: Input on InstallOptions pages can be validated using script code
@ -39,9 +37,19 @@
\b \R{ainsttype}{InstType} /NOCUSTOM and /COMPONENTSONLYONCUSTOM work together
\b Improved \R{aaddbrandingimage}{AddBrandingImage}: Doesn't depend on the UI, can set image on the bottom and on the right, support for custom padding value
\b NLF language files (v5): More strings translatable (K/M/G Byte, registering, unregistering), language specific fonts
\b Fixed a problem regarding borders in Plug-ins BgImage and InstallOptions
\b Fixed plug-ins directory init function generation
\b Fixed overlapping chars in directory input
\\<b\\>Notes:\\</b\\>
\W{../Contrib/Modern UI/Readme.html}{Modern UI 1.65}: Because of the new page macro's, you have to make some small changes to your scripts, see the Modern UI Readme for details \\<br\\>
\R{page}{Custom Pages} now have a leave function. As this parameter is before the caption you have to add another "" empty string for the title to work. \\<br\\>
\R{onselchange}{.onSelChange} is no longer called when the components page is created
@ -448,4 +456,4 @@
\b Made config.h have hacks for easier building for me. :)
\e{For complete version history, see \W{http://www.nullsoft.com/free/nsis/version-history.html}{http://www.nullsoft.com/free/nsis/version-history.html}}
\e{For the NSIS 1.x version history, see \W{http://www.nullsoft.com/free/nsis/version-history.html}{http://www.nullsoft.com/free/nsis/version-history.html}}

View file

@ -2,31 +2,31 @@
\H{compiling_infos}Compiling NSIS Sources
If you want to compile NSIS by yourself you have to install the Sources. The Sources are shipped with every official \W{http://sourceforge.net/project/showfiles.php?group_id=22049}{NSIS distribution} as well with the \W{http://nsis.sourceforge.net/nightly/nsis.zip}{nightly} development Snapshots. NSIS is programmed in Microsoft Visual C 6.0. Therefore it contains all necessary files including the Project Files. You can also use the current Version 7.0 of Visual C but the output is a few KB larger. The Sources also include a makefile for the famous Open Source Compiler GCC but unfortunately it is a little bit outdated. If you are working with GCC and want to provide a updated working makefile or your using an other Compiler like Borland C++ Builder or Open Watcom C/C++ and want to provide makefiles or project files please drop a line on the \W{http://forums.winamp.com/forumdisplay.php?forumid=65}{NSIS Forum}.
The NSIS source files are shipped with every official \W{http://sourceforge.net/project/showfiles.php?group_id=22049}{NSIS distribution} as well with the \W{http://nsis.sourceforge.net/nightly/nsis.zip}{nightly} development snapshots. The binary files distributed with the NSIS releases are compiled with the Microsoft Visual C++ 6.0 compiler. The source has also been tested to be compatible with the Microsoft Visual C++ .NET 2003 compiler. The NSIS distribution includes Microsoft Visual C++ 6.0 project files. Microsoft Visual C++ .NET 2003 automatically converts these files to the Microsoft Visual C++ .NET 2003 format.
\\<b\\>Note: If your using Visual C 6.0 you have to update the \W{http://www.microsoft.com/msdownload/platformsdk/sdkupdate/}{Platform SDK} to avoid crashes when using CopyFiles. See \W{http://forums.winamp.com/showthread.php?s=&threadid=131964}{here} for further informations. You should also install the \W{http://msdn.microsoft.com/vstudio/downloads/ppack/default.asp}{Processor Pack} for decreasing the excutable Size.\\</b\\>
Previous versions of NSIS have been tested with with the MinGW compiler, however we don't have an up-to-date makefile. If you are working with GCC or another compiler like Borland C++ Builder or Open Watcom C/C++ and want to provide makefiles or project files please drop a line on the \W{http://forums.winamp.com/forumdisplay.php?forumid=65}{NSIS Forum}.
\\<b\\>Note: If your using Microsoft Visual C++ 6.0 you have install the latest \W{http://www.microsoft.com/msdownload/platformsdk/sdkupdate/}{Platform SDK}. Because of flaws in the lib's distributed with Microsoft Visual C++ 6.0, not installing the Platform SDK will result in crashes when using the CopyFiles command. \W{http://forums.winamp.com/showthread.php?s=&threadid=131964}{Click here} for more information. You should also install the \W{http://msdn.microsoft.com/vstudio/downloads/ppack/default.asp}{Processor Pack} to decrease the size of the installer overhead.\\</b\\>
\H{errorlevels}Errorlevels
\H{errorlevels}Error Levels
Like any other program installers made by NSIS return errorlevels as a result of their execution. Very useful if you call an NSIS Installer from within an other installer with \R{execwait}{Execwait}.
Like any other program installers made by NSIS return error levels as a result of their execution. Checking the error level can be useful if you call an NSIS installer from another application or installer.
On normal Installers:
Normal installers:
\b 0 for normal execution
\b 0 - Normal execution (no error)
\b 1 for User Abort
\b 1 - Installation aborted by user
\b 2 for Script Abort
\b 2 - Installation aborted by script
On silent Installers:
Silent installers:
\b 0 for normal execution
\b 0 - Normal execution (no error)
\b 1 for User Abort
\b 1 for Script Abort
\b 1 - Installation aborted by user
\b 1 - Installation aborted by script
\H{useful_add_uninst_infos}Add uninstall information to Add/Remove Programs
@ -49,7 +49,7 @@ Write a value using the WriteRegStr command (for strings) or WriteRegDWORD comma
Some of the following values will not be used by older Windows versions.
\e{InstallLocation} (string) - Installation directory ($INSTDIR) \\<br\\>
\e{DisplayIcon} (string) - Path, filename and index of of the icon which will be displayed next to your application name
\e{DisplayIcon} (string) - Path, filename and index of of the icon that will be displayed next to your application name
\e{Publisher} (string) - (Company) name of the publisher
@ -91,9 +91,7 @@ Oleaut32.dll \\<br\\>
Olepro32.dll \\<br\\>
Stdole2.tlb \\<br\\>
In the uninstaller, use \R{unremovesharedll}{un.RemoveSharedDLL} to decrement the shared DLL count, but remove the Delete /REBOOTOK $R1 line, because it's never a good idea to remove the VB runtimes. The system to registering shared DLL files does now always work and many application require these files.
During the uninstallation, use \R{unremovesharedll}{un.RemoveSharedDLL} to decrement the shared DLL count, but remove the Delete /REBOOTOK $R1 line, because the shared DLL registration is not reliable enough for such important system files.
\c # Don't forget to copy the macro's!
\c