Commit graph

156 commits

Author SHA1 Message Date
ramon18
a558797625 Language strings inside any other strings, $$ defines fix, both currently disabled by defines, support for /LANG in command VIAddVersionKey
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2652 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-16 19:58:29 +00:00
kichik
5d16b56c9e validate_filename was b0rked
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2649 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-16 12:40:53 +00:00
ramon18
1ea2160310 Version Information now rely on languages, some more updates on named uservars, maybe last one before official release :) (preview UserVars.nsi - doesn't compile yet)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2633 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 00:06:23 +00:00
ramon18
f758230f19 Comments like C/C++; Added commands to support VersionInformation (VIProductVersion, VIProductName, VICompanyName, VIComments, VILegalTrademarks, VILegalCopyrights, VIDescription); Support to named user variables (up to 500) but disabled by define
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2623 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-09 18:59:14 +00:00
kichik
a798cabcff Safer "bug" report 750338
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2618 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-07 10:59:11 +00:00
kichik
4ba745368c $SMPROGRAMS, $SMSTARTUP, $DESKTOP, $STARTMENU and $QUICKLAUNCH working again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2567 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-25 13:12:07 +00:00
kichik
564ca077d8 - Improved installation types behaviour
- .onSelChange no longer called when the components page is created
- First section is selected at compile time - changes in .onInit stick
- Added SectionSetSize / SectionGetSize
- Added SetCurInstType / GetCurInstType
- Added InstTypeSetText / InstTypeGetText - ability to change (and add and remove) installation types on runtime
- NSIS_MAX_INST_TYPES is now 32 by default
- InstType texts are now processed ($0, $1, etc. can be used)
- Added /o switch for Section - unselected by default


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2563 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-24 13:50:24 +00:00
kichik
3cdfec78cf "Bug" 733817
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2538 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-09 12:25:32 +00:00
kichik
8f849c07e5 IfErrors clears the error flag again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2400 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-30 15:08:24 +00:00
kichik
4df5cb4fac Back to 33.5/34
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2392 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-29 17:16:09 +00:00
kichik
68c97de740 RMDir /REBOOTOK
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2390 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-29 11:45:22 +00:00
kichik
9cc76210b4 Transparent controls. Use SetBkColor (hwnd) transparent
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2387 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-28 18:41:15 +00:00
kichik
bad48f1a0a Some space saving changes, /NOCUSTOM and /COMPONENTSONLYONCUSTOM work together and infastructures for future changes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2338 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-18 20:36:52 +00:00
kichik
3c26c3bfd3 CreateDireectory now sets the error flag only when really needed instead of almost always
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2195 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-20 18:47:58 +00:00
kichik
f9e4da2fea MBCS support for validate_filename and error flag for CreateDirectory/SetOutPath
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2184 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-19 20:36:20 +00:00
kichik
3513e46793 Path validation improvments. Now works with VC7 too.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2175 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-18 19:58:16 +00:00
kichik
4df57aea70 $QUICKLAUNCH will now fall back to current user too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2124 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-08 14:30:46 +00:00
kichik
ae16cbfe3f - Compressor type listed in summary
- SetOutPath now sets the current directory (RegDLL no longer does)
- File names are now validated for commands that need normal files, the directory selection dialog, and every variable that contains a file/dir name
- Fixed a distortion of the MUI's branding text with ClearType
- $INSTDIR is now right in the custom page after the directory selection dialog
- No more squares in the automatically appended directory name in the directory selection dialog
- Size optimizations


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2121 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-07 23:04:25 +00:00
kichik
3fb593f767 Fixed a year and a half old bug with renaming on Windows 9x to a file name that does not exist.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1931 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-10 17:19:57 +00:00
kichik
e6af406ab2 RegDLL now sets the current directory to the DLL directory (Patch #646306 )
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1872 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-03 20:33:17 +00:00
eccles
3bfb7393d6 Freed 104 bytes for more dll imports, at the cost of 78 bytes of code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1869 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-02 23:08:10 +00:00
kichik
5e9ede6d31 + Sections can be unselected in silent mode too
+ Some documentation fixes
+ Transition between a normal page and a custom page no longer causes a flicker (between two custom pages it still does)
+ The completed sub-caption shows again


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1853 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-30 13:15:49 +00:00
kichik
2d7e541bf6 Exec will now always work
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1821 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-22 15:46:33 +00:00
kichik
1fc09ac3f7 Fixed bug item 641776 and returned zlib header to 34KB
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1798 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-21 16:46:05 +00:00
kichik
62abf21381 bzip2 header down to 34KB, 54 bytes away from 34.5KB zlib. Fixed a bug with ReadRegStr and $0.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1249 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-01 14:13:23 +00:00
kichik
d762e60cd8 6 more bytes down
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1183 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-25 13:10:21 +00:00
kichik
d5dfdb900b Shortcut comment option added, 44 bytes saved.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1181 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-25 12:54:10 +00:00
justin1014
7dbc2a11c8 cut another 30 bytes or so off. also made atoi take negative octal/hex numbers.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1175 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-25 02:36:30 +00:00
justin1014
372e1f0d11 6 bytes saved (made addtrailingslash return char *)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1174 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-25 02:13:38 +00:00
eccles
ef61466ef0 80 bytes saved
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1153 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-22 19:05:43 +00:00
justin1014
e3d77d9ca6 2 bytes saved on exehead by using my_SetDlgItemText. heh.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1101 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-21 02:34:34 +00:00
eccles
24977f45d0 Shaved off 208 bytes of code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1056 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-19 21:53:24 +00:00
justin1014
6ec2b9ba6f used my opt instead of eccles, actually smaller (and made both bzip2 and zlib drop by 0.5k yay!)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1040 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-18 23:28:54 +00:00
justin1014
88acdf2345 updated with a lot of .data size optimizations.. used eccles' optimization for certain registry settings too (thanks dave).. code size may have gone slightly up,but it let me take a lot of data size off (had to change some of the default error msgs too)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1039 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-18 23:19:13 +00:00
kichik
3a65507878 Renamed my_alloc to my_GlobalAlloc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@954 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-07 20:49:18 +00:00
justin1014
0bb9e63724 made win9x move/delete on reboot support proper and function like on win2k (in that shit is deleted in order). Also should be slightly smaller (though < 512 bytes difference)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@900 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-04 05:40:02 +00:00
kichik
8c7c3c304e my_alloc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@844 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-31 10:26:39 +00:00
kichik
806f0afb91 Removed SetLanguage (back to $LANGUAGE)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@777 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-28 16:57:46 +00:00
kichik
9355921c41 Space saving
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@772 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-28 14:58:32 +00:00
kichik
c8e693e95b 0.5KB saving
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@765 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-28 10:08:38 +00:00
kichik
d6c4b8ac50 Added SetLanguage ($LANGUAGE is no longer a variable)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@738 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-25 16:09:42 +00:00
kichik
d209003edd Better backward compatibility ($LANGUAGE is now last in the user variables array)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@721 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-22 22:09:09 +00:00
kichik
2797412b9a Fixed a bug that gave SMPROGRAMS, SMSTARTUP, DESKTOP and STARTMENU to have wrong values.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@716 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-22 09:37:51 +00:00
kichik
8b3fdab7c2 Language can be choosen from .onInit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@711 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-21 19:16:09 +00:00
eccles
8cc405362f SetShellVarContext all - was failing to fall back to current user
Optimised this a little too


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@695 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-19 23:39:23 +00:00
eccles
34db30b2ce Instant saving of 0.5K - use of stdcall calling convention to
reduce code overhead associated with managing the stack


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@694 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-19 23:18:19 +00:00
eccles
7a2cf3e5b8 Small space-saving optimisations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@693 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-19 21:24:44 +00:00
eccles
ac00a53e1a Implemented a method where LANG_* strings can be referenced
by constant id's - reducing code overhead associated with
looking up the global strings variables.  Kind of.  Just compare
the assembly output...


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@685 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-11 18:56:30 +00:00
kichik
78a1bbb020 No more compile errors without NSIS_CONFIG_PLUGIN_SUPPORT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@681 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-10 09:40:34 +00:00
kichik
5c9961eac7 No more compile errors without NSIS_CONFIG_PLUGIN_SUPPORT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@680 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-10 09:39:03 +00:00