clowd / Clowd.Squirrel

Quick and easy installer and automatic updates for cross-platform dotnet applications
426 stars 39 forks source link

Prevent installation if operating system version is not supported #131

Closed RusselRillema closed 10 months ago

RusselRillema commented 1 year ago

In my csproj file and in my nupkg file I've specific the TFM as net6.0-windows10.0.17763.0 When trying to run this on a windows 8.1 machine, for example, the install runs and I get a missing dll exception when the app tries to run. Is there some way to prevent the install (with a nice error message explaining their OS is not supported). Or perhaps is there an option to give an error on app startup? (I did open a SO question about that option but unfortunately didn't get an responses). For reference here is the SO question

Any ideas or guidance would be greatly appreciated :)

caesay commented 1 year ago

This is not possible at the moment, but it's something I'm currently working on for the next v3 release!

RusselRillema commented 1 year ago

Oh wow, that's great news! Thanks so much

Do you know when v3 will have a stable release? Not to apply any pressure, just wondering if we looking at days, months, years?

caesay commented 1 year ago

I use v3 in my own applications (so it does work), but it's likely to change quite a bit before it's "stable". 6 months at least.

RusselRillema commented 1 year ago

Cool, thank you! Appreciate the feedback :)

caesay commented 1 year ago

I'm going to re-open to track the "Prevent installation if target framework is not met" feature. Will close once this has been released.

caesay commented 10 months ago

Added in v4