Commit graph

165 commits

Author SHA1 Message Date
loonycyborg
a6ae18a9b5 scons: ensure that windres finds config.h 2015-07-17 04:02:07 +03:00
Ignacio R. Morelle
7465f04e0a Add correct version numbers to the Windows resource file
For the numeric fields, this means we get to treat all X.Y.Z versions as
X.Y.Z.0, and there's no string suffix for those for obvious reasons. Not
that anyone cares, really.

Now we get a pretty name for our client process in the Task Manager too,
hooray!

(Also cleaned-up some of the placeholder code that was left here by
loonycyborg.)
2015-07-16 20:06:13 -04:00
Ignacio R. Morelle
055ce30ac8 Include windows.h instead of winuser.h directly
Otherwise we get additional definitions and includes which the Microsoft
Resource Compiler can't handle (resulting in RC4011 warnings, for
example).
2015-07-15 19:11:29 -03:00
loonycyborg
50d248c1db Windows: preliminary addition of VERSIONINFO resource
Need to figure out how to get actual version yet.
2015-07-15 13:38:14 +03:00
Ignacio R. Morelle
ec74ea24a4 Merge branch 'feature/gui2-game-version-dialog' 2015-07-14 20:51:52 -03:00
Ignacio R. Morelle
e119f4071f Add manifest declaring compatibility with Windows 8.1 and 10
This is needed so GetVersionEx doesn't lie to us on these versions.

