Ejemplo n.º 1
0
        /// <summary>
        /// Decompile the Group table.
        /// </summary>
        /// <param name="table">The table to decompile.</param>
        private void DecompileGroupTable(Table table)
        {
            foreach (Row row in table.Rows)
            {
                Util.Group group = new Util.Group();

                group.Id = (string)row[0];

                if (null != row[1])
                {
                    this.Core.OnMessage(WixWarnings.UnrepresentableColumnValue(row.SourceLineNumbers, table.Name, "Component_", (string)row[1]));
                }

                group.Name = (string)row[2];

                if (null != row[3])
                {
                    group.Domain = (string)row[3];
                }

                this.Core.RootElement.AddChild(group);
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Decompile the Group table.
        /// </summary>
        /// <param name="table">The table to decompile.</param>
        private void DecompileGroupTable(Table table)
        {
            foreach (Row row in table.Rows)
            {
                Util.Group group = new Util.Group();

                group.Id = (string)row[0];

                if (null != row[1])
                {
                    this.Core.OnMessage(WixWarnings.UnrepresentableColumnValue(row.SourceLineNumbers, table.Name, "Component_", (string)row[1]));
                }

                group.Name = (string)row[2];

                if (null != row[3])
                {
                    group.Domain = (string)row[3];
                }

                this.Core.RootElement.AddChild(group);
            }
        }