Commit graph

562 commits

Author SHA1 Message Date
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
icemank
c9456e766f Moved setting of __DATE__ and __TIME__ predefines.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2670 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-23 16:25:07 +00:00
icemank
0b6ed99e50 Modified set_timestamp_define to use FileTimeToLocalFileTime instead of SystemTimeToTzSpecificLocalTime, since the latter is unsupported in Win 9x.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2669 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-23 15:12:49 +00:00
kichik
3505d41bbb The path is validate when the real uninstaller starts. There is no need to validate twice.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2658 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-18 16:27:02 +00:00
kichik
0b4f2a9809 No longer 8, there is a flag with a name now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2657 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-18 16:26:47 +00:00
ramon18
ab91077049 Dynamic allocation of needed user variables (exehead grew 512 bytes).
Independed user vars in uninstaller and installer


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2656 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-17 23:59:13 +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
5d16b56c9e validate_filename was b0rked
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2649 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-16 12:40:53 +00:00
icemank
bbc605eeac Added dotted notation for macro ${__LINE__} predefine
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2643 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-13 15:59:30 +00:00
kichik
dff6515865 Compiles with NSIS_SUPPORT_VERSION_INFO
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2641 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-13 14:04:33 +00:00
kichik
9633f0363d second free goes boom
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2640 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-13 12:52:42 +00:00
icemank
6a63c810be Reorganized code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2639 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-13 03:48:29 +00:00
kichik
6d246677db Safer __TIMESTAMP__, __FILE__, and friends
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2638 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 22:44:45 +00:00
icemank
b523639b83 Better handling of macros and one line commands for standard predefines.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2637 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 21:50:17 +00:00
icemank
96a02d10ca Fixed handling of macros and command line /X option for standard predefines.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2635 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 16:14:03 +00:00
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
a798cabcff Safer "bug" report 750338
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2618 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-07 10:59:11 +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
a68f3ac2e1 don't edit fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2612 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-05 13:15:56 +00:00
kichik
7c03da12b8 kilo, mega, giga and byte are not processed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2606 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-02 14:58:51 +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
a95e02c4d2 VC7 - unsigned/signed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2584 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-27 14:51:00 +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
4ba745368c $SMPROGRAMS, $SMSTARTUP, $DESKTOP, $STARTMENU and $QUICKLAUNCH working again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2567 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-25 13:12:07 +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
1e785dee33 Plugins code fixed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2565 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-24 19:39: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
051fd2a73c Wrong boundary
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2549 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-12 16:12:48 +00:00
kichik
8471501cfb Some more checks when finding icon resources offsets - no more crashes when UPX compresses the icons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2548 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-12 15:34:58 +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
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
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
30ce5f1c45 ADD_FONT not SET_FONT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2539 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-09 18:33:02 +00:00
kichik
3cdfec78cf "Bug" 733817
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2538 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-09 12:25:32 +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
06c268f01c Bug #728281 fixed - system menu has everything enabled (including maximize) on Windows 9x
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2502 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-28 16:30:28 +00:00
kichik
5dde782d41 Padding, padding, padding...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2492 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-23 20:33:23 +00:00
kichik
b9232e643c Compiles without NSIS_SUPPORT_CODECALLBACKS again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2487 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-23 15:40:59 +00:00
kichik
71bd07561a Bug report 725319 - sort of
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2483 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-21 22:24:35 +00:00