Commit graph

211 commits

Author SHA1 Message Date
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
148c9a1b86 Fixed VIAddVersionKey failing on empty inputs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2881 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 10:38:34 +00:00
kichik
2fba235c29 fixed SetOverwrite and added ifdiff option
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2876 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-07 16:46:50 +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
kichik
da9d5eb4db Fixed error flag when creating directories with UNC paths
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2761 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-21 11:30:57 +00:00
kichik
caa31c9cd5 - Fixed all known problems with temporary files and directoroes
- Command line switches work again (/NCRC and /S)
- GetTempFileName now takes another argument as base directory (default is $TEMP)
- Message boxes work from .onGUIEnd
- Some more optimizations


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2739 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-18 14:22:17 +00:00
kichik
2adb778918 Added EnableWindow
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2727 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-16 22:36:18 +00:00
kichik
7d6958e253 fixed CreateDirectory error flag
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2723 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-16 18:03:07 +00:00
kichik
a3cf4bd4ad Compiles with log enabled
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2721 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-16 09:15:27 +00:00
kichik
e6dd2ada8a tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2713 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-12 15:19:49 +00:00
ramon18
323c9af320 Fixed QUIT problem inside custom pages, user-variables activated and command "Dim" changed to "Var", language strings inside other strings are replaced
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2704 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-08 23:18:47 +00:00
ramon18
054db45f63 Special section of data for user vars, whitch allow compiler to assign the right size and no code needed in exehead for mem allocs. Warnings for unreferenced user vars. (758773) Error, if temp file not available, now directory is created if not exist.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2673 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-23 22:40:11 +00:00
ramon18
a558797625 Language strings inside any other strings, $$ defines fix, both currently disabled by defines, support for /LANG in command VIAddVersionKey
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2652 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-16 19:58:29 +00:00
kichik
c38b889fe8 Added AllowSkipFiles - thanks Ramon!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2576 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-26 17:55:15 +00:00
kichik
564ca077d8 - Improved installation types behaviour
- .onSelChange no longer called when the components page is created
- First section is selected at compile time - changes in .onInit stick
- Added SectionSetSize / SectionGetSize
- Added SetCurInstType / GetCurInstType
- Added InstTypeSetText / InstTypeGetText - ability to change (and add and remove) installation types on runtime
- NSIS_MAX_INST_TYPES is now 32 by default
- InstType texts are now processed ($0, $1, etc. can be used)
- Added /o switch for Section - unselected by default


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2563 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-24 13:50:24 +00:00
kichik
9a092cb98f Sleep back to normal
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2555 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-18 15:56:09 +00:00
kichik
26845a8b74 - BgImage improved a lot
- Added .onGUIEnd
- Some optimizations


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2542 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-09 21:11:14 +00:00
kichik
cf01b06e62 - More strings translatable (K/M/G Byte, registering, unregistering)
- Language specific fonts
- $\t now works too
- More to do


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2475 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-21 13:32:34 +00:00
kichik
18269262a9 Rewrote a lot of the components tree code:
- Added SF_PSELECTED for partially selected sub-sections
- SF_EXPAND now refreshes the components tree
- Fixed problems with sub-sections with RO sections as children
- (-1) sent to .onMouseOverSection when mouse over nothing
- RO sections can now be in InstTypes too (default to old behavior)
- Optimized code


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2436 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-05 12:56:57 +00:00
kichik
6e963b9e91 Added IfAbort
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2412 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-02 19:54:53 +00:00
kichik
4e037ab153 - GetTempFile will now try 100 times before failing
- InitPluginsDir will give an error if unable to initialize


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2406 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-01 18:07:32 +00:00
kichik
8f849c07e5 IfErrors clears the error flag again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2400 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-30 15:08:24 +00:00
kichik
4df5cb4fac Back to 33.5/34
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2392 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-29 17:16:09 +00:00
kichik
34e75bfd21 Buttons from focused license text fixed (return will not work if next button not enabled and escape will work as cancel)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2391 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-29 13:39:48 +00:00
kichik
68c97de740 RMDir /REBOOTOK
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2390 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-29 11:45:22 +00:00
kichik
9cc76210b4 Transparent controls. Use SetBkColor (hwnd) transparent
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2387 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-28 18:41:15 +00:00
kichik
03cafaf818 SetStaticBkColor -> SetBkColor, now works for dialogs, buttons, edit boxes and list boxes (only in IO)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2347 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-20 20:49:13 +00:00
kichik
76c8418de5 WriteINIStr now works with an empty value ("")
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2300 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-15 13:54:23 +00:00
kichik
76183f6fe9 Added SectionSetInstTypes and SectionGetInstTypes, about 70 bytes saved
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2249 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-07 21:10:48 +00:00
kichik
d2e565e55e - Fixed more problems with !if[n]def/!else
- Saved another 10 bytes :)


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2237 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-04 20:33:07 +00:00
kichik
d22c783b7f No need for force reboot, "Therefore, you should only use this flag in an emergency."
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2234 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-04 17:23:59 +00:00
kichik
991dcd5a92 LogSet on should now work
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2221 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-27 14:23:12 +00:00
kichik
2e19d22d39 Optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2215 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-26 15:27:39 +00:00
kichik
3c26c3bfd3 CreateDireectory now sets the error flag only when really needed instead of almost always
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2195 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-20 18:47:58 +00:00
kichik
f9e4da2fea MBCS support for validate_filename and error flag for CreateDirectory/SetOutPath
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2184 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-19 20:36:20 +00:00
kichik
dde73163a8 Wrong SAM
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2163 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-15 11:30:11 +00:00
kichik
b966f77f73 Minimal required security clearance so we'll get by for sure
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2162 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-15 11:07:09 +00:00
kichik
5781c9c9ee - b2 (CVS) version
- NSIS Installer will no longer override .nsi and .nsh association


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2149 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-11 17:58:16 +00:00
kichik
301225562e - Disabled file validation for ExecShell too (can exec URLs)
- Compiles without support for compression too
- Latest compiled version


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2146 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-10 18:43:40 +00:00
kichik
3966f5560c - b1 version numbers
- CreateShortcut works with URLs again, no file name validating though


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2130 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-08 22:57:10 +00:00
kichik
21fa9b890c You ain't never seen this bug. That '_' was never there!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2122 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-08 12:28:32 +00:00
kichik
ae16cbfe3f - Compressor type listed in summary
- SetOutPath now sets the current directory (RegDLL no longer does)
- File names are now validated for commands that need normal files, the directory selection dialog, and every variable that contains a file/dir name
- Fixed a distortion of the MUI's branding text with ClearType
- $INSTDIR is now right in the custom page after the directory selection dialog
- No more squares in the automatically appended directory name in the directory selection dialog
- Size optimizations


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2121 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-07 23:04:25 +00:00
kichik
7531adec7a ClearType + transparent branding text fix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2087 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-28 14:28:56 +00:00
kichik
0274afd413 Installers can now contain more than one branding image
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2085 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-27 17:03:35 +00:00
kichik
6f3fdd6650 BrandingText now automatically resizes for all languages in the MUI
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2082 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-27 15:05:50 +00:00
kichik
1e6abd3457 Delete the old brush if setting the brush twice
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2059 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-11 21:29:55 +00:00
kichik
ac449dae62 Don't create more than one brush per SetStaticBkColor - saved about 50 bytes. Still problems with BrandingText width, working on it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2054 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-09 21:43:01 +00:00
sunjammerx
6d8dc58dae Inverted test of offset[3] for EW_DELREG meant that RegDeleteKey and RegDeleteValue were being swapped.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2036 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-05 15:05:21 +00:00
kichik
270bb06fd3 Update !system, cleaned resource.h, DeleteRegKey works on default value
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2020 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-30 15:33:53 +00:00
kichik
a719722b10 Fixed bug #659045
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2007 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-27 16:31:24 +00:00