Commit graph

88 commits

Author SHA1 Message Date
lundberg
a05d48e80d Fix copyright defect and add missing icon 2017-11-27 15:15:40 -06:00
Severin Glöckner
e0cebdd402 desktop_entry: include high resolution icons
wesnoth-optipng has been applied to the new images
2017-11-27 01:52:36 +01:00
David Seifert
533c0b8005 Use GNUInstallDirs to specify directories
* GNUInstallDirs is the only Kitware-supported
  way to change the default directories. Most
  distributions have hooks for changing these
  directories, which makes integrating wesnoth
  easier and more consistent with the rest of
  the CMake ecosystem.
* Make build system perfectly out-of-source
  compatible. The build system should never
  touch files in the source tree.
2017-11-17 13:41:32 -06:00
Alexander van Gessel
77ebb27222 Modify other scons files too 2017-09-21 15:41:57 +02:00
loonycyborg
da721f7a77 scons: pass -F pe-i386 to windres for 32-bit multilib builds 2015-12-23 16:25:32 +03:00
loonycyborg
87e8fbb425 Update sidebar graphic for windows installer
Commit shadowm's updated banner image for installer's
sidebar fixing bug #24187
2015-12-18 17:58:19 +03:00
aquileia
e22555a107 Windows Installer: Remove --config-dir from shortcuts
Flag was superseded by 795dd8c42
2015-10-21 13:25:51 +02:00
aquileia
f986fe7063 Fixup Finnish translation in 10023c9290 2015-08-31 12:46:11 +02:00
aquileia
10023c9290 Windows uninstaller: Add option to delete userdata dir 2015-08-31 03:15:03 +02:00
aquileia
5c1047d372 Windows installer: Don't force GPL on end users
Fix bug #21769 by changing 'I Agree' to 'Next'.
2015-08-15 11:06:38 +02:00
aquileia
79b7bf1777 Windows Installer: Update icons 2015-08-08 04:24:01 +02:00
aquileia
d8b5e7b3c1 Windows installer: Remove userdata dir selection
Due to UAC, especially virtualization of the Programs directory, it is preferable to force 'My Games' as the location.
2015-08-08 03:53:05 +02:00
aquileia
c7ffe8dfd7 Windows installer: Update to NSIS 3
Compatibility changes:
- Plugins moved to a different directory

New Features:
- Unicode installer
- Could now detect Windows 8 - 10
2015-08-08 03:53:05 +02:00
aquileia
4a272b301d Windows installer: Use FILE /oname to avoid copying files 2015-08-08 03:53:04 +02:00
aquileia
1c3fa278ff Windows installer: Cut down on shortcuts
From the impressive number of 9 start menu shortcuts, 2 were removed.

An additional 4 were removed for Windows 8, where the app list can't collapse folders.
2015-08-08 03:53:04 +02:00
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