Squirrel.Windows icon indicating copy to clipboard operation
Squirrel.Windows copied to clipboard

Running two Squirrel installations make both of them not working

Open BartoszPiasecki opened this issue 5 years ago • 8 comments

Squirrel version(s) 1.9.1

Description If anyone runs the installer twice an error occurs: "Installation has failed , there was an error while installing the application. Check the setup log for more information and contact the author"

Steps to recreate

  1. Run setup.exe
  2. Run setup.exe once again, before first one completed

Actual behavior In most cases, both installations break down. Sometimes one succeeds. Logs says : "process cannot access the file {mostly .nupkg, but sometimes also dlls from installed app} because it is being used by another process" in System.IO.File.InternalDelete

Expected behavior Second installation should fail, but first one should procced.

Additional information I checked scenario on others apps that are using squirrel, simillar issues

BartoszPiasecki avatar May 11 '20 09:05 BartoszPiasecki

I have the same problem, is it solved?

yudioll avatar May 18 '20 08:05 yudioll

I have the same problem, is it solved?

AaronRZH avatar May 23 '20 10:05 AaronRZH

This should be fixed in 2.0

anaisbetts avatar Aug 24 '20 15:08 anaisbetts

I can't verify that the issue is gone in 2.0 and the second installation sometimes misses to copy a file, and the error message still appears for one of the 2 installation processes. Is this the planned behavior? This can be very frustrating for the user because he sees that the installation failed, but still, it succeeds

deaktomi avatar Mar 08 '21 09:03 deaktomi

@anaisbetts Still exists in 2.0.1. The issue should be reopened.

RareScrap avatar Sep 26 '25 13:09 RareScrap

@caesay I don't do this to Velopack. You need to Stop.

anaisbetts avatar Sep 27 '25 17:09 anaisbetts

@anaisbetts I am afraid I don't know what you are asking me to (not) do. You asked me previously to not name any alternative options (of which there are a few), and I have respected that and stopped naming alternatives. I occasionally point out to people reviving old issues here that this library is unmaintained. Would you like me to stop mentioning that also?

caesay avatar Sep 27 '25 17:09 caesay

@caesay I would like you to no longer comment in this repo in any way. You have made your views clear. Please keep them to yourself.

anaisbetts avatar Sep 27 '25 19:09 anaisbetts