kichik
0aed504f4a
happy new year!
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5917 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-01 14:44:30 +00:00
kichik
4c30821aa5
applied patch #1912699 - "Pinned" / always loaded plugins support
...
this patch also adds plugin_api_version to exec_flags so your plug-in can now tell if features it needs are available
more plug-ins that need this will be converted once the patch to make both the stubs and the plug-ins use the same header file is in place
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5809 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 22:03:33 +00:00
kichik
2675599a31
happy new year!
...
bug #1855805
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5429 212acab6-be3b-0410-9dea-997c60f758d6
2007-12-22 09:41:57 +00:00
kichik
edd3c299f7
load shfolder.dll before the script is executed to avoid any usage effects
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5198 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-12 19:15:50 +00:00
kichik
859235383b
fixed bug #1741061 - use SetErrorMode to disable error messages for the entire installer and not for specific points as it always knows best what messages to display
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5172 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-26 18:08:24 +00:00
kichik
f2ae1f6598
remove temp uninstaller directory only once
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5121 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-24 19:14:43 +00:00
kichik
acbd53f905
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5109 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-20 20:32:04 +00:00
kichik
c3e4937efe
better uninstaller recursion test using the new state_exe_path
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5106 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-19 21:38:30 +00:00
kichik
3ab94d5029
size optimization - SetOutPath already sets the working directory so there's no need to pass $OUTDIR to myCreateProcess
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5104 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-19 21:20:17 +00:00
kichik
68907347f5
don't pass ".dll" to myGetProcAddress as GetModuleHandle and LoadLibrary add that automatically
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5076 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 16:05:43 +00:00
kichik
5493360c14
oops... comment line continuation
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4973 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-03 14:23:43 +00:00
kichik
05d910c289
size optimization - use GetNSISString to do complicated stirng processing
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4971 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-03 14:18:49 +00:00
kichik
6ff6d600a7
fixed uninstallers processing of /D=
...
realcmds might point exactly to cmdline, so zeroing cmdline-2 may not affect it
instead, zero cmdline-2, cmdline-1, cmdline and cmdline+1 (entire " /D=")
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4967 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-03 12:49:08 +00:00
kichik
bcb59727b0
applied patch #1660626 - Delete "$TEMP\~nsu.tmp" directory on reboot
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4941 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 15:58:06 +00:00
kichik
36b75d38b8
fail CopyFile of uninstaller in case it already exists
...
this prevents a race condition where Au_.exe is deleted by the current uninstaller and created by another uninstaller before CopyFile is called
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4940 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 15:40:49 +00:00
kichik
8b278be803
use a different temporary variable now that state_command_line is already in use
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4905 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 22:37:46 +00:00
kichik
0243b40a1d
according to MSDN, passing NULL as hModule to GetModuleFileName will get the path for the executable of the process so there's no need for g_hInstance
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4904 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 22:24:26 +00:00
kichik
d01e124228
process command line before setting temporary directory to give the user a chance to use /S
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4903 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 22:08:18 +00:00
kichik
c145d69e55
2006 -> 2007
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4847 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-13 17:28:23 +00:00
joostverburg
e497d771b1
* The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0
...
* Added license and copyright notice to every source file
* The new COPYING file and license section in the Users Manual list the terms of all relevant licenses
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4787 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-28 19:45:02 +00:00
kichik
94f7f3b673
added NSIS_CONFIG_LOG_STDOUT
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4510 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 17:53:00 +00:00
kichik
c16ca4f9fc
2006
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4485 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-20 12:36:30 +00:00
kichik
7a4bdcf90f
size optimization (zlib is back to 34/35)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4459 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-24 16:39:02 +00:00
kichik
872e35f0e7
it's SHGetSpecialFolderLocation not SHGetSpecialFolderPath
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4356 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-22 13:25:10 +00:00
kichik
f3b771634e
fixed bug #1008632 - some special folders don't always work in Windows 9x
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4345 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-21 20:54:44 +00:00
kichik
86ccf99b80
added auto completion to the directory page
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4236 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-02 11:35:45 +00:00
kichik
f5105a50b1
size optimization: added __stdcall wrapper for lstrcat
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4210 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 12:47:46 +00:00
kichik
908c776f9c
set initial working directory of the uninstaller to its temporary directory so RMDir will be able to delete $INSTDIR
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4209 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 12:43:18 +00:00
kichik
59fcee4ca1
fix for patch #1214319 - Uninstaller fails due to DLLs in temp folder
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4139 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-25 16:22:27 +00:00
kichik
62c3903d7f
look for _?= in the entire command line in case realcmds skipped the first and only space
...
as a question mark is an invalid character in file names, this method shouldn't have false positives
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4132 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-23 22:34:35 +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
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
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
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
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
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
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
kichik
010dc75a71
converted RMDir back from SHFileOperation to the good old manual method
...
- RMDir can now be used with both /r and /REBOOTOK
- RMDir /r no longer leaves lots of files behind if one file removal failed
- The plug-ins directory is now always deleted, if not immediately, then after reboot
- RMDir /r prints a detailed log of its actions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3597 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 17:03:07 +00:00
kichik
4c5f8a30eb
- makensis should now compile on any POSIX compliment platform (Linux, *BSD, Mac OS X, etc.)
...
- improved makefiles so nothing is compiled when it's already up-to-date
- Added SW_HIDE to ExecShell's accepted show modes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3518 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-29 20:21:00 +00:00
kichik
f4a1f17299
- updated the makefiles and code to allow compliation with MinGW once again (some of patch #875485 by perditionc)
...
- fixed errors and warnings given by gcc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3513 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-12 20:43:54 +00:00
joostverburg
d3214f7466
license notes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3501 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-23 18:39:50 +00:00
kichik
4e3f2c485e
made the command line parser cut right on /D= and _?= and not one char before. this way foo.exe "bla"/D=..., which appears to be valid in other applications, will not get the last quote cut off.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3468 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-06 16:31:32 +00:00
eccles
5c83974226
cmdline and realcmds might not be pointing to the same string.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3466 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-05 14:06:05 +00:00
kichik
d08b963619
fixed uninstallers (thanks again eccles ;)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3464 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 23:12:54 +00:00
kichik
ff74ffb34b
fixed $CMDLINE corruption (thanks eccles)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3463 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 22:40:36 +00:00
kichik
b1a527c4ce
made the command line parser not ignore any switch just before it didn't have a switch before it
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3461 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 20:03:30 +00:00
kichik
bd25e070c8
- compiles without PSDK again
...
- moved all defines that are missing without PSDK to Platform.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3436 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 22:04:10 +00:00
kichik
de15ecd44b
forced a clean-up of the plugins dir and solid installer's temp file on reboot since the regular one wasn't called on windows 9x
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3434 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-29 23:18:32 +00:00
kichik
0bbeb0b17e
more copyrights 2004
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3364 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-06 21:28:50 +00:00
kichik
d5687e0764
Removed extra back-slash in uninstaller execution path
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3229 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-28 19:04:06 +00:00