You need to turn on the option to use the command line compiler, or turn on the pre-processor. BTW, you can also sign the installer using the Signtool action as well.
As a workaround I am signing the installer via FinalBuilder. As Robert says though, this does not sign the UNinstaller.
I have tried every combination of Command Line/Preprocessor options and get the same error every time.
In Innosetup, the signtool definition is not stored in the script. You need to define it via the Tools | Configure Sign Tools option. Could it be that when FinalBuilder is executing the script it is not finding the sign tool definition?
BTW, one downside I can see with signing from Inno is that if the signtool fails, you have to run your setup compiler again. We often get failures while timestamping files, the timestamp servers sometimes do not respond, so we set the timestamp action to retry a few times (which seems to work most of the time).
I have downloaded the new build, but it doesn't seem to make any difference. I still get the same error. Can you explain what you do with the signtool property in FinalBuilder? Do I need to change my InnoSetup script?
If you specify to use the command line compiler you will not see the window popup. When not using the command line compiler we have no control over that.
I would recommend always using the command line compiler, as the Inno team broke our Pre-processor support in 5.4.1 when calling the compiler dll. Also if you are running on a 64bit machine then the command line compiler will get it’s own 2Gb memory address space, which can be important for larger install scripts.