OK, I'm brain dead.
Here's an old V5 script, it won't import into K2 via pasting.
What am I missing? I used to do this all of the time, but have forgotten the secret sauce.
Script Name: MalwareBytes InstallScript Description: Install Malware Bytes on a remote system (Not for 64-bitsystems!!!)IF Check Registry ValueParameter 1 : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Environment\PROCESSOR_ARCHITECTURE= :x86THENExecute ScriptParameter 1 : MalwareBytes Install 2 (NOTE: Script reference is NOTimported. Correct manually in script editor.Parameter 2 :Parameter 3 : 0OS Type : 1ELSEWrite Script Log EntryParameter 1 : Malware Bytes is only supported on 32-bit systems.Installation abortedOS Type : 1
I know it would be nicer to import but I would suggest rewriting into K2 due to it now allowing multiple If's you can reduce it down to 1 script instead of having script 1 calling script 2 and so on.