EDIT: Apologies I put this in "Squirrel.Windows" when this is more of a Clowd.Squirrel question. I don't have enough rep to make the Clowd.Squirrel tag.
I previously used Squirrel.Windows to "realisify" my app (which was first turned into a NuGet package). I have since upgraded the project to .Net 6, and so I've turned to Clowd.Squirrel.
I still package my app the same way. I then use squirrel.exe releasify -p C:\project\project.nupkg -r c:\project\Releases\ -i C:\project\my_icon.ico --msi=x64
. It successfully produces a ProjectSetup.exe
and ProjectSetup_DeploymentTool.msi
. The msi file works as expected, but the setup file... does not.
When running ProjectSetup.exe
, it first copies files over to %localappdata%\project
(including app-1.0.0
, packages\
, Project.exe
, and Update.exe
). Then it opens my app. After about 10 seconds, it crashes. It then re-opens my app, and it works normally from there. Why? I can't find any windows event logs to explain it, which makes me think it isn't actually a crash, but rather an end that I wasn't expected (but Squirrel is).
Additionally, ProjectSetup.exe
also does not set up my app in the Start Menu. When I used Squirrel.Windows, it would create a directory C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Project
which contained a shortcut to Project.exe
(or perhaps it wasn't a shortcut; I can't totally recall). Am I missing some flag/switch or config option?
I'd be happy to provide more information if requested.