Example #1
0
 /// <summary>
 /// Instantiates a standard ActionRow.
 /// </summary>
 /// <param name="sequenceTable">The sequence table of the standard action.</param>
 /// <param name="action">The name of the standard action.</param>
 /// <param name="condition">The condition of the standard action.</param>
 /// <param name="sequence">The suggested sequence number of the standard action.</param>
 private WixActionRow(SequenceTable sequenceTable, string action, string condition, int sequence) :
     base(null, WindowsInstallerStandard.GetTableDefinitions()["WixAction"])
 {
     this.SequenceTable = sequenceTable;
     this.Action        = action;
     this.Condition     = condition;
     this.Sequence      = sequence;
     this.Overridable   = true; // all standard actions are overridable by default
 }
Example #2
0
        public int Execute()
        {
            var intermediates = this.CompilePhase();

            var tableDefinitions = new TableDefinitionCollection(WindowsInstallerStandard.GetTableDefinitions());

            if (this.OutputType == OutputType.Library)
            {
                this.LibraryPhase(intermediates, tableDefinitions);
            }
            else
            {
                var output = this.LinkPhase(intermediates, tableDefinitions);

                if (!Messaging.Instance.EncounteredError)
                {
                    this.BindPhase(output, tableDefinitions);
                }
            }

            return(Messaging.Instance.LastErrorNumber);
        }
Example #3
0
 public Inscriber()
 {
     this.tableDefinitions = new TableDefinitionCollection(WindowsInstallerStandard.GetTableDefinitions());
 }
Example #4
0
 /// <summary>
 /// Constructor for binder core.
 /// </summary>
 internal BinderCore()
 {
     this.TableDefinitions = new TableDefinitionCollection(WindowsInstallerStandard.GetTableDefinitions());
 }
Example #5
0
 /// <summary>
 /// Instantiate a new Librarian class.
 /// </summary>
 public Librarian()
 {
     this.TableDefinitions = new TableDefinitionCollection(WindowsInstallerStandard.GetTableDefinitions());
 }