Commit graph

159 commits

Author SHA1 Message Date
icemank
3b0cc4f1c4 Added support for standard predefines ala C++, i.e., __DATE__, __TIME__, __TIMESTAMP__, __FILE__, __LINE__
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2634 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 15:09:27 +00:00
ramon18
1ea2160310 Version Information now rely on languages, some more updates on named uservars, maybe last one before official release :) (preview UserVars.nsi - doesn't compile yet)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2633 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 00:06:23 +00:00
ramon18
397234a5bd Updated TODO.txt; New methods to change VersionInformation, this time is completed customizable by the script, default code page and language retrieved from OS, but can be changed by script too; fixed problem with some chars like ©
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2625 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-10 04:35:09 +00:00
ramon18
f758230f19 Comments like C/C++; Added commands to support VersionInformation (VIProductVersion, VIProductName, VICompanyName, VIComments, VILegalTrademarks, VILegalCopyrights, VIDescription); Support to named user variables (up to 500) but disabled by define
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2623 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-09 18:59:14 +00:00
kichik
6d9d1cc82d Language detection works for primary only again. It was broken since 1.14, heh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2621 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-08 14:45:56 +00:00
kichik
e1bbe6ff1b initialize and destroy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2615 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-05 21:55:40 +00:00
kichik
2b611d8f70 All acceptable warnings now contain a file name and a line number
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2614 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-05 21:53:52 +00:00
kichik
e406ae6c1c Process the auto-appeneded part of InstallDir at compile-time
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2613 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-05 20:33:33 +00:00
kichik
6ba786734b SectionIn RO should not override /o
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2589 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-29 08:46:55 +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
0568d17ef7 LicenseBkColor now supports /windows (default = white) and /grey (default = grey)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2570 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-25 17:51:20 +00:00
kichik
3c29d31593 - NSISdl will now take the installer's style
- Little typo in script.cpp


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2569 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-25 17:10:14 +00:00
kichik
519bb0f50a Section -name working again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2566 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-25 13:02:00 +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
c69d3ed5e4 A bit more clearer code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2547 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-11 18:30:38 +00:00
kichik
65806e3b4b Check for 8bpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2541 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-09 19:50:16 +00:00
kichik
d506d0879a Bug #730056 fixed - empty license file error added
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2514 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-30 12:40:37 +00:00
kichik
b3308d1d7f Two File /r commands should work again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2513 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-30 12:20:03 +00:00
kichik
6af992f85d "Bug" #685834 fixed - implemented a more natural recursion that descends into every directory and not only into those caught by the given spec
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2508 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-29 16:28:30 +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
e720007649 Faster compilation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2464 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-17 15:27:12 +00:00
kichik
4f54f7fc16 Missed a return, IfErrors works again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2421 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-04 11:34:03 +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
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
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
586bbd99d1 An option to change the text in the script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2363 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-26 18:04:03 +00:00
kichik
5afc7ec7d4 Added LicenseForceSelection radiobuttons|checkbox
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2362 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-26 17:47:46 +00:00
kichik
4deb16c190 Missing parameter, thanks willowufgood
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2351 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-22 12:38:16 +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
84d1984c25 b4 (CVS) label
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2343 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-20 11:33:35 +00:00
kichik
eedc453420 HEX number for text color in BGGradient
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2339 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-18 20:43:52 +00:00
kichik
bad48f1a0a Some space saving changes, /NOCUSTOM and /COMPONENTSONLYONCUSTOM work together and infastructures for future changes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2338 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-18 20:36:52 +00:00
kichik
070d1f136a Leave function for custom pages too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2335 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-18 15:45:25 +00:00
kichik
156648c9d5 AddBrandingImage doesn't depend on the UI now. Can now set the branding image on the bottom and on the right too, and set a custom padding value
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2334 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-18 13:53:29 +00:00
kichik
1c6dc531e6 Added FlushINI
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2319 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-17 13:23:01 +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
b97418269b Cancel button available on all pages after the instfiles page but the last page unless /ENABLECANCEL was used in its Page command
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2246 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-06 21:24:19 +00:00
kichik
55d936db3c Page and UninstPage should not be used inside sesctions/functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2241 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-06 16:46:01 +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
4a9c33f569 - b3 version numbers
- last page before instfiles define now works as really planned. it will only be defined if really the last one before instfiles.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2227 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-03 13:51:46 +00:00
kichik
8d60e504f3 EnumRegKey/Value output_var check fixed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2223 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-01 12:44:33 +00:00
kichik
42a72140cd - b2 version number
- bug with commands starting with ! and ending with \ in if blocks fixed


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2216 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-26 15:28:55 +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
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
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
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
0aed08e3f7 + Leave function for pages
+ Components page text always shown if Page components used


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2080 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-24 19:40:20 +00:00