Commit graph

1479 commits

Author SHA1 Message Date
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
kichik
427d583f68 added $PROGRAMFILES32, $PROGRAMFILES64, $COMMONFILES32 and $COMMONFILES64
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5072 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 13:54:47 +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
bcf3899e68 instead of forwarding the X button to the Next button when the Cancel button is disabled on the last page, simply disable the X button when the Cancel button is disabled (part of bug #1267491)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5067 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-13 19:59:30 +00:00
kichik
bebb041789 more of bug #1676243 - compiler warnings on Linux
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5066 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-13 10:29:24 +00:00
kichik
85c529d0f0 fixed bug #1699609 - linux CVS FTBFS
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5065 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-13 09:54:54 +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
kichik
cdc43e825c fixed bug #1699474 - file /a does not preserve folder attributes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5062 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-12 19:24:21 +00:00
kichik
a96f348c0a fixed some warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5059 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:42:46 +00:00
kichik
4cf73d2316 replaced WCStrLen with winchar_strlen
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5058 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:37:08 +00:00
kichik
df24dbe687 winchar_strlen and winchar_strdup can use const WCHAR
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5057 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:33:18 +00:00
kichik
a8f8c50538 replaced WCStrLen with winchar_strlen
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5056 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:32:24 +00:00
kichik
5dcb76d379 fixed some warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5055 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:27:19 +00:00
kichik
480be96fcd cast warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5054 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:15:25 +00:00
kichik
3608995944 added -Wno-non-virtual-dtor for 7zip files on gnu configuration for bug #1676243
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5051 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 20:54:00 +00:00
kichik
122d84ddf2 no more need for char* cast
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5042 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-09 19:44:16 +00:00
kichik
e369347bf6 use const char for myGetProcAddress
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5041 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-09 18:01:20 +00:00
pabs3
bf9eb86c42 Fix FTBFS on Linux due to missing definition of MB_USERICON
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5037 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-04 08:15:19 +00:00
kichik
53442f4f53 applied patch #1682748 - installer icon for message box
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5036 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-03 11:19:36 +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
kichik
82d6166fdf signed/unsigned comparison
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5027 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-01 17:38:31 +00:00
kichik
4249c6107b don't delete if it wasn't allocated
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5020 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-31 13:36:25 +00:00
kichik
5107637e7e fixed access violation in case m_vItems[i]->szClass is an int resource
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5014 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-31 09:21:51 +00:00
kichik
576446db5e more of patch #1644712 - new compiler predefines
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4999 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-18 18:33:28 +00:00