I am adding the following to post-build command line in a build event to sign the application EXE file with a certificate:
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\signtool.exe" sign /t "http://timestamp.digicert.com" /n "XXX INC" "$(ProjectDir)obj\x86\Debug\app.exe"
How can I prevent this line from executing when the certificate "XXX INC" is not available?