예제 #1
0
        public override bool Execute(out string message)
        {
            bool result = false;

            try
            {
                string resultMessage = ApplicationExtensions.Install(this.ServerName, this.PackageLocation, this.TargetDir);
                message = resultMessage;
                result  = !resultMessage.Contains("error");
            }
            catch (Exception exe)
            {
                message = exe.Message;
            }
            return(result);
        }