Error message for not supported OS

Finally, I switched to 2017 r 1.1 in order to compile an app which no longer supports Windows XP. When I try to start the app under XP, I get a very strange error message (which I don’t understand…).

Does anybody know whether I can provide a more readable, customized error message?

Build Apps: Win XP is no longer supported.
According to this Page, Xojo 2013 r4.1, is the last Version that supports building compatible Apps for Win XP.

Sascha, I know that XOJO 2017 doesn’t support XP anymore.
That’s exactly the reason why I switched to 2017 r1.1
I want to avoid that my app can be launched under Windows XP.

So far, so good…

My problem is the weird error message that pops up when a user tries to start the app under XP.
I’d prefer an error message that states: “This application cant not be run under Windows XP”…

[quote=337125:@Heinz-Jürgen Groß]Sascha, I know that XOJO 2017 doesn’t support XP anymore.
That’s exactly the reason why I switched to 2017 r1.1
I want to avoid that my app can be launched under Windows XP.

So far, so good…

My problem is the weird error message that pops up when a user tries to start the app under XP.
I’d prefer an error message that states: “This application cant not be run under Windows XP”…[/quote]

The Installer could test if it’s running on a supported OS, f.e. :slight_smile:

So you want the application to run on Windows XP so that it can tell you it does not run on Windows XP?
Hmmm, might be a problem in there somewhere :slight_smile:
Installer is a good route to try.

Sascha, your tipp concerning the installer solve my problem - thank you!

I added “MinVersion = 6.1” to the [Setup]-Section of my Inno project -
that avoid installing the app under XP or Vista.

The error message I get when trying to install under XP is much more “readable” now:

Robin,

[quote]So you want the application to run on Windows XP so that it can tell you it does not run on Windows XP?[
Hmmm, might be a problem in there somewhere :)[/quote]

I agree, there is a problem.
I think it’s called “Windows”… :slight_smile:

Okay, no Windows-bashing, please… But: things are much easier under OS X.
If I have an app wich will not run under Snow Leopard, it’s icon is shown with a warning signature:

If I try to run this app anyhow, I get an understandable error message.

Another tiny part of OS X’s user friendliness…

[quote]Okay, no Windows-bashing, please… But: things are much easier under OS X.
If I have an app wich will not run under Snow Leopard, it’s icon is shown with a warning signature:[/quote]

Trouble is, while an app for Windows created in 1993 will often still run under Window 10,
apps written for OSX are lucky if they still work after 5 years.

Every new OS version = new ways Apple breaks your app. :frowning:
Its almost like they want people to keep upgrading…