InnoSetup/Signing and timeout

I use FB to create various setups, each is signed. The signing is done via USB token and needs to be connected. This is done by entering a password once.
If the token is not connected, the password prompt pops up and FB waits. Unfortunately the timeout property for INNO is disabled, so I cannot check for this. Any idea, how catch this error?

Thank you!

Timeout is disabled because there is no timeout option when using the dll api calls. We should enable the timeout option when using the command line compiler - but it isn’t currently implemented - I will look into that.

We have enabled the timeout option for the action when Use commandline option is checked. You will need to save the action and then edit it again to set the timeout - we have further work to on the UI side.

https://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_3333.exe

As a workaround you could write a monitor service that enumerates windows handles and finds the password prompt. It could then click an ok button or whatever programmatically.