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
Any plans to re-integrate to SquirrelWindows? #8
Comments
I offered but was declined by the maintainers of that repo. I don't think they want to update the toolchain to dotnet 5+ and prefer to stay on the full framework. I prefer to continue updating to more modern toolchains (net5, net6, etc) so we can continue to get improvements and even ship zero-dependency apps! |
I have seen you made additional changes to this repo since your last nuget-prerelease. Are you planning to release this soon? Addtionally, do you have any plans to strong name the assemblies? |
@simader Indeed, there have been many improvements that are unreleased. I was waiting for net6 to be officially released, so the next version could ship a fully self-contained Update.exe. the net6 apphost comes with many single-file improvements, including compression support, to keep the file size down. I will plan to release as soon as I have time to do a little bit more testing. |
Thanks for your efford and answer. We really appreciate your work. I hope you find time soon. |
I should post a new version soon - can you elaborate on why you need a strong name? this is not validated any longer in dotnet core / dotnet 5. |
Hi caesay, Befor releasing a new version: could you update the Runtime-Download-Link in the RuntimeInfo.cpp? { I am happy if i could help testing. however with the current version i always get the popup "To run this application, you must install .NET Desktop Runtime 6.0.0 (x64)." |
Strong name signing is added in eb0de7e. Would love your help with testing, and I will let you know as soon as I publish the next prerelease, I am just testing now. There have been lots of changes, including many improvements/breaking changes to the squirrel command line tool for creating packages. I have kept the command line for Update.exe the same, to maintain backwards compatibility with already-deployed applications. |
This has now been released on github and nuget. I have tested and released already with my own app. Let me know if you have any questions, happy to help. |
Hi caesay. I tried to get to run a very simple .net6 WPF sample application. However everytime I still get :To run this application, you must install .NET Desktop Runtime 6.0.0 (x64). Any ideas. to run this sample just run the powershell squirrel.ps1 |
@simader The sample app you uploaded works for me - does the issue happen when you run Can you share the output when you run the command Squirrel itself (both Squirrel.exe and Update.exe) are self contained, meaning they have zero dependencies and should not require dotnet 6 runtime installed to use. Your sample app WpfApp1 still requires the net6 runtime in one way or another, here are two options:
|
Sorry, to bother you. I tried both options and don't get it to run. .NET SDK (reflecting any global.json): Runtime Environment: Host (useful for support): .NET SDKs installed: .NET runtimes installed: To install additional .NET runtimes or SDKs: |
@simader can you clarify what exactly is failing? is Squirrel.exe itself failing to run with this error or is the WpfApp1.exe that is failing to run? |
The resulting Setup.Exe opens the following message box: However even when i click install, it comes the popup a second time, and after that the Application won't start. WpfApp1.exeTo run this application, you must install .NET Desktop Runtime 6.0.0 (x64). Would you like to download it now?Yes NoWith self-contained a am now able to run Setup.exe and install it. However I would prefer "not self-contained" |
@simader I have reproduced this and have found the issue. it's in your nuspec. So you need to add the
|
Thanks very much, you are my hero |
Might I also suggest you check out the new Your whole build script could be just this:
No need to create a nuspec |
Hi caesay, |
This is detailed here. Squirrel no longer has any dependencies (the dotnet framework does not need to be installed). I have worked very hard to get it as small as possible - unfortunately Update.exe can not get much smaller than 12mb unless there are future improvements to dotnet. |
Hi, I just tried your newest prerelease. However it now failes because [ERRO] System.IO.DirectoryNotFoundException: Could not find a part of the path '%localappdata%\SquirrelTemp\tempd\lib.NETFramework\Squirrel.exe'. Here again is my sample: I also tried to clear this folder totally. |
I believe this is fixed this in 4f31bf8 which is part of version 2.6.28, can you let me know? |
Thanks for the quick reply. Setup: C:\Dev\SamplesGit\Squirrel\WpfApp1\SqurirrelRelease\Setup.exe, Zip: C:\Users.\AppData\Local\Temp\tmpC46E.tmp Setup: C:\Dev\SamplesGit\Squirrel\WpfApp1\SqurirrelRelease\Setup.exe, Zip: C:\Users.\AppData\Local\Temp\tmpC46E.tmp |
Also Re-Running (reinstall) Setup.exe doesn't work. I have to delete the whole folder manually [13.12.21 11:19:16] warn: Program: Install path C:\Users.\AppData\Local\WpfApp1 already exists, burning it to the ground |
I can't reproduce this unfortunately. Using your latest sample app and version 2.6.28 I was able to produce a release for version 1.0.3 and then produce another release for version 1.0.4 without an issue. Can you provide any additional information?
I can see an issue here, I will fix this |
The behaviour you see with the version 1.0.0 displayed is because of the code in the sample app, and because of a change in Squirrel. The current release of Squirrel creates the The next version of Squirrel will not have this latestver junction, it will return to the original behavior of running your app inside the "app-1.0.7" folder. |
I have published a new update (2.6.34) which removes the "latestver" functionality and returns it to the old-squirrel behavior. |
Seems to be fine, everything again with 2.6.34. Thanks for your efford. |
Please review the command line options carefully to set the icon. Also, beware of your windows icon cache (try renaming the file, and see if the icon updates.) |
I believe this is no longer an issue, please open a new issue if you run into further problems |
Hi,
Do you have any plans to push your changes back to the main squirrel repo?
Best,
Andreas
The text was updated successfully, but these errors were encountered: