Commit graph

229 commits

Author SHA1 Message Date
anders_k
da7d67e69d CreateShortCut > CreateShortcut
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6453 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-28 16:21:39 +00:00
anders_k
1e17d02ff7 Added CreateShortcut /NoWorkingDir optional parameter
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6452 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-28 16:17:07 +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
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
55738e1385 Optimize FileReadByte/FileReadWord
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6400 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-28 14:46:24 +00:00
anders_k
d387a32658 FileRead in Unicode installers can handle DBCS, conversion output is limited to UCS-2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6399 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-27 23:09:54 +00:00
anders_k
ebe96fe79c Don't limit Lnk path A2W conversion to 1024 WCHARs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6397 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-27 17:40:38 +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
anders_k
a5f0809ee9 FileReadByte should not do any kind of conversion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6394 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-25 18:27:02 +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
bd2afdb1f3 Fix HDC leak in CreateFont
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6275 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-09 23:17:33 +00:00
anders_k
2d99d7ad3e Removed unused variables and fixed GCC warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6259 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-08 02:50:09 +00:00
anders_k
2c89cca183 FileRead is problematic on unicode, just document it for now and hope we can fix it later...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6214 212acab6-be3b-0410-9dea-997c60f758d6
2012-02-24 15:25:55 +00:00
anders_k
0617c9d3e7 Changed SetWindowLong to SetWindowLongPtr and removed WNDPROC related casts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6180 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-19 15:41:45 +00:00
wizou
24c02b97d0 Unicode port: adding UTF-16LE file functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6089 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-17 15:11:29 +00:00
wizou
36f6645935 Added comments, and removed unused #include
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6056 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 16:27:00 +00:00
wizou
759ae312b5 Reducing exehead by 9 bytes and making Anders happy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6053 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 14:27:51 +00:00
wizou
f5df185ba2 Fix exehead unicode compil warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6048 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-13 15:01:14 +00:00
wizou
64a0f32e52 more simple TCHARs fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6047 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-12 16:00:17 +00:00
wizou
acf9a8c21f Jim Park's Unicode NSIS merging - Step 4 : merging more TCHAR stuff that shouldn't have any impact
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6041 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-29 14:24:47 +00:00
wizou
cdf7735a77 Jim Park's Unicode NSIS merging - Step 2 : merge TCHARs changes into trunk
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6037 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-26 17:18:17 +00:00
wizou
752d7d239a Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-24 17:22:56 +00:00
kichik
9f7710ace6 applied patch #2920342 - add error checking to SetCurrentDirectory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6029 212acab6-be3b-0410-9dea-997c60f758d6
2010-02-06 17:04:37 +00:00
kichik
0aed504f4a happy new year!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5917 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-01 14:44:30 +00:00
kichik
4f8b10e589 gcc fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5819 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 23:10:07 +00:00
kichik
4859b8702e move definitions common to both plug-ins and stubs to api.h (part of patch #2359978)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5815 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:53:39 +00:00
kichik
4c30821aa5 applied patch #1912699 - "Pinned" / always loaded plugins support
this patch also adds plugin_api_version to exec_flags so your plug-in can now tell if features it needs are available
more plug-ins that need this will be converted once the patch to make both the stubs and the plug-ins use the same header file is in place

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5809 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 22:03:33 +00:00
kichik
f45c62e9a4 applied patch #1992325 - Logging - Change CreateDirectory logging to show recursion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5651 212acab6-be3b-0410-9dea-997c60f758d6
2008-06-13 17:25:03 +00:00
kichik
c382bd2071 applied patch #1986692 - Close LOG file when LogSet is set to Off.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5647 212acab6-be3b-0410-9dea-997c60f758d6
2008-06-13 16:31:14 +00:00
kichik
2675599a31 happy new year!
bug #1855805

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5429 212acab6-be3b-0410-9dea-997c60f758d6
2007-12-22 09:41:57 +00:00
kichik
b0978fc844 move SetDetailsPrint flag to g_exec_flag and added a lastused capability to EW_SETFLAG
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5268 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-08 17:20:11 +00:00
kichik
68abd8a09e buf1, not buf (patch #1768584)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5234 212acab6-be3b-0410-9dea-997c60f758d6
2007-08-11 17:03:18 +00:00
pabs3
13989c1965 Prevent FTBFS due to using log_printf3 instead of log_printf2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5220 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-27 00:55:47 +00:00
kichik
7af66a4a9c a bit more logging
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5219 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-24 19:06:34 +00:00
kichik
6b5f50b4d6 let GetStringFromParm call validate_filename
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5201 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-14 10:53:35 +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
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
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
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
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
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
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