You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been trying out Squirrel on a project at our company, and we found an issue because we name all our packages like this: ....nupkg
What happens when we do this is that when the program gets installed the first time, it ends up under the folder . When we run it from there and the update code finds the latest version (which is the same as already installed) a new instance is installed under the folder ... This version will then update as it should in the future, but we will end up with two different installations of the same application (two different folders, and two entries in the "programs and features" list).
We found that the reason for this behavior is the following lines in the ReleaseEntry.cs:
public string PackageName {
get { return Filename.Substring(0, Filename.IndexOfAny(new[] { '-', '.' })); }
}
I'm not really sure WHY it looks like this. Is it a lazy way to find the version numbers in the end of the name string? Could it be an option to use regex to parse out the version number instead?
The text was updated successfully, but these errors were encountered:
We have been trying out Squirrel on a project at our company, and we found an issue because we name all our packages like this: ....nupkg
What happens when we do this is that when the program gets installed the first time, it ends up under the folder . When we run it from there and the update code finds the latest version (which is the same as already installed) a new instance is installed under the folder ... This version will then update as it should in the future, but we will end up with two different installations of the same application (two different folders, and two entries in the "programs and features" list).
We found that the reason for this behavior is the following lines in the ReleaseEntry.cs:
public string PackageName {
get { return Filename.Substring(0, Filename.IndexOfAny(new[] { '-', '.' })); }
}
I'm not really sure WHY it looks like this. Is it a lazy way to find the version numbers in the end of the name string? Could it be an option to use regex to parse out the version number instead?
The text was updated successfully, but these errors were encountered: