Commit graph

769 commits

Author SHA1 Message Date
anders_k
7cc150c464 MakeNSIS can now generate Unicode or Ansi installers based on a script attribute. SCons generates both Ansi and Unicode stubs and plugins.
The official plugins are now stored in architecture specific subdirectories under NSIS\Plugins. !AddPluginDir also gained a new (optional) architecture flag because MakeNSIS now stores separate plugin information for each target architecture. Storing plugins in the root of the Plugins directory is no longer supported.

MinGW does not implement the unicode CRT startup functions so the entry point functions and linker parameters had to be changed. The unicode tools use the ansi entry point and a small helper function that calls into the real code: _tmain has full argc+argv emulation while wWinMain does not pass the command line parameters. The stubs do not use any CRT functions and have no CRT or unicode helper code, they call our entry point directly.



git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6269 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-13 01:47:50 +00:00
anders_k
4b62ecbb31 Added ManifestDPIAware attribute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6266 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-20 18:42:21 +00:00
anders_k
da2fe44184 Add ManifestSupportedOS attribute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6265 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-20 10:18:40 +00:00
anders_k
f2ee8319f0 Docs: Limit pre tag line width
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6251 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-06 22:26:12 +00:00
anders_k
1348ac341b Update zlib download URL
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6247 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-04 23:19:49 +00:00
anders_k
adbdce4c47 Docs: Fix escape warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6221 212acab6-be3b-0410-9dea-997c60f758d6
2012-03-06 01:21:30 +00:00
anders_k
200b6c0831 Clarify GetCurInstType documentation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6218 212acab6-be3b-0410-9dea-997c60f758d6
2012-03-01 21:12:50 +00:00
anders_k
382b2fa282 Unicode fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6216 212acab6-be3b-0410-9dea-997c60f758d6
2012-02-28 22:40:43 +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
bc9f86d506 Halibut: Allow macros to work across files (Upstream rev4803)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6213 212acab6-be3b-0410-9dea-997c60f758d6
2012-02-24 12:56:57 +00:00
anders_k
b3dc58c704 Added ${NSIS_PACKEDVERSION} predefine
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6211 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-15 20:07:37 +00:00
anders_k
dca62fbbc7 Added <<, >> and >>> !define /math operations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6199 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 21:04:47 +00:00
anders_k
67d0b165b1 Added !if S==, S!=, = and <> compare ops and hex/int/float parsing support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6198 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 19:14:45 +00:00
anders_k
8b457d1aa2 Halibut: Always generate fragment for chapter links in htmlsingle mode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6194 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-03 20:07:28 +00:00
anders_k
33770dcd4f Halibut: Remove filename for self relative links in htmlsingle mode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6193 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-03 19:50:02 +00:00
anders_k
bd797ad934 Halibut: Include NSIS svn revision in meta generator tag
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6192 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-03 18:16:36 +00:00
anders_k
bbb592401a Replaced CHMDOCS build switch with DOCTYPES=chm,html,htmlsingle
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6190 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-02 23:18:34 +00:00
anders_k
dd72b0a0ed Docs: Added some section keywords and fudged TargetMinimalOS min-version
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6188 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-30 23:30:29 +00:00
anders_k
c21cccc591 Halibut: Added \cfg{xhtml-keywordfragments}{BOOL} for named fragments
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6187 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-30 22:17:17 +00:00
anders_k
79dbea3321 Added !getdllversion [Bug#2809308,RFE#1873767]
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6186 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-21 20:13:30 +00:00
anders_k
443e7f4dc2 Added and updated MSVC6 and 2003Feb SDK links
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6185 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-20 23:32:00 +00:00
anders_k
de46637e02 Changed section index is stored in $0 during .onSelChange callbacks
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6184 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-20 22:03:21 +00:00
anders_k
ddd7e92b3a Fixed two typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6178 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-17 20:53:44 +00:00
anders_k
3d9c850bb5 Added !macroundef
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6177 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-17 18:54:49 +00:00
anders_k
8cde6958a8 Added ${__MACRO__}
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6171 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-13 17:31:14 +00:00
anders_k
20dcb1923a Added !if /FileExists
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6170 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-13 15:34:43 +00:00
anders_k
3cd6ebbf39 Added VIFileVersion instruction and fixed version info resource default language
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6160 212acab6-be3b-0410-9dea-997c60f758d6
2011-07-29 22:11:00 +00:00
f0rt
737a5c8468 Allow building with a specific win32 targeted cross compiler (#3305366)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6156 212acab6-be3b-0410-9dea-997c60f758d6
2011-06-25 19:29:38 +00:00
kichik
041a8a9881 applied patch #3307144 - more cross links in documentation (whyeye)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6152 212acab6-be3b-0410-9dea-997c60f758d6
2011-05-28 18:45:57 +00:00
anders_k
3bfdffb45b Fixed typo
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6138 212acab6-be3b-0410-9dea-997c60f758d6
2011-03-11 05:27:37 +00:00
kichik
cab33acee9 fixed dup section names
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6127 212acab6-be3b-0410-9dea-997c60f758d6
2010-11-13 21:07:31 +00:00
wizou
73501896d4 Updated documentation and file functions for Unicode support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6119 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-09 15:12:21 +00:00
wizou
4d19aaa9ab Adding new ${__FILEDIR__} preprocessor define containing directory of current script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6108 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-17 10:11:29 +00:00
wizou
90e0a201df documenting !finalize
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6104 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-16 14:19:51 +00:00
anders_k
fbc7cb8fd0 Fixed and documented !if & operator
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6099 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-11 16:33:10 +00:00
anders_k
f0fb5aafea small grammar fix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6098 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-10 20:54:25 +00:00
anders_k
d526c78d05 Added !define /ifndef and !define /redef optional arguments
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6097 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-10 20:42:50 +00:00
wizou
70ccef9cbc Unicode: Fixed some scripts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6068 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-21 08:55:35 +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
f0rt
34395604e8 #2918870: Ensure minimum scons version of 1.2.0 otherwise build scripts won't work.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6044 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-30 12:27:15 +00:00
f0rt
b402798885 #2918870: Detect Win32 zlib in flat and include/lib directory structure, updated INSTALL and build documentation, removed obsolete Source\zlib\DEFLATE.H.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6039 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-27 15:52:04 +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
b8260593ec oops... typo
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6034 212acab6-be3b-0410-9dea-997c60f758d6
2010-02-20 16:19:41 +00:00
f0rt
c39ffff404 applied patch #2918870 - use of the zlib compression library provided by the system
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6030 212acab6-be3b-0410-9dea-997c60f758d6
2010-02-07 21:24:09 +00:00
kichik
ea124294a7 added Asturian by Marcos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6026 212acab6-be3b-0410-9dea-997c60f758d6
2010-02-06 13:19:47 +00:00
kichik
1872573b9e 2.46
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6007 212acab6-be3b-0410-9dea-997c60f758d6
2009-12-05 22:33:50 +00:00
kichik
c076d135e7 nicer halibut scons code
should make a proper builder out of this

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6001 212acab6-be3b-0410-9dea-997c60f758d6
2009-11-29 23:12:45 +00:00
pabs3
ad67841b87 Remove outdated information about System::Call being missing when built with GCC. Patch by Thomas Gaugler <thomas@dadie.net>
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5994 212acab6-be3b-0410-9dea-997c60f758d6
2009-07-05 15:15:44 +00:00
kichik
c7bb0d6bd1 typo
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5985 212acab6-be3b-0410-9dea-997c60f758d6
2009-06-06 19:59:07 +00:00