USFS-PNW / Fia-Biosum-Manager

User interface and main code repository for Biosum
http://biosum.info/
Other
3 stars 3 forks source link

Start signing .msi with Forest Service Digicert certificate #308

Closed lbross closed 9 months ago

lbross commented 9 months ago

Option #1: Right-click on item to be signed and select DigiCert Click-to-sign Option #2: Open a Powershell prompt in the folder containing the .msi and run the following command: smctl sign --keypair-alias=KEYPAIR_ALIAS --input=fia_biosum_setup_vBeta5101.msi -v

When the .msi runs 'Forest Service' will show as verified publisher. image

jsfried commented 9 months ago

@lbross: Congrats on getting it worknig. Sorry it had to be command line. For the uniitiated, how do you start up a powershell?

lbross commented 9 months ago

Option #1 actually works great, so no need for the command line. But the command line is more verbose so I wanted to record the syntax for troubleshooting purposes. To start-up a powershell, navigate to the folder containing the .msi. Then shift-right click, with nothing selected, and you'll see the option to 'Open Powershell Window Here'. I learned this today myself!

jsfried commented 9 months ago

Wonder of wonder, it installs without defender complaints!