# Get the password for the certificate.
$password = Get-Content ..\..\DontDeploy\certpw.txt

# Sign the exe.
& "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1a\Bin\signtool.exe" sign /f ..\..\DontDeploy\mycert.pfx /p $password /d "My Application" ..\myapp.exe
