Trying to uninstall an exe.
RunWait("'" & @ProgramFilesDir & "\OCS Inventory Agent\uninst.exe' /S") RunWait(@ComSpec & " /c " & "rmdir '" & @ProgramFilesDir & "\OCS Inventory Agent' /Q /S", "", @SW_HIDE)
Does not seem to work. The command is correct as tested it in cmd. Any thing I am missing