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.

Please allow overriding signtool.exe with custom signing executable

See original GitHub issue

We need to be using a different tool for signing (we have one in our company that signs via azure). It would be great if there was an argument to squirrel.exe to be able to use it in addition to the signParams that are already there. Something like this (applied to the sample from the docs):

Squirrel pack`
 --framework net6,vcredist143-x86`  # Install .NET 6.0 (x64) and vcredist143 (x86) during setup, if not installed
 --packName "YourApp"`              # Application / package name
 --packVersion "1.0.0"`             # Version to build. Should be supplied by your CI
 --packAuthors "YourCompany"`       # Your name, or your company name
 --packDirectory ".\publish"`       # The directory the application was published to
 --setupIcon "mySetupIcon.ico"`     # Icon for Setup.exe
 --splashImage "install.gif"        # The splash artwork (or animation) to be shown during install
 --signingExe "C:/path/to/my/signtool.exe"
 --signParams "params to my signtool"

This should be calling C:/path/to/my/signtoo.exe params to my signtool (note that the “sign” argument should not be in here if overriding the signingExe).

For reference, ours needs to be called like this: AzureSignTool.exe -f “filetosign” -p “password”

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
caesaycommented, Jan 13, 2022

This is a good idea, I will work on this for the next prerelease.

0reactions
caesaycommented, Jan 24, 2022

This has been released in 2.7.89-pre.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Executable that is was code signed on Windows 10 not ...
Using a .pfx file, I code signed an executable on Windows 10 using the signtool program. When I went to install on windows...
Read more >
SignTool.exe (Sign Tool) - .NET Framework
Learn about SignTool.exe, the Sign Tool. This command-line tool digitally signs files, verifies signatures in files, and applies timestamps ...
Read more >
What Is Microsoft Signtool & How Can I Use It to Sign ...
How to Sign Executables Using Microsoft Signtool in 5 Steps · 1. Open a Command Prompt With Admin Privileges Enabled · 2. Go...
Read more >
How to Sign an Executable File using Signtool In Windows
If you need any help, please contact our team on the link below: https://support.globalsign.com/customer/portal/emails/new ...
Read more >
Code Signing 101: How to Sign an Exe or Application
How to Sign an Application or an Executable in 4 Easy Steps · 1. Install Microsoft SignTool.exe · 2. Open a Command Prompt...
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