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
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
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
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
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
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
anders_k
accab7bdbd
Try FOLDERID_LocalAppDataLow\Temp as last ValidateTempDir() attempt for Low IL aka Protected IE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6121 212acab6-be3b-0410-9dea-997c60f758d6
2010-08-19 21:10:30 +00:00
anders_k
633b3e6a95
fixed signed/unsigned warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6111 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-04 20:15:48 +00:00
wizou
408a5d5169
Adapting CHAR4_TO_DWORD-style constructions. No change in exehead.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6054 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 15:51:48 +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
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
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
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
joostverburg
5648dd2ace
When available, use shfolder.dll to get special folder locations. This allows folders like the application data folder for all users to be used on Windows 95/98 when Internet Explorer 5 is installed.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5195 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-10 21:33:06 +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
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
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
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
kichik
6ea14b45da
size optimization
...
it's official. even msdn now says SHGetMalloc returns the same allocator CoTaskMemFree uses and a little debugging backs this even on Windows 95
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4978 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-06 20:35:53 +00:00
kichik
c145d69e55
2006 -> 2007
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4847 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-13 17:28:23 +00:00
kichik
a92506d828
fixed bug #1542530 - WriteUninstaller fails to overwrite read-only uninstallers
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4822 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 11:32:19 +00:00
joostverburg
e497d771b1
* The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0
...
* Added license and copyright notice to every source file
* The new COPYING file and license section in the Users Manual list the terms of all relevant licenses
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4787 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-28 19:45:02 +00:00
kichik
a4724a1d6b
match log_text in util.c
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4649 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-07 16:21:16 +00:00
kichik
d0f1bae314
applied patch #1340255 - nicer registry commands log
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4415 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-24 16:45:04 +00:00
kichik
a99b2db925
my_GlobalAlloc no longer reduces the size
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4256 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 16:32:26 +00:00
kichik
8e3f7ed623
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4254 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 15:21:45 +00:00
kichik
86ccf99b80
added auto completion to the directory page
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4236 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-02 11:35:45 +00:00
kichik
f5105a50b1
size optimization: added __stdcall wrapper for lstrcat
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4210 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 12:47:46 +00:00
kichik
d41f11b8d1
get rid of extra spaces in is_valid_instpath so "C:\ " will not be valid
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4203 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-30 12:33:20 +00:00
kichik
010dc75a71
converted RMDir back from SHFileOperation to the good old manual method
...
- RMDir can now be used with both /r and /REBOOTOK
- RMDir /r no longer leaves lots of files behind if one file removal failed
- The plug-ins directory is now always deleted, if not immediately, then after reboot
- RMDir /r prints a detailed log of its actions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3597 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 17:03:07 +00:00
kichik
499fa0e764
fixed a bug which prevented enabling the next button from the leave function of InstallOptions pages
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3544 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 16:07:22 +00:00
kichik
f4a1f17299
- updated the makefiles and code to allow compliation with MinGW once again (some of patch #875485 by perditionc)
...
- fixed errors and warnings given by gcc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3513 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-12 20:43:54 +00:00
kichik
4a8e19199a
only free the PIDL in DirProc, don't parse it too so g_tmp gets overwritten with the entire path instaed of just the display name
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3472 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-06 22:37:46 +00:00
kichik
b1a527c4ce
made the command line parser not ignore any switch just before it didn't have a switch before it
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3461 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 20:03:30 +00:00
kichik
bb4413a2c6
fixed logging
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3424 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-27 18:44:31 +00:00
kichik
fcd2c16685
- fixed limit on LangStrings and user variables number which was lower than designed. limit is now 16383 for both.
...
- made log window respond to the context menu key and not just right click
- set back the default style for the next after it's re-enabled
- set focus on main controls for every page (can still hit enter for next)
- added code to prevent weird usage of WM_COMMAND which can cause weird behavior such as disabled next button on the components page
- eccles fixed a bug which caused beeping when the space key is hit on the components tree
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3351 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 17:05:03 +00:00
kichik
8a85e1c0dd
fixed branding text background color not updating when the system's color change
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3329 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-29 14:27:33 +00:00
kichik
c385a40332
Back to former exehead overheads (zlib, bzip2 - 34, lzma - 34.5)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3299 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 18:50:47 +00:00
ramon18
660bbf5e2d
Added ShConstants.h to makenssi project
...
Size optimization on ui.c
Some fixes in Shell Folders code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3297 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 14:02:15 +00:00
ramon18
2589a5fc85
Code clean up, removed NSIS_SUPPORT_NAMED_USERVARS and NSIS_SUPPORT_LANG_IN_STRINGS
...
Added support for many new constants which get shell folders path without using the registry
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3296 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 00:28:30 +00:00
kichik
ac025c139c
Added NSIS_CONFIG_LOG_ODS that makes the log use OutputDebugString instead of install.log.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3194 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 14:22:50 +00:00
kichik
6d63dd3a58
- Fixed ComponentText without InstTypes
...
- Made it impossible to install to non-existing drives/removable drives with no media
- Fixed a crash caused by using a LangString in InstallDir
- No more Windows error message when a registered DLL dependency can't be found
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2957 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-23 19:01:19 +00:00
kichik
60c7829e3a
Fixed overwrite failure on Windows 2000/XP/2003 when the existing file was hidden
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2889 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-09 14:25:16 +00:00
kichik
74ea2dc585
* PageEx - every page can be used everywhere and as many times as needed
...
* DirVar - easy way to add another dir page
* default strings in the language file (Page directory is enough, no need for DirText)
* strings from the language file are now LangStrings that can be used in the script
* no more /LANG - one string for all languages
* any lang strings can be used everywhere, installer or uninstaller (no un.)
* no more unprocessed strings - variables can be used almost everywhere (except in licenseData and InstallDirRegKey)
* DirText parm for browse dialog text
* SetBkColor -> SetCtlColors - can now set text color too
* fixed SetOutPath and File /r bug
* fixed File /a /oname bug
* added $_CLICK for pages
* added quotes support in lang files (patch #752620 )
* extraction progress
* separate RTL dialogs for RTL langs (improved RTL too)
* InstallOptions RTL
* StartMenu RTL
* fixed RegDLL?
* added IfSilent and SetSilent (SetSilent only works from .onInit)
* fixed verify window (it never showed) (bug #792494 )
* fixed ifnewer readonly file problem (patch #783782 )
* fixed wininit.ini manipulation when there is another section after [rename]
* fixed some ClearType issues
* fixed a minor bug in the resource editor
* fixed !ifdef/!endif stuff, rewritten
* lots of code and comments clean ups
* got rid of some useless exceptions handling and STL classes (still much more to go)
* lots of optimizations, of course ;)
* updated system.dll with support for GUID, WCHAR, and fast VTable calling (i.e. COM ready)
* minor bug fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2823 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-04 18:25:57 +00:00