Commit graph

211 commits

Author SHA1 Message Date
wizou
64a0f32e52 more simple TCHARs fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6047 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-12 16:00:17 +00:00
wizou
acf9a8c21f Jim Park's Unicode NSIS merging - Step 4 : merging more TCHAR stuff that shouldn't have any impact
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6041 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-29 14:24:47 +00:00
wizou
cdf7735a77 Jim Park's Unicode NSIS merging - Step 2 : merge TCHARs changes into trunk
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6037 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-26 17:18:17 +00:00
wizou
752d7d239a Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-24 17:22:56 +00:00
kichik
9f7710ace6 applied patch #2920342 - add error checking to SetCurrentDirectory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6029 212acab6-be3b-0410-9dea-997c60f758d6
2010-02-06 17:04:37 +00:00
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
4f8b10e589 gcc fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5819 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 23:10:07 +00:00
kichik
4859b8702e move definitions common to both plug-ins and stubs to api.h (part of patch #2359978)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5815 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:53:39 +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
f45c62e9a4 applied patch #1992325 - Logging - Change CreateDirectory logging to show recursion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5651 212acab6-be3b-0410-9dea-997c60f758d6
2008-06-13 17:25:03 +00:00
kichik
c382bd2071 applied patch #1986692 - Close LOG file when LogSet is set to Off.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5647 212acab6-be3b-0410-9dea-997c60f758d6
2008-06-13 16:31:14 +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
b0978fc844 move SetDetailsPrint flag to g_exec_flag and added a lastused capability to EW_SETFLAG
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5268 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-08 17:20:11 +00:00
kichik
68abd8a09e buf1, not buf (patch #1768584)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5234 212acab6-be3b-0410-9dea-997c60f758d6
2007-08-11 17:03:18 +00:00
pabs3
13989c1965 Prevent FTBFS due to using log_printf3 instead of log_printf2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5220 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-27 00:55:47 +00:00
kichik
7af66a4a9c a bit more logging
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5219 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-24 19:06:34 +00:00
kichik
6b5f50b4d6 let GetStringFromParm call validate_filename
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5201 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-14 10:53:35 +00:00
kichik
9a3d40b9dd and if IPeristFile::Save isn't called, fail
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5193 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-06 10:21:04 +00:00
kichik
5ccacf1781 don't call IPeristFile::Save if MultiByteToWideChar fails
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5192 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-06 10:11:43 +00:00
kichik
05ddf4bfc7 size optimization - use GetStringFromParm instead of wsprintf
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5191 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-06 09:55:20 +00:00
kichik
9d8874cd72 the more common case for SendMessage is ints, so get that first
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5190 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-06 09:31:57 +00:00
kichik
035579824d size optimization - use GetNSISString and GetStringFromParm instead of mystrcat
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5188 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-05 17:43:22 +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
8a8844bcb8 size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5127 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-26 20:26:04 +00:00
kichik
f44be03eeb size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5111 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-20 23:40:05 +00:00
kichik
fa5602f290 sections always end with EW_RET which will cause ExecuteCodeSegment to return before MulDiv is called with progress_bar_len=0 and even if it is 0, MulDiv will just return -1
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5110 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-20 20:50:33 +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
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
37c4571620 RegDeleteKeyExA typedef missing return value
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5074 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 14:12:37 +00:00
kichik
a3e46a1b13 don't try deleting from the 32-bit view when RegDeleteKeyExA isn't found but g_exec_flags.alter_reg_view is set
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5071 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 12:55:00 +00:00
kichik
357c44ac38 added SetRegView to allows access to the x64 registry view
this method was chosen over a new switch for all regsitry commands to allow easy transition of existing scripts


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5070 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 12:50:32 +00:00
kichik
053b859a6f fixed bug #774966 - CopyFiles return value not working on NT4 Sp6
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5063 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-12 20:24:13 +00:00
pabs3
e873b82b53 Kill some more compiler warnings under Linux and mingw32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5031 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-02 10:29:35 +00:00
pabs3
ed044c3046 FTBFS due to using the wrong log_printf function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4981 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-07 09:26:19 +00:00
kichik
faac838b4e report error in log for WriteReg* when RegSetValueEx itself fails and not only RegCreateKeyEx
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4980 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-06 21:22:37 +00:00
kichik
b00c69290f size optimization - no need for both GetEnvironmentVariable and ExpandEnvironmentStrings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4970 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-03 14:18:20 +00:00
kichik
28dfd60e1d skip_root returns NULL, if buf1 is NULL, so there's no need to check again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4925 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-10 14:23:10 +00:00
kichik
5201b056ba fixed bug #1638191 - have RegDLL use LoadLibraryEx with LOAD_WITH_ALTERED_SEARCH_PATH
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4865 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-23 18:16:57 +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
kichik
a92506d828 fixed bug #1542530 - WriteUninstaller fails to overwrite read-only uninstallers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4822 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 11:32:19 +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
f1a6014174 size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4633 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-05 18:44:28 +00:00
kichik
015723663b export validate_filename for plug-ins
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4556 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-07 14:14:25 +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
58b07e69c6 applied patch #1381929 - StrCmpS - case-sensitive string comparison
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4468 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-06 16:00:15 +00:00
kichik
8eb5de9e74 added 0x prefix to dword reg values
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4423 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-24 21:17:47 +00:00
kichik
def20ae25b ifdef to get rid of binbuf unused variable warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4416 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-24 16:50:10 +00:00
kichik
d0f1bae314 applied patch #1340255 - nicer registry commands log
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4415 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-24 16:45:04 +00:00
kichik
d6367e4125 my_GlobalAlloc no longer reduces the size
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4255 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 16:08:44 +00:00