Custom Signing Method
The custom signing method is used to configure and use a custom signing solution for digitally signing MSIX packages. This is useful for automation scenarios where the standard signing option doesn't meet your requirements.
In the Properties window, under MSIX Signing Options, set the Signing Type to Custom.
In the Path property, specify the location of the signing tool or a script. Supported file types include:
• | .exe (Executable) |
• | .bat (Batch Script) |
• | .vbs (VBScript) |
• | .ps1 (PowerShell Script). |
Click ellipses (...) to browse and select the valid path.
Examples:
<ProgramFilesFolder>\Windows Kits\10\bin\<WinSDKVer>\x86\signtool.exe
In the Arguments property, specify the required command-line arguments for the Signtool or custom script file. These arguments will be passed at runtime during signing process.
Enter the valid command-line parameters for the specified Path field.
Examples:
sign /fd SHA256 /f <ProgramFilesFolder>\testCA.pfx /t http://timestamp.digicert.com /p 123 /v "[Filename]"
Note:The Publisher Name in the MSIX package must exactly match the Subject in the signing certificate.
Note:Always include the "[Filename]" placeholder where the MSIX file path should appear. At runtime, this will be automatically replaced with the actual MSIX file path.
For more information, see Custom Signing with HSM Support.