Exemple #1
0
        protected override void OnAfterUninstall(IDictionary savedState)
        {
            var dir = this.Context.Parameters["vdir"];

            Log.Debug("安装路径:dir--" + dir);
            OfficeUtils.UnInStall(dir);
            base.OnAfterUninstall(savedState);
        }
Exemple #2
0
 public override void Rollback(IDictionary savedState)
 {
     try
     {
         var dir = this.Context.Parameters["vdir"];
         Log.Debug("安装路径:dir--" + dir);
         OfficeUtils.UnInStall(dir);
     }
     catch (Exception e)
     {
         Log.Debug(e);
     }
     base.Rollback(savedState);
 }