Open riverar opened 1 year ago
While this is still a bug, MS Teams uses a forked, private copy of Squirrel that has several known bugs (some of which were self-inflicted) and we can do nothing to fix them
Interesting. Would the proposed silos at least shield the community from Teams and other apps using outdated Squirrel code? Or is this a set of unrelated issues?
A quick review of the code that I wrote ~9 years ago seems to indicate that this is not super easy because of how early in the process we are, though the "randomly generated" strategy might work. I'm.....not sure why I didn't do that in the first place actually! Probably because I was trying to make the C++ section of this code As Small As Possible
The other places we use SquirrelTemp during the update process, we actually already use the "generate a unique empty subdirectory" strategy
@robmen ^^ a Good Idea, this should fix some of the issues that people have around machine-wide installers stepping on each other
Yeah. I'm finally getting to the end of my WiX v4 saga and should finally have some mental energy for Squirrel.
Hello, With several colleagues from my company, we chose squirrel to replace clikonce for the deployment of our products. While coding a new application I came across #1853. Do you think our help in resolving it would be useful to you? We could make correction proposals in the coming months... Or do you prefer to keep your hands on this subject?
Squirrel version(s) squirrel.windows.2.0.1 and possibly others
Description Squirrel uses
%localappdata%\SquirrelTemp
for various servicing tasks. Squirrel seems to allow simultanous installations to occur yet does not silo the temporary folder on a per-app basis. This appears to result in races for files in the temporary folder and can result in incorrect installations of various applications, wrong shortcuts, incorrect schema launches, etc. These installations are very difficult to repair and detremential to the user experience.I believe this meets the bug bar for resolution under the Focus on the User Experience principle (https://github.com/Squirrel/Squirrel.Windows/issues/1470#issuecomment-486410297) and the product's tag line Squirrel: It's like ClickOnce but Works™.
Steps to recreate I highly recommend the use of a virtual machine or Windows Sandbox.
scenario.cmd
and wait until completionms-settings:installed-apps
or navigate to Settings > Apps > Installed Appsmyapp
to begin a search.Screenshots
Expected behavior It should not be possible for Squirrel apps to read from or write over each other
Actual behavior Squirrel apps compete for the temporary folder and behave indeterminately
Proposal Use a product-specific (or randomly generated) path to silo apps from each other.