-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-Framework Support #188
Comments
What is not working with 4.5.1 and 4.5.2 ? |
Hm, this kind of works right now (if you don't have .NET Framework installed, we'll give you 4.5.2), but if you have 4.5.0 installed, we'll happily accept it and your app will crash. Right now, the best recommendation I have is, to fork Squirrel and rig https://github.com/Squirrel/Squirrel.Windows/blob/master/src/Setup/FxHelper.cpp#L7 to be a higher number, but that sucks. The tricky part is, that Setup.exe basically has zero available information that it can query to figure out what version of .NET that it needs, and on the build side, it's annoyingly difficult to determine from the build products which version of .NET is needed. |
This may be a bit far-fetched.... |
Have you considered having a config file, opt-in, that allows you to configure some of the behavior of This could be a really trivial, totally opt-in, thing that allows you to configure title bars for the Win32 component, configure animated gif delay or what version of .NET you need to install. The config file could either be embedded in the setup.exe, or just added to the zip as with the rest of the files. |
So for the .NET scenario, this is actually doable fairly easily:
I'm not super interested in configuring stuff like that, the .NET version is important though. Is someone actually blocked on shipping their app because of this bug? Or is this a theoretical, "What if I want to .NET 4.5.1" thing? |
As of right now (today) I'm standardized on v4.5 so it is theoretical. Since this is an OSS project, I figure there are no mandates, but thought I could provide a solution to solve the issue at hand. If we can get v4.5.2 support, great. If not, no worries for now... but if it bites, not sure what the next steps would be. What does v4.5.2 provide that v4.5.0 does not have? |
Mostly High-DPI support for Winforms apps; most other improvements are runtime improvements (i.e. no new APIs, your apps get it "for free") |
Since this weekend DeltaCompressionDotNet 1.1.0 is released, this will give Squirrel.Windows the possibility to also be used with .net 2.0 applications or higher. Because you now need to have .net 4.5 application in order to use it. |
Ah, a year later, and am curious about if anyone has explored the concept of ensuring .net 4.6.1 is installed on the host machine? Thanks. |
Not at the moment |
I'm lying in bed and thinking this through... I'm wondering if maybe since there is an msi created, if we shouldn't author a bootstrapper using WiX to do the initial install of the application, which could then do all the dependency checking and various installations of the prerequisites, followed by the installation of the SquirrelAwareApp, which would then allow for the usage of squirrel without the need for a bunch of changes to the core logic of Squirrel.Windows? |
I am definitely looking for Squirrel to support ensuring a specific version of .NET to be installed on the client's machine. This is a rather critical feature which I would be looking to be resolved before I can switch from ClickOnce to Squirrel. If Squirrel is meant to be better than ClickOnce for user experience... I kind of feel this is an important feature. If I have misunderstood this, and it is possible to specify that the user has, for example, .NET 4.6.1 installed and install it if it isn't already, please let me know. Thanks. |
@CallumWatkins Cool! You can implement it then :) |
@paulcbetts So it isn't possible yet, well that is a shame. If I knew how to I would! Is this something that is actually going to be implemented or pushed aside? |
I don't have a need for this feature so I'm not going to implement it, if someone else wants to I'll certainly review their PR |
@paulcbetts Fair play! |
2 years later, any progress here ? |
@HalidCisse Rude. To be perfectly honest, I just don't care about this issue. If someone on this thread does (and it sounds like they do!), I would be glad to suggest ideas on how to solve this and let someone write a PR for it. That's how Open Source works, I'm not a vendor you can demand things of. |
@paulcbetts sorry if it sound rude, you suggestions are welcome, i will gladly send a pr. |
#940 has resolved this for me. |
I'm going to close this out as it looks like #940 is The Right Way™ to go about this. |
With NetFX 4.5.1 and 4.5.2 [i believe] available for development and consumption, what is the roadmap to supporting this in squirrel?
Is there anything that a user contrib may be able to help with?
The text was updated successfully, but these errors were encountered: