Hi,
I sign the installer mysetup.exe witn an EV certificate. That one is started normally when the user starts the installation. Without any warnings. The problem occurs a bit later.
The signed mysetup.exe writes a mysetup.tmp file to TEMP folder and wants to execute it. This mysetup.tmp file is not signed so its execution is blocked. Signing the .exe file does not help, because the extracted .tmp file remains unsigned even when the installer .exe file from whre the .tmp file is extracted is signed.
Defender log shows the following:
mysetup.exe launch of mysetup.tmp was blocked by the attack surface reduction (ASR) rule "Block executable files from running unless they meet a prevalence age, or trusted list criteria".
An EV signed .exe or .tmp file fulfills the "trusted list criteria" condition. As the .tmp file that the installer extracts and wants to execute is not signed and as far as I understand cannot be signed at the moment, it is blocked by default.
Peter