예제 #1
0
        /// <summary>
        /// Merge data from a row in the WixPatchSymbolsPaths table into an associated WixDeltaPatchFile row.
        /// </summary>
        /// <param name="row">Row from the WixPatchSymbolsPaths table.</param>
        /// <param name="file">FileRow into which to set symbol information.</param>
        /// <comment>This includes PreviousData as well.</comment>
        private void MergeSymbolPaths(WixDeltaPatchSymbolPathsTuple row, WixDeltaPatchFileTuple file)
        {
            if (file.SymbolPaths is null)
            {
                file.SymbolPaths = row.SymbolPaths;
            }
            else
            {
                file.SymbolPaths = String.Concat(file.SymbolPaths, ";", row.SymbolPaths);
            }

#if REVISIT_FOR_PATCHING
            Field field = row.Fields[2];
            if (null != field.PreviousData)
            {
                if (null == file.PreviousSymbols)
                {
                    file.PreviousSymbols = field.PreviousData;
                }
                else
                {
                    file.PreviousSymbols = String.Concat(file.PreviousSymbols, ";", field.PreviousData);
                }
            }
#endif
        }
예제 #2
0
 public FileFacade(FileTuple file, WixFileTuple wixFile, WixDeltaPatchFileTuple deltaPatchFile)
 {
     this.File           = file;
     this.WixFile        = wixFile;
     this.DeltaPatchFile = deltaPatchFile;
 }