Commit Graph

51 Commits

Author SHA1 Message Date
Michał Janiszewski 3e3f1d3cfd
Remove Windows Vista from systems claimed as supported (#19520)
It was reported OpenRCT2 stopped working on Vista with 0.4.2 release due
to `CoGetApartmentType` and `TryAcquireSRWLockExclusive` symbols linked
in statically.

This commit simply removes references to Vista as a supported system.
2023-02-28 21:42:41 +00:00
Lastorder 3dbee5edca
Fix #12701: Disable upgrade pop-up at slient install (#12709) 2020-08-18 14:58:01 +01:00
Ted John ae0c2638e3 Distribute openrct2.d.ts and scripting.md 2020-04-26 14:35:03 +01:00
Ted John a8b5304786
Remove exe / com wrapper around openrct2.dll for Windows (#10727)
We get repeated reports of people saying the game is incorrectly reported as a virus. It is becoming more inconvenient for players and even myself, because when we attempt to download a build, it is immediately deleted by scanners (including the default for Windows: Windows Defender).

One scanner is not too much of an issue, but the game is flagged by almost half of available scanners as reported by VirusTotal.

So why is it being flagged?

Windows has a very annoying concept, the subsystem for a binary. The console subsystem allows stdin / stdout as you would expect, just like posix. Unfortunately if a user runs a console subsystem binary from the desktop or explorer, the game will be opened under conhost and thus you get a console showing alongside the game window. This is not a good user experience for most players. To resolve this, you can use the windows subsystem, but this will detach stdin and stdout immediately on launch. There are hacks that can be done in code to allocate a new console but I found this to not work very well with stdin or other terminal emulators.

My solution to the problem was to have two binaries: openrct2.exe and openrct2.com. Both are executable but openrct2.exe is windows subsystem, openrct2.com is console subsystem. The desktop shortcut opens openrct2.exe with no console window showing. Typing openrct2 on the command line will execute openrct2.com (as .com has higher PATH precedence than .exe by default) with working stdin and stdout. In order to reduce the size, I have the entire game inside openrct2.dll and then supply two tiny wrapper EXEs that simply route main(...) into the DLL.

These wrapper EXEs are the problem, they are very small and do nothing but call into a DLL, this must match virus signatures too closely and their size probably reduces the data available for the scanner to analyse.

So as I can not find any other way of achieving my goal of a cli and gui version of OpenRCT2, this changes the build to publish openrct2 as a single executable (rather than a DLL + wrapper EXE), and then duplicate the entire ~10MB exe again and flip the subsystem flag. The installer and zip size won't be affected as this extra size will be completely compressed out, but when unpacked will lead to an extra ~10MB on disc. But I think it is a fair compromise.

VirusTotal now reports all artefacts as safe, for now anyway.
2020-02-18 11:35:27 +00:00
Christian F. Coors 2fccd4c9ab Install verbose shortcut on Windows (#8116) 2018-10-26 08:41:22 +01:00
Richard Jenkins 5522422cbe Fix #6169: Windows installer runs game with admin privileges (#6176) 2017-08-17 12:16:36 +02:00
Richard Jenkins b92ba32781 Revert "Fix #6169: Windows installer runs game with admin privileges (#6171)" (#6175)
This reverts commit d84db2d463.
2017-08-14 09:09:25 +01:00
Richard Jenkins d84db2d463 Fix #6169: Windows installer runs game with admin privileges (#6171) 2017-08-13 01:37:40 +01:00
Ted John 5766e5fc33 Remove Windows code sign certificate
Certificate provided @JarnoVgr has now expired.
2017-04-09 11:23:38 +01:00
Ted John 5d20803fb2 Remove version build from msbuild & NSIS (#5143)
This also passes the version to NSIS removing another file containing the current version.
2017-02-02 11:53:56 +01:00
Ted John 2008f4add4 Remove known_issues.txt (#5142)
This file is out of date and adds extra maintenance to releasing. Instead users should check the project's issue tracker on GitHub.
2017-01-30 21:45:29 +01:00
Michał Janiszewski bde17f2b30 Start v0.0.7 2017-01-29 23:35:17 +00:00
Lastorder 97063010d7 Update installer version to 0.0.6
Installer version was still 0.0.5.
#5095
2017-01-21 01:51:35 +00:00
Ted John 4d8779957f Create openrct2.com and add to installer 2017-01-10 17:29:04 +00:00
Ted John aeb6d40703 Change Windows x64 output name to openrct2.exe 2016-10-20 22:45:22 +01:00
Ted John 5b9f7904ea Update dependencies for Windows and remove certificates 2016-10-16 16:11:33 +01:00
Ted John fb112ce779 Do not distribute openrct2.dll anymore 2016-10-16 00:06:58 +01:00
Ted John 7c05ceb275 Make x64 fully stand alone without segment loading 2016-09-17 19:29:39 +01:00
Ted John 6654cdadfe Create segment data for x64 builds 2016-08-26 14:34:46 +01:00
Ted John a19d28a00c Remove obsolete NSIS build 2016-08-26 14:20:17 +01:00
Ted John 7df67e3a29 Improve NSIS installer and add x64 logic 2016-08-25 22:19:54 +01:00
Ted John 2e31288b6b Convert tabs to spaces in install.nsi 2016-08-25 21:29:38 +01:00
Ted John 3deb2ef363 fix NSIS when branches contain slashes 2016-05-04 22:07:48 +01:00
Ted John 63f008566c Merge branch 'master' into develop 2016-04-15 23:25:45 +01:00
IntelOrca a35b774004 tweak AppVeyor version and push condition
- Omit appending the tag on to the version string if the tag is a version, e.g. v0.0.4.
- Only push tags, develop branch or specific push branches to OpenRCT2.org
2016-04-14 19:56:40 +01:00
Michał Janiszewski da80a691bc Start 0.0.5
changelog.txt not updated yet
2016-04-13 14:20:40 +02:00
Jarno Veuger 513ad15c84 Possible fix for installer upgrade issues 2016-02-20 10:02:05 +01:00
Jarno Veuger 95b5140fb1 Skip upgrade/downgrade process in installer for now 2016-02-13 12:12:22 +00:00
IntelOrca c9042c6174 add code signing to AppVeyor CI 2016-02-13 12:12:20 +00:00
IntelOrca 27c8cf126f update build / publish scripts for new VS dependencies 2016-01-09 21:50:05 +00:00
Jarno Veuger db425bc0bd Added missing files to publish process 2015-12-27 16:48:19 +01:00
Jarno Veuger d77c1039dc Added support for buildnumbers in installer 2015-12-25 14:41:39 +01:00
IntelOrca 783cd2115a turn publish into tasks and fix nsis installer 2015-12-23 17:22:37 +00:00
IntelOrca e95bd57e68 add installer creation in publish script 2015-12-22 21:31:29 +00:00
LRFLEW e6f771ec90 Added newlines at end of files 2015-12-20 22:03:37 -06:00
IntelOrca 8e6c345be6 prepare distribution files for pre-release-0.0.3.1 2015-12-04 19:09:05 +00:00
IntelOrca 6da5018455 update distribution files for 0.0.3 release 2015-11-30 18:35:32 +00:00
Michał Janiszewski 7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
IntelOrca c6b7ab2ff4 Merge branch 'pre-release-0.0.2' into develop 2015-06-21 13:56:07 +01:00
IntelOrca 8c263b4bbc update distribution for 0.0.2 2015-06-21 13:44:22 +01:00
IntelOrca 34924963b9 Merge branch 'pre-release-0.0.2' into develop 2015-06-16 21:29:34 +01:00
Miso Zmiric (Mike Squinter) 27e149bd64 allow the dist installer build to be called from a relative path 2015-06-16 15:18:59 +01:00
IntelOrca 5b4715685d update NSIS script 2015-06-15 23:21:12 +01:00
JarnoVgr 6956a2cf94 Installer copies curl ca file, version update 2015-06-15 21:02:30 +02:00
JarnoVgr ac6a32ba81 Add basic support for installer downgrading 2015-05-01 11:39:00 +02:00
JarnoVgr 1d650523e2 Corrected installer version number 2015-05-01 11:33:10 +02:00
JarnoVgr dca7268ac5 Fix #862: Installer copies correct language files 2015-02-24 12:01:46 +01:00
JarnoVgr 1345a28d23 Fixed broken installer version comparison
+ Added my full name to contributors.md
2015-02-23 01:30:16 +01:00
JarnoVgr 164b3d0f7e Build server friendly installer
Allows on-the-fly customization of the Windows installer to make it
compatible with build servers.
2015-02-22 23:26:07 +01:00
IntelOrca cede292bdd change windows installer to use new logo 2015-02-22 17:42:40 +00:00