No. Those environments will happyly install the malware code because it is signed by Microsoft.
Clearly that isn’t true.