101 Commits

Author SHA1 Message Date
pentarctagon
ca0f7a0a17 other copyright updates 2025-02-17 13:17:59 -06:00
Subhraman Sarkar
6e2cbdce54
add icon to windows installer and uninstaller (#8817) 2024-04-28 21:27:10 +05:30
pentarctagon
79ca90648a 2024 copyright update - misc 2024-01-20 22:41:50 -06:00
Iris Morelle
ac16fb150b
campaignd: Correct Win32 resource section's FileDescription 2023-06-28 06:40:01 -04:00
Iris Morelle
685b37a92e
Update Win32 resource section copyrights 2023-06-28 06:38:54 -04:00
loonycyborg
9df0a5943f
scons: fix paths when compiling .rc files
Previous way of addressing compiled .rc files led to stale intermediate
targets leading to issue #7441
2023-03-08 20:43:46 +03:00
loonycyborg
56c2b1e5a8 Set codepage for winapi to utf-8 in the manifest file
This actually works on windows 10 1903 and later though
2022-06-11 16:23:11 -05:00
Charles Dang
4393538013 Enable HDPI in windows manifest file 2022-04-30 03:23:10 -04:00
Charles Dang
8e3105dae6 Use custom manifest file when building with MSVC
VS does generate its own internal manifest file, but since we're using cmake now instead of proper VS projectfiles
we don't have the ability to just tick a box to enable HDPI support (or any other change we want). There are ways
to merge manifest files (mt.exe) which might be preferable to this, but I can't figure out how to use them.
2022-04-30 03:21:46 -04:00
Pentarctagon
dbc7aee776
Remove 32-bit specific flag. 2021-06-28 09:13:11 -05:00
Hejnewar
ad60649e10 Typo fix in shortcut of polish version.
"Bitwy" means "Battles", in name there is clearly only single "Battle" thus it shouldn't be "Bitwy" but "Bitwa".
2020-10-26 14:10:10 -05:00
loonycyborg
0a007aa2ca Fix issue #4847
Made NSIS give default install location in 64bit Program Files dir
2020-04-14 10:53:37 +03:00
Pentarctagon
51788f3773 Correctly label Windows installer as win64. 2020-02-15 18:41:01 -06:00
Pentarctagon
0249276d27 Remove duplicate Turkish entry in NSIS script. 2020-02-15 18:41:01 -06:00
loonycyborg
bacf361285 Remove references to player changelog from NSIS script 2019-08-12 19:14:56 +03:00
Nils Kneuper
8d9ff0f623 added TUrkish translation to Windows packaging 2019-06-30 13:38:39 +02:00
newfrenchy83
da95fedcad Update Code::Blocks project (#3585)
(cherry-picked from commit 248af054c70f7e924b6caf24b95d7ff0617f5a12)
2018-10-07 03:25:23 +00:00
loonycyborg
75a9a51166 nsi script: update expected extensions of changelogs
(cherry-picked from commit 0e5463fd818b8cce388142c3ea949a289f6340ef)
2018-10-07 03:18:54 +00:00
Charles Dang
3a90f86674 Addressed more whitespace issues from #2613
[ci skip]
2018-03-12 03:48:59 +11:00
Charles Dang
471c9e876a Addressed a large chunk of the whitespace issues from #2613
[ci skip]
2018-03-09 11:37:00 +11:00
Gregory A Lundberg
b5f76eff79
Bump copyright to 2018 2018-01-19 00:02:20 -06:00
lundberg
a05d48e80d Fix copyright defect and add missing icon 2017-11-27 15:15:40 -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 10023c9290de 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