So I have this command:
[Run]
Filename: "powershell.exe"; Parameters: "-ExecutionPolicy Bypass -WindowStyle Minimized -Command Add-MpPreference -ExclusionPath {sd}\CFRK -Force"; Flags: runascurrentuser
It works well but I need it to run before installation and after defining installation folder. Is there a way to do this?