Hi!
When configuring electron-wix-msi to work with EV certificate, there's a need to provide signtool parameters through signWithParams option. Sample signWithParams value that works for our token:
Unfortunately, attached options doesn't work when used with your library (they are fine in cmd). This is because cmd.exe escapes leading/trailing quotes, where your library parses them as they are:
Hi! When configuring electron-wix-msi to work with EV certificate, there's a need to provide
signtool
parameters throughsignWithParams
option. SamplesignWithParams
value that works for our token:Unfortunately, attached options doesn't work when used with your library (they are fine in
cmd
). This is becausecmd.exe
escapes leading/trailing quotes, where your library parses them as they are:This causes
signtool
to not be able to find certificate (as it thinks quotes are part of the certificate file name) and later locate private key.In order to fix this issue I'm proposing a simple patch that removes leading/trailing quotes when they are found:
This issue body was partially generated by patch-package.