In the installer, we have inline PowerShell scripts. Now our company introduced some new policies and installers are restricted and PowerShell scripts are not executed. Antivirus is detecting and blocking. Is it possible to change the execution path for the inline script not to be executed in the temp folder (to configure some other location that from AntiVir is permitted)? Any suggestion how to avoid this? It's somehow configurable from advanced instaler. Installer is digitaly signed?
Any suggestions are welcomed.