Script fails with error: Incorrect Function

Script fails with error: Incorrect Function

I am running a trial of Desktop Central.  I need to test software deployment, both uninstall and install.  I am trying to uninstall ActivePerl that is installed on my managed machine

I have tested the following command by running it manually in the command line on my test machine

MsiExec.exe /uninstall {B423C2A0-EAC6-4490-BC31-97F47813DEAA} /qn /norestart /log d:\ActivePerlUninstall.log

However, when I go to Configurations > Custom Script > Computer and create a custom script as follows

Name: Uninstall ActivePerl-5.16.3.1604-x86
Execute Script From: Command Line
Command Line: MsiExec.exe /uninstall {B423C2A0-EAC6-4490-BC31-97F47813DEAA} /qn /norestart /log d:\ActivePerlUninstall.log
Specify the Exit Code: 0
Frequency : Once
Enable Logging for Troubleshooting: checked
Define Target: MyTestMachine
Deploy Immediately

It fails with the following error: “Script fails with error: Incorrect Function”.  If I try to “View log” it says “no data is logged in”

I have attached the Agent log file from the managed machine.
                New to ADManager Plus?

                  New to ADSelfService Plus?