This is a very simple question. What should I write in events after building Delphi to execute the coomand line tool?
I wrote this:
c:\BinPath\signtool.exe sign /fc:\BinPath\Mypfxfile.pfx /p MyPassword /t http:// timestamp.verisign.com/scripts/timstamp.dll c:\BinPath\Project1.exe
(where c: \ BinPath is the Delphi output path, for simplicity I copied the signtool.exe adn pfx file in the same folder)
as I build project I have this modal window error:
--------------------------- Project 1- CodeGear Delphi for Microsoft Windows - Form1 ------------- -------------- Unable to open file "C: \ SourcePath \ EXEC". Unable to find the specified path ..
and in the messages that I have
[Exec error] EXEC (1): Msgstr "SignerTimeStamp () error." (-2147467259 / 0x80004005)
[Exec error] exit the command "c: \ BinPath \ signtool.exe sign /fc:\BinPath\Mypfxfile.pfx/p MyPassword / t http: // timestamp.verisign.com/scripts/timstamp.dll c: \ BinPath \ Project1.exee "with code 1.
How to do it? In the help of Delphi I read (from the section "Creating assembly events"):
Enter build commands, one command per line, and press Return after entering each command. Commands consist of any valid DOS command, such as: copy $ () c: \ Built \ $ ()
So, I just inserted into the assembly event what ( c:\BinPath\....Project1.exe ) I managed to run from the command line. Where is the mistake? Thanks.
delphi post-build-event
Labracca
source share