Squirrel.Windows: Releasify looking in the wrong place?

Upgraded from 0.9.2.1 -> 0.9.5.1 hoping to fix the nuget reference issue thats been breaking our updates… and now I’m getting this during the releasify call on CI:

[21:20:58][Step 4/7] System.AggregateException: One or more errors occurred. ---> System.Exception: Failed to sign, command invoked was: 'C:\TeamCity\buildAgent\work\dbfc57ee86d8785c\packages\squirrel.windows.0.9.5.1\tools\signtool.exe sign /a /f <redacted> /p <redacted> C:\Windows\system32\config\systemprofile\AppData\Local\SquirrelTemp\tempa\lib\net45\Scrawl.exe
[21:20:58][Step 4/7]    at Squirrel.Update.Program.<signPEFile>d__93.MoveNext()
[21:20:58][Step 4/7] --- End of stack trace from previous location where exception was thrown ---
[21:20:58][Step 4/7]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[21:20:58][Step 4/7]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[21:20:58][Step 4/7]    at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
[21:20:58][Step 4/7]    --- End of inner exception stack trace ---
[21:20:58][Step 4/7]    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
[21:20:58][Step 4/7]    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
[21:20:58][Step 4/7]    at Squirrel.Update.Program.<>c__DisplayClass71.<Releasify>b__63(String pkgPath)
[21:20:58][Step 4/7]    at Squirrel.ReleasePackage.CreateReleasePackage(String outputFile, String packagesRootDir, Func`2 releaseNotesProcessor, Action`1 contentsPostProcessHook)
[21:20:58][Step 4/7]    at Squirrel.Update.Program.Releasify(String package, String targetDir, String packagesDir, String bootstrapperExe, String backgroundGif, String signingOpts, String baseUrl, String setupIcon)
[21:20:58][Step 4/7]    at Squirrel.Update.Program.executeCommandLine(String[] args)
[21:20:58][Step 4/7]    at Squirrel.Update.Program.main(String[] args)
[21:20:58][Step 4/7]    at Squirrel.Update.Program.Main(String[] args)
[21:20:58][Step 4/7] ---> (Inner Exception #0) System.Exception: Failed to sign, command invoked was: 'C:\TeamCity\buildAgent\work\dbfc57ee86d8785c\packages\squirrel.windows.0.9.5.1\tools\signtool.exe sign /a /f <redacted> /p <redacted> C:\Windows\system32\config\systemprofile\AppData\Local\SquirrelTemp\tempa\lib\net45\Scrawl.exe'
[21:20:58][Step 4/7]    at Squirrel.Update.Program.<signPEFile>d__93.MoveNext()
[21:20:58][Step 4/7] --- End of stack trace from previous location where exception was thrown ---
[21:20:58][Step 4/7]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[21:20:58][Step 4/7]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[21:20:58][Step 4/7]    at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()<---
[21:20:58][Step 4/7] 

Releasify just stops there so no new Setup.exe is generated and RELEASES isnt updated. I do get the .nupkg though.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 19 (7 by maintainers)

Most upvoted comments

lol perfect. Because they put %LocalAppData% under C:\Windows\System32, it’s subject to WOW64 File System Redirection. Set the SQUIRREL_TEMP environment variable to somewhere not under a redirected folder