Commit graph

1503 commits

Author SHA1 Message Date
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
kichik
96491877f2 applied patch #1706624 - GetDLLVersionLocal VXD support on NT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5118 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-24 14:24:18 +00:00
kichik
a4fe984390 use GetDLLVersion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5117 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-24 14:11:35 +00:00
kichik
b8888a69bd added GetDLLVersion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5116 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-24 14:06:50 +00:00
kichik
1bc9b4e075 fixed plug-in calls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5114 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-21 09:37:59 +00:00
kichik
2fbf967106 plug-in runs on windows, path is with backslashes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5113 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-21 09:02:11 +00:00
kichik
ee27bc04fc use GetFullPathName instead of manually adding the working directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5112 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-20 23:46:05 +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
72c2e4c211 validate $EXEPATH as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5107 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-19 21:47:12 +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
0ef9426b45 added $EXEPATH
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5105 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-19 21:38:11 +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
9bcbddcd83 don't pre-process "ProgramFilesDir" and "CommonFilesDir" as they are not processed in GetNSISString
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5103 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-19 20:40:34 +00:00
kichik
6440139e8e use $PROGRAMFILES for the root of the default $COMMONFILES instead of hard-coding "C:\Program Files"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5102 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-19 20:02:24 +00:00
kichik
04cb60bc69 don't start showing pages if quit was called in the show function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5096 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-17 19:12:24 +00:00
kichik
22a81bc536 CResourceEditor was broken on big endian platforms since 2.24 because IMAGE_NT_OPTIONAL_HDR32_MAGIC had improper definition
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5094 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 22:14:16 +00:00
kichik
7074b59044 tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5093 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 22:12:48 +00:00
kichik
24f43a6214 fixed bug #1701290 - linux FTBFS: stubs and librarylocal
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5088 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 20:15:00 +00:00
kichik
2613019430 fixed bug #1701050 - Senseless variable warning
better warning - variable never set


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5081 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-15 20:39:16 +00:00
kichik
f1c873ba36 implemented RFE #1564986 - block unsupported language
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5080 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 23:03:40 +00:00
kichik
acaecfdade implemented RFE #1235616 - Variable to get language *name*
added $(^Language)


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5079 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 22:30:31 +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