Commit graph

391 commits

Author SHA1 Message Date
kichik
68dc7f9f7e Var can now be used in sections and functions, but only with the /GLOBAL flag
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4211 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 16:04:17 +00:00
kichik
62b1097ad2 when looking for branding image place holder, look for "Static" class too (windres...)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4191 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-23 13:07:04 +00:00
kichik
2c00a558bf use dir_reader for !include
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4152 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-01 21:08:48 +00:00
kichik
2bf93b99dc bail on output name that starts with a quote
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4063 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-03 18:45:51 +00:00
kichik
f85a88852c made NSIS_VERSION a define set by the scons script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4024 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-12 16:27:35 +00:00
kichik
8bc1169798 free return value of CDialogTemplate::Save() using delete[]
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4021 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-11 16:20:18 +00:00
kichik
196f57884c Call :label is valid in uninstall sections too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4018 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-10 19:15:22 +00:00
kichik
245bc39dc2 fixed SetCompressor handling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3993 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-23 20:18:54 +00:00
kichik
9613c8988f - stubs are no longer included in makensis but read from the Stubs directory
- new /SOLID switch for SetCompressor allows setting solid compression without recompiling makensis


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3945 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-02 12:04:07 +00:00
kichik
9053776109 use correct freeing method
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3932 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 17:06:45 +00:00
kichik
dd3d4f237a 2.05 -> 2.06
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3928 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 13:53:41 +00:00
kichik
38b94f19a5 implemented feature request #1159701 - "RTLREADING" flag support in the "MessageBox"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3922 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-17 20:44:31 +00:00
kichik
14836bb4a6 implemented feature request #1159701 - "RTLREADING" flag support in the "MessageBox"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3921 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-15 17:48:22 +00:00
kichik
d192713026 implemented feature request #1124901 - Registry functions and ShellVarContext
all registry instructions now accept SHCTX which is replaced with HKLM or HKCU on runtime according to SetShellVarContext


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3907 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-17 21:20:05 +00:00
kichik
c5d4422fd6 2.04->2.05
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3892 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 13:55:29 +00:00
kichik
f558c99c2c use new section name space
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3868 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 15:13:47 +00:00
kichik
d8225671ad use new components functions so SetCurInstType will take affect immediately and so setting a section group's flags will affect its children too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3856 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:33:12 +00:00
kichik
f2cba8c2cb renamed SubSection to SectionGroup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3852 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-10 12:43:52 +00:00
kichik
ca83176be0 removed debug message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3850 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-10 11:40:06 +00:00
kichik
ccbc8ecd45 2.03->2.04
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3842 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 17:11:49 +00:00
kichik
61ae6c590d better fix for bug #1096104
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3840 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 16:36:05 +00:00
kichik
8c51026a67 fixed 1095761 - File /r changes $0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3839 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 13:40:42 +00:00
kichik
a7c465cc9e descending message wasn't being displayed when the directory itself matched
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3838 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 13:01:07 +00:00
kichik
520f6f1281 fixed bug #1096104 - File /r under unix creates incorrect dirs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3836 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 12:37:55 +00:00
kichik
8cf1113c5b fixed bug #1082017 - Problem with empty dir in File /r
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3819 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-10 11:09:10 +00:00
kichik
444221504c fixed compile error under gcc-2.95
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3787 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 19:49:05 +00:00
kichik
6d438d0f34 2.02->2.03
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3786 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 19:30:01 +00:00
kichik
5acba7ec75 added /date switch to !define for definition of date and time constants
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3785 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 18:49:50 +00:00
kichik
2a9a9ac72a added /x switch for File and ReserveFile to exclude files and directories
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3783 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 17:18:10 +00:00
kichik
ee703bab52 * use new dir_reader
* only warn once about /a on POSIX
* made /R search for matches inside subdirectories even wildcards were not used


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3782 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 15:44:02 +00:00
kichik
2b0c2f2787 Only use the GetModuleHandle trick for plug-ins, otherwise just load and unload. If RegDLL uses /NOUNLOAD, unloading will be skipped, but GetModuleHandle won't be used.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3763 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-11 21:28:25 +00:00
kichik
a213c56d8e include unistd.h for chdir()
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3758 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-25 23:34:07 +00:00
kichik
b2556bb9bd 2.01->2.02
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3738 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-18 23:05:16 +00:00
oripel
6c6902a8b6 Using new resource management syntax, e.g. MANAGE_WITH(buffer, free)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3736 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-15 03:59:46 +00:00
kichik
335fd47066 made the Reboot command first quit and then reboot
- fixed bug #989690
 - the installer now denies reboots while running
 - the Reboot instruction no longer returns or sets the error flag
 - added .onRebootFailed which is called when Reboot fails
 - installer should now always clean-up when rebooting


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3729 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-14 13:56:02 +00:00
kichik
bdd68d623f silly typo fixed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3717 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 20:09:22 +00:00
kichik
184e058e74 tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3716 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 19:57:18 +00:00
oripel
fe3fbd361d Liberal use of ResourceManager
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3712 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 21:24:33 +00:00
kichik
07eb9b6425 removed extra %s from TOK_GETCURRENTADDR
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3702 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-10 18:17:14 +00:00
kichik
ba8a64a806 refactoring:
- added CEXEBuild::update_exehead() and made everyone use it
 - renamed some variables (of the *exeheader* variety)
bug fix:
 - uninstaller CRC-check failed if !packhdr created a non-512-bytes-aligned exehead


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3695 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-02 18:04:41 +00:00
kichik
a4cad316e7 - converted ctime_r to ctime for better portability
- more refactoring


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3691 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-01 19:52:56 +00:00
kichik
a4b59e7bec fixed bug #1038255 - CopyFiles usage checking problem
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3688 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-01 09:57:01 +00:00
kichik
a0b6163f51 dir in do_add_files can be "." on windows too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3685 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 22:46:33 +00:00
kichik
5e960e1fd3 relative jumps now work with instructions that add multiple entries (including plug-in calls)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3670 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 13:35:03 +00:00
kichik
e82748702c - added GetErrorLevel and SetErrorLevl
- fixed some inconsistencies in the error levels the installer/uninstaller set


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3668 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 10:49:08 +00:00
kichik
15e6286454 fixed compile error on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3665 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 14:32:58 +00:00
kichik
b3d872ee65 SetCtlColors /BRANDING wasn't working right, if just one of the background or text color were specified
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3656 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-17 16:48:38 +00:00
kichik
c9aa2a4ffc applied patch #1028028 - POSIX-built installers install files w incorrect timestamps.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3655 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-14 19:26:37 +00:00
kichik
38d7adce15 implemented GetDLLVersionLocal for non Win32 platforms
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3653 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-11 11:25:19 +00:00
kichik
98caca8be1 - auto conversion of paths on POSIX platforms - based on patch #1005673
- LoadLanguageFile error message improvement


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3636 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-20 15:40:38 +00:00