kichik
b5df399991
restore fs redirection only if it was set in the first place
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5119 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-24 16:16:05 +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
5729a94efd
added codepage
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5115 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-24 11:20:18 +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
ec2d800d42
build #Source files into LibraryLocal's build dir instead of into #Source
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5108 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-20 11:35:29 +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
99208104ad
don't fail when filename starts with a number
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5101 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-19 18:24:13 +00:00
kichik
2263524b66
allocate g_sdata.script_cmd_args as GMEM_MOVEABLE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5100 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-18 18:19:02 +00:00
kichik
c72c1d9520
free riched32.dll outside of the wndproc
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5099 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-17 20:49:23 +00:00
kichik
7d1f948631
- properly allocate size in AddScriptCmdArgs
...
- do clean-up in WM_DESTROY, not only WM_CLOSE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5098 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-17 20:41:17 +00:00
kichik
f91406647a
some more warnings of bug #1676243
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5097 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-17 20:05:56 +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
9b15ba192b
fixed bug #1701879 - linux LibraryLocal FTBFS
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5095 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-17 18:30:30 +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
2e9e986454
more details for RFE #971467
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5092 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 21:17:37 +00:00
kichik
45e24287fc
removed double initialization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5091 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 21:03:54 +00:00
kichik
820a1bb7a9
fully intialize g_sdata and delete g_sdata.script_cmd_args
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5090 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 21:00:53 +00:00
kichik
ec12005638
spaces to tabs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5089 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 20:28:55 +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
pabs3
4f35575dd6
Fix warning about uninitialised variable
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5087 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 07:34:17 +00:00
kichik
677c489be1
use LibraryLocal on POSIX as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5086 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-15 21:34:38 +00:00
kichik
4091b86fda
build as cross platform
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5085 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-15 21:29:01 +00:00
kichik
d47e43aecb
added support for POSIX platforms
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5084 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-15 21:27:41 +00:00
kichik
bfeb923c89
return "no languages available" when combo box is empty of any reason, like no language with matching codepage
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5083 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-15 21:12:19 +00:00
kichik
91fc282157
added codepage
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5082 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-15 21:07:57 +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
6d43d45f19
nicer options
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5078 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 17:04:55 +00:00
kichik
a25547816b
added x64 support for library macros
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5077 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 16:58:57 +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
ce5f73cdd2
tabs to spaces
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5075 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 15:05:02 +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
e12bf400fd
some formatting
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5073 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 13:59:49 +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