Commit graph

668 commits

Author SHA1 Message Date
kichik
b4b3f0b1eb fixed bug #1155836 - Incorrect section group state
section flags weren't read again after a recursive call for _RefreshSectionGroups returned


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3914 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-03 20:15:58 +00:00
kichik
b9ecd8f65c size optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3912 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-25 15:28:37 +00:00
kichik
4bb5e9b310 available variable in DirProc's WM_IN_UPDATEMSG handler wasn't properly initialized
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3911 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-25 14:19:00 +00:00
kichik
189afff7c3 applied patch #1123154 - nsis 2.05 makefile missing components.c
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3910 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-25 13:29:49 +00:00
kichik
a7e4a69bb4 fixed plug-ins directory initialization for extremely restricted guest users with no directory listing access to the temporary directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3909 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-18 13:39:42 +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
48f6cfb392 added FORCE_INLINE to RefreshComponents
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3901 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 20:49:00 +00:00
kichik
282cd1ef72 if the first section was a section group, following section groups didn't behave correctly
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3900 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 20:45:02 +00:00
kichik
5a37bd4e68 fixed compile error with logging enabled
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3896 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 15:31:57 +00:00
kichik
931f5e42c2 a section group can't be both selected and toggled
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3893 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 14:17:11 +00:00
kichik
502850c203 added missing break
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3890 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-03 20:26:40 +00:00
kichik
1ecd52511c fixed bug #1114876 - "Space Available" shows bad value "258.-2GB"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3888 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-03 18:24:48 +00:00
kichik
54bb163a4f don't rely on WM_DESTROY to update extraction status to 100%
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3875 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 16:54:44 +00:00
kichik
6008ab4265 removed unneeded test
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3872 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 15:46:28 +00:00
kichik
057a91aa70 made SectionGetText work in .onInit too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3871 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 15:24:51 +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
3bef7a5d67 added space for section name to make it possible to parse it immediately when setting it and not only when the components page is present
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3866 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 15:11:20 +00:00
kichik
b4e31e321e update the inner page if the leave function aborted, something might have changed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3861 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:54:59 +00:00
kichik
840ab03222 use new component functions to enable toggling of partially selected sections and fix bug #1045722
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3857 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:38:48 +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
c73d4d43b4 - deprecated cur_insttype and insttype_changed
- added SF_TOGGLED section flag


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3855 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:29:29 +00:00
kichik
6173889411 components functions that don't rely on the TreeView
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3854 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:28:10 +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
dfd8dc1227 2005
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3831 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-04 14:54:48 +00:00
kichik
ea1c67af6b fixed bug #1073363 - keyboard navigation in MUI_PAGE_INSTFILES
keyboard navigation doesn't work while the focus is set on a disabled control


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3778 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-25 22:31:08 +00:00
kichik
76dcceb87a made the gradient background window not pretend to be the installer dialog so the "unpacking" window will show even if it is used
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3775 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-20 15:23:37 +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
424322a142 Always increase the load count of registered dlls if /NOUNLOAD is not specified. This should fix some problems with registering many COM dlls in a row.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3762 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-11 20:34:50 +00:00
kichik
89d3581649 Added another parameter to plug-in functions. This parameter is a structure with pointers to exec_flags and ExecuteCodeSegment. This is backward compatible with older plug-ins because plug-in functions use the __cdecl calling convention which means NSIS clears the stack.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3751 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-23 17:43:08 +00:00
kichik
b7f9b6525b added a comment
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3732 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-14 21:34:17 +00:00
kichik
0677224b1f size optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3731 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-14 21:33:33 +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
45390f68d7 some more cross compiler prefixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3724 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 22:40:58 +00:00
oripel
df2695bba1 Added support for different prefixes for gcc on non-Windows platforms
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3715 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 21:26:08 +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
32dfb7e181 both _=? and /D= now require a space before them so they can safely remove the space from $CMDLINE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3692 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-01 21:15:24 +00:00
kichik
0ba42540df updated some comments
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3682 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 18:50:04 +00:00
kichik
8759dcc315 fixed gcc 3.4 compile errors
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3673 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 18:05:16 +00:00
kichik
010dd61226 return 0 if the uninstaller was successfully copied and executed, not -1
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3671 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 14:56:16 +00:00
kichik
66ad756138 added NSIS_CONFIG_COMPONENTPAGE_ALTERNATIVE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3669 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 11:22:46 +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
92d5893afa added an optional flag called USE_PRECOMPILED_EXEHEADS
set it to 1 to force the makefile to use the precompiled exehead .h files that come with NSIS releases


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3662 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 13:27:56 +00:00
kichik
efce592be4 use RegCreateKeyEx instead of RegCreateKey to hopefully solve the 64-bit Windows 2003 Server problem with WriteRegStr
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3661 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 12:58:43 +00:00
kichik
d7ca86c446 don't try to delete a directory after reboot if it's not even valid
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3659 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 11:26:35 +00:00
kichik
91af95e1ef don't forward WM_COMMAND if it was handled
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3644 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-03 12:52:29 +00:00
kichik
5364b5da62 initialize g_db_hFile with INVALID_HANDLE_VALUE so the handle 0 will not be closed in CleanUp() if loadHeaders() is never called
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3634 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-20 14:16:11 +00:00
kichik
e1deb281f7 set NSIS Error title for invalid temporary directory error message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3633 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-20 14:14:51 +00:00
eccles
cd663b221e request #990249 - Speedup BGGradient painting (was actually a bug)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3632 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-19 22:05:19 +00:00
kichik
d855dafe58 fixed build warnings (including bug report #1005303 )
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3628 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-14 17:35:05 +00:00
kichik
c3ec520071 patch #1005845 - Warning fix for bin2h.c
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3621 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-13 19:28:25 +00:00