Commit graph

641 commits

Author SHA1 Message Date
kichik
649a512324 make sure the notify HWND is valid
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2988 212acab6-be3b-0410-9dea-997c60f758d6
2003-10-02 11:46:04 +00:00
eccles
7d99fd6700 No more Windows error message when using IfFileExists on a removable drive with no media inserted - now applies to all internal file_exists calls.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2976 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-28 12:14:10 +00:00
eccles
a72067fab9 No more Windows error message when using IfFileExists on a removable drive with no media inserted.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2975 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-28 11:33:22 +00:00
kichik
ae2697bc56 Add a back-slash to $INSTDIR when loading dir page only when it's a root directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2971 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-26 21:12:43 +00:00
kichik
2f35a43cba Accept root $INSTDIR on the directory page too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2967 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-26 14:17:01 +00:00
kichik
97cde160db Close the compressor before starting to optimize to lower memory usage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2958 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-23 19:56:58 +00:00
kichik
6d63dd3a58 - Fixed ComponentText without InstTypes
- Made it impossible to install to non-existing drives/removable drives with no media
- Fixed a crash caused by using a LangString in InstallDir
- No more Windows error message when a registered DLL dependency can't be found


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2957 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-23 19:01:19 +00:00
kichik
2a6894ebc8 - .onVerifyInstDir is now used in the browse dialog too
- Fixed problems with SHFileOperation, OleUninitialize and ICopyHook (and possibly XPlay)


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2947 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-22 16:06:53 +00:00
kichik
abbab23ae4 Ignore all commands but those who start with an exclamation mark in nested ignored if blocks too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2946 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-22 10:09:48 +00:00
kichik
f0ce1f740f NLF_[U]CAPTION is always required, not only with a UI
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2938 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-20 10:03:02 +00:00
kichik
19da4bb2b1 Fixed CRC error on bzip2 uninstallers - thanks psyke
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2927 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-19 11:57:09 +00:00
kichik
d5a975b464 Fixed a dumb bug with the data block optimizer that caused the compiler to crash if something was actually optimized
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2924 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-16 19:07:29 +00:00
kichik
de17e40754 Removed debug message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2922 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-16 09:36:16 +00:00
kichik
31a45d7031 fixed add_db_data crashing on empty inputs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2921 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-16 09:19:39 +00:00
kichik
de0104cc39 - Improved file mapping so you can now esaily compile installers up to 2GB with a minimum requirment of memory (changable by FileBufSize)
- Fixed DirText
- Fixed new browse dialog style problems (thanks LIGHTNING UK!)


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2919 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-15 22:05:06 +00:00
kichik
103b31643e - Fixed SpaceText none
- Fixed a crash that occured if LicenseData was not used and Page license was


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2910 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 21:40:33 +00:00
kichik
41808c26be More memory clean-ups
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2901 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 11:16:33 +00:00
kichik
8380534b1d - Fixed a crash caused by clicking cancel on a directory page (thanks pengyou)
- Fixed some extraction progress issues


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2900 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-11 20:46:20 +00:00
kichik
9d7de707ea - Fixed uninstaller refusal to start when on the root directory (note that AllowRootDirInstall true is still required)
- Some touch ups regarding NSIS_CONFIG_VISIBLE_SUPPORT


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2896 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-10 16:39:06 +00:00
kichik
aa09b6bdb9 - Fixed SetOutPath not setting current directory if the directory didn't exist before
- Fixed a memory leak


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2895 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-10 13:44:24 +00:00
kichik
60c7829e3a Fixed overwrite failure on Windows 2000/XP/2003 when the existing file was hidden
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2889 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-09 14:25:16 +00:00
kichik
c9d75dbcbf signed/unsigned mismatch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2887 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 15:28:16 +00:00
kichik
896ba172d5 - Fixed uninstaller not showing anything when installer is silent
- Improved CResourceEditor - should be more tolerant now
- Removed legacy code from InstallOptions and StartMenu


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2882 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 13:54:01 +00:00
kichik
148c9a1b86 Fixed VIAddVersionKey failing on empty inputs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2881 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 10:38:34 +00:00
kichik
2fba235c29 fixed SetOverwrite and added ifdiff option
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2876 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-07 16:46:50 +00:00
kichik
bb927a6230 - fixed a typo in inner langstrings name - [un]LicenseTextRB
- Finnish language files updated
- made SetStlColors able to set background color with /BRANDING
- some optimizations
- fixed progress showing for WriteUninstaller


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2870 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-07 08:53:22 +00:00
kichik
acd850dd85 !ifdef, again...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2861 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-06 19:48:00 +00:00
kichik
04234ccac2 - Fixed and improved SetFont
- Fixed WindowIcon


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2852 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-06 09:59:02 +00:00
kichik
f1a8c1950a Get progress bar to the end even with subsections
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2851 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 22:22:56 +00:00
kichik
89c14ee511 Initialize build_include_depth
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2850 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 22:05:53 +00:00
kichik
9cd28a4c3d No more static variables in CEXEBuild member functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2849 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 21:16:33 +00:00
kichik
010c03d0c6 Removed debug message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2846 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 19:50:39 +00:00
kichik
12e5291213 Fixed LicesneData and language strings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2840 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 14:55:50 +00:00
kichik
87602b35ec Only check for open if[n]def if the compilation was successful
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2839 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 14:14:29 +00:00
kichik
847e04dfb5 Fixed SetDetailsPrint
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2836 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 12:45:12 +00:00
kichik
9e5ccb9a32 - SetCompressor: added /FINAL switch
- SetOverwrite: added lastusd option
- Greek MUI translation v1.66


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2835 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 11:46:48 +00:00
kichik
2ef11e5606 Missed some strings that should be processed - thanks mikem4600
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2833 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 10:40:31 +00:00
kichik
9fddafacdb signed/unsigned mismatch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2825 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-04 19:08:03 +00:00
kichik
74ea2dc585 * PageEx - every page can be used everywhere and as many times as needed
* DirVar - easy way to add another dir page
* default strings in the language file (Page directory is enough, no need for DirText)
* strings from the language file are now LangStrings that can be used in the script
* no more /LANG - one string for all languages
* any lang strings can be used everywhere, installer or uninstaller (no un.)
* no more unprocessed strings - variables can be used almost everywhere (except in licenseData and InstallDirRegKey)
* DirText parm for browse dialog text
* SetBkColor -> SetCtlColors - can now set text color too
* fixed SetOutPath and File /r bug
* fixed File /a /oname bug
* added $_CLICK for pages
* added quotes support in lang files (patch #752620)
* extraction progress
* separate RTL dialogs for RTL langs (improved RTL too)
* InstallOptions RTL
* StartMenu RTL
* fixed RegDLL?
* added IfSilent and SetSilent (SetSilent only works from .onInit)
* fixed verify window (it never showed) (bug #792494)
* fixed ifnewer readonly file problem (patch #783782)
* fixed wininit.ini manipulation when there is another section after [rename]
* fixed some ClearType issues
* fixed a minor bug in the resource editor
* fixed !ifdef/!endif stuff, rewritten
* lots of code and comments clean ups
* got rid of some useless exceptions handling and STL classes (still much more to go)
* lots of optimizations, of course ;)
* updated system.dll with support for GUID, WCHAR, and fast VTable calling (i.e. COM ready)
* minor bug fixes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2823 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-04 18:25:57 +00:00
kichik
cb3cb39264 Fixed problem with LangString as section name
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2813 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-15 19:01:06 +00:00
kichik
1e438b3e87 Reverted Ramon's addition of SS_NOPREFIX. It causes trouble with ClearType, compatibility and doesn't allow the user to use accelerators for edit boxes anywhere.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2790 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-05 15:50:17 +00:00
kichik
4b3148727a DIALOGEX not DIALOG
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2786 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-04 14:41:37 +00:00
kichik
3be3203e2d Fixed bug #777590 - inflate left too early causing NSIS to think more data is needed thus discarding unused data
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2779 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-03 12:59:25 +00:00
ramon18
79a49562b3 SS_NOPREFIX for all STATIC controls, now is possible to name the installer as "My company & CO" for example
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2776 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-29 20:25:42 +00:00
kichik
048b077782 Fix invalid CRC messages for data < 512
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2768 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-24 13:25:37 +00:00
ramon18
a3c887d456 NSIS_SUPPORT_LANG_IN_STRINGS works without NSIS_SUPPORT_NAMED_USERVARS
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2764 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-23 09:34:41 +00:00
kichik
7f1e93c85e Fixed CRC off and whole compression
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2763 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-22 08:33:25 +00:00
kichik
da9d5eb4db Fixed error flag when creating directories with UNC paths
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2761 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-21 11:30:57 +00:00
kichik
7e6b2794cd Don't show installation type combo box when there are no InstTypes defined
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2760 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-21 11:11:07 +00:00
kichik
b10180490d Back to 33.5
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2755 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-19 12:29:36 +00:00