Commit graph

1377 commits

Author SHA1 Message Date
kichik
36683c9f87 added GetResourceOffsetA/W()
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5305 212acab6-be3b-0410-9dea-997c60f758d6
2007-10-03 17:01:19 +00:00
kichik
cc72c11f4f moved icon related functions to icon.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5304 212acab6-be3b-0410-9dea-997c60f758d6
2007-10-03 13:31:56 +00:00
kichik
31a9a49502 size optimization - better values for status_update
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5280 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-21 18:20:12 +00:00
kichik
266267ba61 fixed plug-in system's SetDetailsPrint usage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5277 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-18 22:02:44 +00:00
kichik
2f4d9ad346 missing null terminator
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5271 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-08 21:01:13 +00:00
kichik
754fe7bc49 added SetRegView lastused
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5269 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-08 17:27:28 +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
e2b948ae02 tabs to spaces and some other minor clean-ups
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5247 212acab6-be3b-0410-9dea-997c60f758d6
2007-08-18 17:15:08 +00:00
joostverburg
842dcbf544 * Use shfolder.dll for CSIDL_COMMON_DOCUMENTS on 95/98 if possible
* Information about API calls for special folders


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5245 212acab6-be3b-0410-9dea-997c60f758d6
2007-08-18 12:44:23 +00:00
kichik
35e1cf7b86 better solution - don't old functions and not shfolder but still try to get all user's version from the os (though tests show it will return current user's version anyway)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5238 212acab6-be3b-0410-9dea-997c60f758d6
2007-08-17 16:20:26 +00:00
kichik
b55ecee8cd fixed bug #1766268 - $SMPROGRAMS incorrect on Windows 98
use shfolder.dll only on ME and for all users's $APPDATA for which it was introduced


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5237 212acab6-be3b-0410-9dea-997c60f758d6
2007-08-17 16:16:40 +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
joostverburg
0865910e56 fixed escaped quotes in macro parameters
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5225 212acab6-be3b-0410-9dea-997c60f758d6
2007-08-09 00:19:37 +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
b23a7560ee fixed bug #1758873 - do not link to stdc++ when using aCC
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5218 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-23 18:59:35 +00:00
kichik
8e716ed458 applied patch #1758863 - Patch for building on GCC and aCC
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5217 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-23 18:43:07 +00:00
kichik
8e1b521859 real implementation for IsValidCodePage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5211 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-18 19:26:16 +00:00
kichik
6133677dba get rid of some #ifdef _WIN32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5210 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-18 19:21:38 +00:00
kichik
30d04c642b added HWND
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5209 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-18 19:21:30 +00:00
kichik
3e9377d5b2 moved non-win32 CharNextExA implementation to util.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5208 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-18 19:18:00 +00:00
kichik
d56004079e fixed bug #1755148 - hpux build linkage specification in main
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5206 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-17 16:45:13 +00:00
kichik
9841c1ec97 fixed bug #1753063 - CVS test failure on hppa
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5205 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-16 18:28:18 +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
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
161ac2adf2 fixed bug #1752328 - PFNSHGETFOLDERPATHA is stub only and very Windows, move from Platform.h to util.c
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5197 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-12 16:35:13 +00:00
joostverburg
b5cfb1ce4a moved definition to Platform.h and removed useless function calls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5196 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-10 21:57:33 +00:00
joostverburg
5648dd2ace When available, use shfolder.dll to get special folder locations. This allows folders like the application data folder for all users to be used on Windows 95/98 when Internet Explorer 5 is installed.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5195 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-10 21:33:06 +00:00
kichik
a87208a617 test content as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5194 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-07 09:30:14 +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
ba9dbe7dab some more information on the EN_MSGFILTER hack
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5184 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-27 18:54:52 +00:00
kichik
44e366f9da changed __ALLOW_UNALIGNED_DATA_ACCESS__ to NSIS_HPUX_ALLOW_UNALIGNED_DATA_ACCESS
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5182 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-27 14:16:07 +00:00
kichik
81afed0591 applied patch #1714416 - patch to build on hpux
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5181 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-27 14:15:00 +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
3f42fa8804 another focused invisible control problem when hitting the Show Details button that also hides that button
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5162 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-08 17:15:19 +00:00
kichik
48e7afd214 fixed bug #1733692 - Hitting any key in the instfiles page freezes under W2K
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5161 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-08 17:11:54 +00:00
kichik
ce67363581 applied patch #1722147 - equalized compiler errors
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5151 212acab6-be3b-0410-9dea-997c60f758d6
2007-05-23 14:14:38 +00:00
kichik
24ce3ca0dd make $PROGRAMFILES and $COMMONFILES available in the uninstaller as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5141 212acab6-be3b-0410-9dea-997c60f758d6
2007-05-01 20:53:45 +00:00
kichik
20f2d537f9 fixed bug #1709460 - Command line help for MessageBox is incomplete
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5138 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-29 21:02:13 +00:00
kichik
c7415aa497 util.cpp requires version.lib
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5134 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-27 18:40:22 +00:00
kichik
eee3006998 removed code duplication for installer/uninstaller in GenerateLangTables
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5128 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-26 20:49:14 +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
e06dcdcae6 fixed bug #1707823 - VS_FIXEDFILEINFO undefind in util.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5124 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-26 18:24:35 +00:00
kichik
be3c7fe39c use current codepage to convert font name to unicode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5122 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-25 19:20:41 +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
f4c9414545 added $EXEFILE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5120 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-24 19:09:51 +00:00