anders_k
68db5f04ee
Added GetKnownFolderPath
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7154 212acab6-be3b-0410-9dea-997c60f758d6
2020-03-12 23:43:51 +00:00
anders_k
89fb04d0f6
(C) 2020
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7148 212acab6-be3b-0410-9dea-997c60f758d6
2020-01-01 21:13:57 +00:00
anders_k
62d9a4c2f7
(C) 2019
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7072 212acab6-be3b-0410-9dea-997c60f758d6
2019-01-07 14:30:06 +00:00
anders_k
49471b3d84
(C) 2018
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6962 212acab6-be3b-0410-9dea-997c60f758d6
2018-01-02 01:51:26 +00:00
anders_k
8de72ec7b1
Added Int64Fmt
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6931 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-15 16:57:26 +00:00
anders_k
09134d125e
Save a couple of bytes by comparing the UTF16LE BOM as a 16-bit number
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6920 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-06 17:47:21 +00:00
anders_k
9f91316be0
Added experimental ManifestDPIAwareness attribute so we can declare PerMonitorV2 awareness
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6899 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-14 17:10:33 +00:00
anders_k
2553c6e550
$LocalAppData now resolves to the ProgramData folder in the "SetShellVarContext all" context
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6875 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-23 01:11:30 +00:00
anders_k
94dd438510
Added the HKCR32, HKCR64, HKCU32, HKCU64, HKLM32 and HKLM64 root keys and the experimental HK*ANY root keys.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6871 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-06 19:51:43 +00:00
anders_k
bcef20b32d
Bring back optimized mystrcpy(tmpbuf, _T("NUL")) from NSIS2
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6869 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-05 21:43:07 +00:00
anders_k
f5a9b401df
Don't use ShellExecute, only ShellExecuteEx
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6867 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-05 01:01:28 +00:00
anders_k
b558dea54d
Unsupported SetRegView mode must fail all registry operations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6865 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-04 22:48:13 +00:00
anders_k
d39ef1d219
Variables used in Caption can now be set in .onGuiInit (RFE #539 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6860 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-22 18:10:19 +00:00
anders_k
c1c2ccb4a6
Fixed SetRegView and $ProgramFiles[32|64] in 64-bit installers
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6841 212acab6-be3b-0410-9dea-997c60f758d6
2017-03-22 00:46:25 +00:00
anders_k
024e01a71e
Added ExecShellWait
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6839 212acab6-be3b-0410-9dea-997c60f758d6
2017-03-21 22:04:40 +00:00
anders_k
3659de8e37
(C) 2017
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6834 212acab6-be3b-0410-9dea-997c60f758d6
2017-01-02 03:51:39 +00:00
anders_k
1967160500
Copyright 2016
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6720 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-11 19:16:38 +00:00
anders_k
510fb334c8
Fixed some typos (Most of them found by codespell/Stefan Weil)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6704 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-04 20:14:06 +00:00
anders_k
a0d918b472
Preload more dlls for Vista and 7 without KB2533623
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6700 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-04 18:32:01 +00:00
anders_k
667abcff94
Kill warning with a cast in Ansi version of RunChildProcessRedirected. CppUnit still uses Ansi util.cpp?
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6662 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-08 01:54:30 +00:00
anders_k
d7d6c3561d
Change the ACL on our %temp% directories (bug #1125 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6657 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-07 20:49:46 +00:00
anders_k
726bf760cd
Load system modules with full paths
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6647 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-29 13:54:35 +00:00
anders_k
e83197997e
bug #1125 : Don't load modules from the application nor current directory.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6645 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-28 13:32:54 +00:00
anders_k
6be5d8d07d
Delay load Version.dll to avoid dll hijacking [bug #1125 ]
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6642 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-25 13:13:42 +00:00
anders_k
6eaea6479f
No need to delayload MoveFileEx, OpenProcessToken, LookupPrivilegeValueW and AdjustTokenPrivileges on Win9x.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6635 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-15 23:06:57 +00:00
anders_k
caf00a1195
myGetProcAddress now uses a full path to the system directory when calling LoadLibrary to avoid application directory dll hijacking of SHFolder.dll
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6634 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-06 02:42:35 +00:00
anders_k
7b814407a3
Fixed NSIS_CONFIG_LOG_STDOUT output in Unicode exehead
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6629 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-31 18:52:07 +00:00
anders_k
252adb2f39
Use myWriteFile helper function in exehead
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6628 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-31 16:27:34 +00:00
anders_k
b54c831ff0
FileReadUTF16LE skips optional BOM and FileWriteUTF16LE can write a BOM with the /BOM switch
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6626 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-26 23:29:39 +00:00
anders_k
286edd20c4
* Basic System::Call support when compiling with 64-bit MinGW/GCC toolchain
...
* Win64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6607 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-17 14:30:07 +00:00
anders_k
cd4363aca8
Exec[Wait] now sets the CREATE_DEFAULT_ERROR_MODE flag when creating a new process
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6579 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-18 18:52:41 +00:00
anders_k
9ff4b3ef43
(C) 2015
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6577 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-06 21:43:39 +00:00
anders_k
2afe5ca95e
Fake the LPTSTR type if necessary for MakeNSIS on POSIX
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6567 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-26 23:22:27 +00:00
anders_k
6adc39c848
Math plugin needs tchar.h
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6561 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-23 16:02:16 +00:00
anders_k
edd80964a7
Tabs to spaces and minor cleanup
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6514 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-05 11:55:28 +00:00
anders_k
45e4a6251b
InitiateShutdown is used to reboot the machine if available (patch #247 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6506 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-27 16:30:16 +00:00
anders_k
36deb84820
64bit fixes and optimizations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6486 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-19 22:03:09 +00:00
anders_k
c75a00bbe7
2014 and fixed some minor typos
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6478 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-13 15:51:45 +00:00
anders_k
a03795783a
Must pass count of TCHARs to _LogData2Hex so we don't overflow the buffer in unicode stubs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6468 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-08 20:12:26 +00:00
anders_k
d799ee53d7
Basic Win64 support (MSVC)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6439 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-08 00:13:52 +00:00
anders_k
928f0f78e5
FindFirst short-name fallback trick not required in Unicode stubs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6406 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 23:26:00 +00:00
anders_k
942ea1d465
Win64 fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6405 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 23:04:23 +00:00
anders_k
19b9a3e65a
Use ReadFile helper function in exehead
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6395 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-25 19:18:34 +00:00
kichik
1554dac424
limit ansiName[] size so long string build doesn't break
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6359 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-19 23:24:50 +00:00
anders_k
bd591bf196
200? -> 2013
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6352 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-17 19:31:36 +00:00
anders_k
7cc150c464
MakeNSIS can now generate Unicode or Ansi installers based on a script attribute. SCons generates both Ansi and Unicode stubs and plugins.
...
The official plugins are now stored in architecture specific subdirectories under NSIS\Plugins. !AddPluginDir also gained a new (optional) architecture flag because MakeNSIS now stores separate plugin information for each target architecture. Storing plugins in the root of the Plugins directory is no longer supported.
MinGW does not implement the unicode CRT startup functions so the entry point functions and linker parameters had to be changed. The unicode tools use the ansi entry point and a small helper function that calls into the real code: _tmain has full argc+argv emulation while wWinMain does not pass the command line parameters. The stubs do not use any CRT functions and have no CRT or unicode helper code, they call our entry point directly.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6269 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-13 01:47:50 +00:00
anders_k
c6fdb4436d
Fix GCC array bounds warning when accessing g_usrvars
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6258 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-06 22:43:31 +00:00
anders_k
ee59b7f723
MGA_SHGetKnownFolderPath is not used by anyone
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6166 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-09 08:51:28 +00:00
anders_k
b93d008d64
Switch param type to LPCTSTR
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6123 212acab6-be3b-0410-9dea-997c60f758d6
2010-09-24 18:43:04 +00:00
anders_k
22e730301c
Fix for bug #3072159 - UNexpected Changes to Directory Attributes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6122 212acab6-be3b-0410-9dea-997c60f758d6
2010-09-21 21:56:49 +00:00