Commit graph

123 commits

Author SHA1 Message Date
aquileia
12066d87c5 Windows Installer: Translate 'Battle for Wesnoth' and shortcuts
The title is now localized, as are the start menu shortcuts. As localized
titles can be longer than the English string, a third line was explicitly
added to the welcome page (else NSIS cuts the line in half).

The manual shortcut points to the translated manual version, if available.

Due to lack of Unicode support in NSIS 2, only translations matching the
codepage are displayed correctly.

The desktop.ini file isn't removed during uninstallation as it may contain
info on other programs, e.g. if the player chose to place the shortcuts in
'Games'.
2015-08-08 03:53:04 +02:00
aquileia
46af40eb61 Windows Installer: Add GPL translations
Source:
https://www.gnu.org/licenses/old-licenses/gpl-2.0-translations.html
http://www.gnu.org/licenses/translations.html

Changes:
- Links to the English original added in the headers.
- Portuguese translations reindented to fit width of textbox.
- Reference between Chinese GPLs removed.
- UTF8 BOM added (else NSIS doesn't recognize the encoding).

Thanks to @chisquare130 (Xara) for checking the Chinese versions.
2015-08-08 03:53:03 +02:00
aquileia
01dfc6783f Windows installer: Remove components page
We only have one module anyways, thus there's no choice in the component selection menu.
2015-08-08 03:53:03 +02:00
loonycyborg
add65e316a NSIS: Properly remove (with console) shortcut during uninstall 2015-07-29 19:54:14 +03:00
aquileia
ff34814956 Update Windows icon
Updated logo (new version by Srgt. Groovy), added 256x256 high-resolution version
2015-07-27 21:07:24 +02:00
aquileia
d279aa4afe vcproj: Fixes and cleanup
Fixed an issue caused by 659b9a4 - the 'Start Debugging' option was
basically useless as the process terminates itself if OMP_WAIT_POLICY
isn't defined.

Cleaned up unnecessary configurations for WindowsTimeout.

Fixed duplicate manifest.

Disabled WML unit tests on MSVC Debug builds as they would quintuple build
duration (over 60s per test).

Re-enabled stdout redirection in WML_tests.cmd to avoid spamming the
command line.

Updated vcproj for daa2140 (added multimenu widget).
2015-07-26 15:05:38 +02:00
Ignacio R. Morelle
c353981e88 Remove obsolete/unused resource file 2015-07-20 21:17:57 -04:00
Ignacio R. Morelle
877ead550a Add Windows resource file for wesnothd 2015-07-20 21:16:04 -04:00
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