question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intermittent issue during Patching Update.exe icon

See original GitHub issue

When running the squirrel command for generating the exe and nupkg, I periodically (about 1/20) times get this issue

INFO] DotnetUtil: Extracting Update.exe resources to temp directory
[INFO] DotnetUtil: Patching Update.exe icon

[ERRO] System.AggregateException: One or more errors occurred. (Failed to modify resources, command invoked was: 'C:\tools\Clowd_squirrel\rcedit.exe System.String[]'

Output was:
Fatal error: Unable to commit changes)
 ---> System.Exception: Failed to modify resources, command invoked was: 'C:\tools\Clowd_squirrel\rcedit.exe System.String[]'

Output was:
Fatal error: Unable to commit changes
   at Squirrel.HelperExe.SetExeIcon(String exePath, String iconPath) in ./Internal/HelperExe.cs:line 131
   at SquirrelCli.DotnetUtil.UpdateSingleFileBundleIcon(String sourceFile, String destinationFile, String iconPath) in ./DotnetUtil.cs:line 142
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean )
   at System.Threading.Tasks.Task.Wait(Int32 , CancellationToken )
   at SquirrelCli.Program.Releasify(ReleasifyOptions options) in ./Program.cs:line 179
   at SquirrelCli.Program.Pack(PackOptions options) in ./Program.cs:line 149
   at SquirrelCli.CommandAction`1.Execute(IEnumerable`1 args) in ./ValidatedOptionSet.cs:line 160
   at SquirrelCli.CommandSet.Execute(String[] args) in ./ValidatedOptionSet.cs:line 195
   at SquirrelCli.Program.Main(String[] args) in ./Program.cs:line 87

Squirrel 2.8.40+1c583f, tool for creating and deploying Squirrel releases

It typically goes away when I rerun.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisrestallcommented, Apr 28, 2022

Our company uses an anti-malware tool called Carbon-black which might be the culprit. The when is indeterminant. I’ve asked for a scan exception so we’ll see if that makes any difference.

0reactions
chrisrestallcommented, May 7, 2022

Thanks for the fix and the awesome work done on the fork!

Sent from my iPhone

On May 7, 2022, at 8:16 AM, Caelan Sayler @.***> wrote:

Closing because this is fixed in the cs/xplat branch. I am not going to backport this fix to 2.x but it will be released in 3.0.

— Reply to this email directly, view it on GitHubhttps://github.com/clowd/Clowd.Squirrel/issues/72#issuecomment-1120217697, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADLTLZ6M6KLQPBJ62H5XTNTVIZ3MLANCNFSM5UNB2DSA. You are receiving this because you authored the thread.Message ID: @.***>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intermittent Windows update failure : r/sysadmin
Symptoms- Running Windows update results in an error 0x8024a204, or says the machine is up to date (despite showing missing patches in ...
Read more >
Resolved issues in Windows 10, version 22H2
If you are using an update released before January 19, 2023, and have this issue, you can resolve it by installing and configuring...
Read more >
Resolved issues in Windows 10, version 20H2
You might have intermittent issues, apps might close unexpectedly, or you might receive an error.
Read more >
After Windows10 Pro 21H1 Update, Fences Causes ...
Intermittently the icons reappear and then disappear once again after a brief period. Changing graphics or display settings has no effect. As ...
Read more >
EXE Icon not updating when installed - NI Community
I want to change the icon of the EXE. I have done this in the EXE's build specification and it has updated on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found