private static void UpdateVersionInfo(RegFileSetupResult setupResult) { if ((setupResult != null) && (setupResult.NormalRegFiles != null)) { RegistInfoDAL odal = new RegistInfoDAL(); foreach (RegFileInfo info in setupResult.NormalRegFiles) { string str = info.FileName; if (string.IsNullOrEmpty(str) && string.IsNullOrEmpty(info.VerFlag)) { odal.UpdateRegFileName(info.VerFlag, str.Substring(str.LastIndexOf('\\') + 1)); } } } }
protected override object[] doService(object[] param) { List <VersionInfo> list = new RegistInfoDAL().SelectRegistFileName(); return(new object[] { list }); }