Your code is incomplete, but the block try..exceptblocks all exceptions, including those that were selected by OLE objects. However, your screenshot shows the line number on which the exception was thrown, and so you ran the debugger.
, , try..except, " " IDE Inno Setup:

( ), , . , .