MSVC++ people: I have no idea how this will interact with your building
procedure, if at all. In particular, I believe MSVC++ is supposed to
produce its own manifest declaring our dependencies on the MSVC++
runtime libraries, and it may or may not emit the compatibility
information as well.
2015-07-14 20:51:28 -03:00
Ignacio R. Morelle
aa924e7a5f Remove DISCARDABLE icon attribute from the Win32 resources table
<https://msdn.microsoft.com/en-us/library/windows/desktop/aa380908%28v=vs.85%29.aspx>
2015-07-14 20:51:28 -03:00
loonycyborg
980434ce96 Windows installer: added a start menu shortcut to run wesnoth with console 2015-07-14 19:03:40 +03:00
loonycyborg
88fa71e32d Remove "run now" option from windows installer
It causes wesnoth to be run with installer's privileges which is
security concern and also might result in confusing behavior wrt
location of stdout.txt and stderr.txt files.
2015-06-20 16:24:31 +03:00
Mark de Wever
a8bba9d597 Specify which server is started for systemd. 2012-08-25 07:06:16 +00:00
Sergey Popov
c62cccd0ab Added support for installing a systemd unit file for wesnothd 2012-08-24 15:55:19 +00:00
Steven Panek
b411197207 Set svn:eol-style; unset svn:executable. 2011-01-02 22:06:20 +00:00
Sergey Popov
47b7b0b96e NSIS script: automatically generate version number for name of userdata dir. 2010-05-07 10:55:25 +00:00
Sergey Popov
cac5902055 Removed some cruft. 2010-02-16 20:26:34 +00:00
Sergey Popov
bb80a38f3c Made the main section in the NSIS installer mandatory. 2010-02-16 20:22:21 +00:00
Sergey Popov
7666ea8193 Made windows installer write uninstall information...
...so Wesnoth will appear in Add/Remove Programs.
2009-06-29 18:28:06 +00:00
Sergey Popov
493df6d073 Bumped versnion in the name of userdata dir...
...and removed some cruft in windows installer script.
2009-06-29 09:29:04 +00:00
Sergey Popov
8aa73c0840 Added start menu shortcuts for changelogs and license. 2009-04-04 14:38:38 +00:00
Sergey Popov
fe805d4d92 Add version number to the name of start menu folder. 2009-04-04 13:23:38 +00:00
Sergey Popov
45e1f336a1 Use env.AddMethod to add custom methods. 2009-03-20 20:49:23 +00:00
Sergey Popov
5672a271b6 Made Gentoo ebuild depend on virtual/libintl unconditionally.
Since sources include libintl.h and currently there's no way to disable
that.
2009-03-20 12:54:36 +00:00
Sergey Popov
c88cf6ded1 Bump version number to 1.6 in the name of userdata directory...
...used by windows installer.
2009-03-18 22:59:50 +00:00
Sergey Popov
19104ebed3 Merged some changes from ebuild by forum user MrAnderson. 2009-03-08 15:00:38 +00:00
Sergey Popov
ceb360dd58 Refactored the Gentoo ebuild and removed smallgui USE-flag. 2009-03-04 21:43:15 +00:00
Sergey Popov
a0ca28dfb9 Committed Gentoo ebuild for 1.5.12 2009-03-04 17:08:31 +00:00
Sergey Popov
f236ab51c7 Added NSIS installer page to specify where to store userdata. 2009-02-19 18:42:42 +00:00
Sergey Popov
4af1b8aeb1 Fixed generated NSIS installer trying to install "translations" dir...
...as a file if it doesn't exist at the time WindowsInstaller method
is called.
2009-01-21 16:01:45 +00:00
Sergey Popov
0c9bd12eba Added "windows-installer" alias which fully automates windows packaging. 2009-01-21 12:07:32 +00:00
Sergey Popov
08e96799ea Fixed bug #12716
Windows icon was apparently screwed by imagemagick convert.
Committed fixed icon by submitter of abovementioned bug.
2008-12-16 16:32:40 +00:00
Sergey Popov
2f76ada0c0 Made shortcuts created by NSIS installer pass --config-dir. 2008-12-05 18:39:58 +00:00
Sergey Popov
9b2e60e696 Added provisions to NSIS script to install Python standard library (Lib and DLLs dirs). 2008-11-18 16:39:10 +00:00
Sergey Popov
9ed022e402 Committed McShark's updated CodeBlocks and dev-cpp project files.
Removed project files from packaging/windows. Only kept packaging, not
compiling stuff there.
2008-11-08 20:51:27 +00:00
Sergey Popov
4c42f9a3d8 NSIS uninstaller wasn't reading install settings from HKCU...
...if per-user install was used. Fixed.
2008-11-04 17:46:26 +00:00
Sergey Popov
c1456d5d94 Made NSIS use correct registry entries and default installation...
...directory depending on install mode(per-user or per-machine).
2008-11-03 20:30:36 +00:00
Sergey Popov
01919680b5 Corrected some paths in NSIS script. 2008-10-07 09:22:25 +00:00
Sergey Popov
8463aa43ac Made NSIS installer use editor icon for editor shortcut. 2008-10-05 10:15:28 +00:00
Sergey Popov
cc1c3e9de2 Made shortcut for editor created by NSIS installer call built-in editor.
(Run wesnoth.exe with -e parameter)
2008-10-04 14:28:38 +00:00
Sergey Popov
e865b5a635 Removed old editor from scons build system. 2008-10-04 11:03:29 +00:00
Sergey Popov
e15f804586 Made use of MultiUser.nsh NSIS header...
...to make mixed-mode per-machine/per-user installer thus fixing bug
#12360
2008-09-29 16:25:44 +00:00
Sergey Popov
ba1d5c0879 Made NSIS installer append wesnoth version to installation directory...
...and registry key name.
2008-09-25 17:20:31 +00:00
Sergey Popov
21ae62036d Removed some cruft. 2008-09-20 13:09:16 +00:00
Sergey Popov
052f826f77 Fixed a mistake in NSIS script template. 2008-09-14 19:05:19 +00:00
Sergey Popov
4a4d5b5c3c Added start and finish pages to NSIS installer...
...and made use of installer graphic.
2008-09-14 13:49:51 +00:00
Sergey Popov
8b5b55b275 Made NSIS script install manual and readme files. 2008-09-12 12:07:27 +00:00
Sergey Popov
44c1e5e4fe Fixed error with scons 0.96.93 2008-09-11 13:33:20 +00:00
Sergey Popov
c113ceb808 Made generated nsis script create shortcuts and install dlls. 2008-09-11 13:27:11 +00:00
Sergey Popov
5bc2b68226 Fix env.RES builder on scons 96.93 2008-09-04 20:07:37 +00:00
Sergey Popov
a876af47f4 Fix crash in WindowsInstaller() if some targets are disabled. 2008-09-04 14:54:46 +00:00
Sergey Popov
e27d2291b4 Added a NSIS script template and scons target to generate script from it.
The template is very WIP.
2008-09-03 08:23:44 +00:00
Sergey Popov
10f4842197 SCons recipe:
- Forward PATH environment variable on windows.

- Empty CPPPATH for windres.
2008-05-31 12:07:06 +00:00