I have a .msi and .exe installer for a COM Office Add-in, but there is no publisher certificate with this installer.
I need to apply a certificate from my own authority to this installer.
How do I do this?
I have a .msi and .exe installer for a COM Office Add-in, but there is no publisher certificate with this installer.
I need to apply a certificate from my own authority to this installer.
How do I do this?
You can use the SignTool.exe (Sign Tool) for signing the installer with your own digital signature. Sign Tool is a command-line tool that digitally signs files, verifies signatures in files, and time-stamps files. This tool is automatically installed with Visual Studio. To run the tool, use the Developer Command Prompt for Visual Studio (or the Visual Studio Command Prompt in Windows 7). For example:
The following command digitally signs a file by using a certificate stored in a password-protected PFX file.
signtool sign /f MyCert.pfx /p MyPassword /fd SHA256 MyFile.exe
The following command digitally signs and time-stamps a file. The certificate used to sign the file is stored in a PFX file.
signtool sign /f MyCert.pfx /t http://timestamp.digicert.com /fd SHA256 MyFile.exe