Commit graph

810 commits

Author SHA1 Message Date
anders_k
3a3d2202a7 Added GetDllVersion /ProductVersion switch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7310 212acab6-be3b-0410-9dea-997c60f758d6
2021-08-30 00:06:25 +00:00
anders_k
52d6782447 Added GetWinVer instruction
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7309 212acab6-be3b-0410-9dea-997c60f758d6
2021-08-29 18:39:07 +00:00
anders_k
41bb557cbc Added !uninstfinalize (patch 280)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7294 212acab6-be3b-0410-9dea-997c60f758d6
2021-08-18 13:53:50 +00:00
anders_k
a2641b17d8 Disallow STARTF_USESHOWWINDOW+SW_MAXIMIZE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7289 212acab6-be3b-0410-9dea-997c60f758d6
2021-08-04 17:10:36 +00:00
anders_k
f69251d87e (C) 2021
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7245 212acab6-be3b-0410-9dea-997c60f758d6
2021-01-01 20:27:52 +00:00
anders_k
2ef929b513 Fixed SetBrandingImage crash
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7205 212acab6-be3b-0410-9dea-997c60f758d6
2020-08-01 01:40:47 +00:00
anders_k
5c78d6fafe Try to work around the mingw-w64 kernel32:OpenThreadToken library issue
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7192 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-29 23:08:12 +00:00
anders_k
8f0822bc5a Don't perform workaround on 98/ME
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7191 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-28 22:02:50 +00:00
anders_k
85bd2746a0 Only perform component list redraw hack on 95/NT4 to avoid flicker
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7190 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-28 21:55:37 +00:00
anders_k
e73d05f1f5 LoadAndSetImage can return the image handle
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7179 212acab6-be3b-0410-9dea-997c60f758d6
2020-05-01 13:15:03 +00:00
anders_k
b704d52400 Added a file association example to install-per-user.nsi
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7167 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-13 19:16:10 +00:00
anders_k
821b4d6a18 DeleteRegKey /ifempty now also checks for values
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7166 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-12 18:25:21 +00:00
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
1f355d992c Added IfRtlLanguage and GetRegView
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7153 212acab6-be3b-0410-9dea-997c60f758d6
2020-03-10 18:16:39 +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
b19a694ad5 Allow up to 4 GiB of 3rd-party appended data.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7098 212acab6-be3b-0410-9dea-997c60f758d6
2019-06-16 14:08:43 +00:00
anders_k
7a6c9e52b0 LR_CREATEDIBSECTION breaks modern.bmp so we must disallow TopDown CheckBitmaps
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7085 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-14 23:06:33 +00:00
anders_k
40451b29d7 Support TopDown CheckBitmap
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7084 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-14 22:59:08 +00:00
anders_k
797e745de5 Added LoadAndSetImage instruction
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7078 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-03 20:53:13 +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
bfdec13982 List plug-in directories when plug-in call fails
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7011 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-25 21:33:30 +00:00
anders_k
13301228a0 Preload NTMARTA.DLL for Windows 7
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6984 212acab6-be3b-0410-9dea-997c60f758d6
2018-03-13 19:35:35 +00:00
anders_k
d0abb34ae8 Don't allow scripts to delete a HKEY root
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6964 212acab6-be3b-0410-9dea-997c60f758d6
2018-01-05 12:53:01 +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
bcef923727 Try to avoid clobbering SysLink GWLP_USERDATA
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6949 212acab6-be3b-0410-9dea-997c60f758d6
2017-11-05 18:36:33 +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
1a039ca71f Added IntPtrCmp, IntPtrCmpU, Int64Cmp and Int64CmpU
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6930 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-14 16:49:40 +00:00
anders_k
34e9873d5f Added IntPtrOp alias
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6929 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-13 21:23:33 +00:00
anders_k
99235da725 Added IntOp and System::Int64Op >>> SHR operator
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6926 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-08 15:26:54 +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
daa57f1f33 Optimize away more calls to GetModuleHandle(0) with __ImageBase under MSVC
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6918 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-06 13:21:51 +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
kichik
1f66c3bcb0 more vc6 weirdness
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6885 212acab6-be3b-0410-9dea-997c60f758d6
2017-07-24 00:28:26 +00:00
anders_k
88e2fd42d0 Logging build now prints EW_SETFLAG changes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6876 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-23 12:59:44 +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
204dbb0443 Added WriteRegNone
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6863 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-29 16:25:18 +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
kichik
1b11115193 log build fix for anders
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6851 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-18 19:21:53 +00:00
anders_k
fbd57e00c1 Added MUI_PAGE_CUSTOMFUNCTION_DESTROYED so custom image handles can be cleaned up
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6844 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-03 17:35:57 +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
aec58509b4 Fixed unbalanced push/pop in MUI_UNGETLANGUAGE (MUI v1)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6836 212acab6-be3b-0410-9dea-997c60f758d6
2017-01-20 21:15:49 +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
859c2ad6eb Added basic WriteRegMultiStr support (RFE #382, patch #219)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6829 212acab6-be3b-0410-9dea-997c60f758d6
2016-12-29 21:59:35 +00:00
anders_k
7f2ca3cdee Fixed bug #1122 StrCpy maxlen inconsistent behavior
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6810 212acab6-be3b-0410-9dea-997c60f758d6
2016-12-05 15:44:19 +00:00
anders_k
d0a461cbca Undo Lockwindow Off fix from [r6789] because it caused the taskbar button to become invisible!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6793 212acab6-be3b-0410-9dea-997c60f758d6
2016-10-12 19:31:57 +00:00