Esempio n. 1
0
        private void SetPackageLabel(string labelText = null)
        {
            try
            {
                if (string.IsNullOrEmpty(labelText))
                {
                    // Set the default
                    labelText = Installer.GetPackageLabel(WorkingPath);
                }

                textBox_Label.Text = labelText;
            }
            catch { }
        }
Esempio n. 2
0
        private static void BuildInstaller(string workingPath, string installerType, string configuration)
        {
            Installer          installerBuilder = new Installer(workingPath, installerType, Installer.GetPackageLabel(workingPath), configuration);
            CommandLineBuilder cmdBuilder       = new CommandLineBuilder(installerBuilder, workingPath);

            // Add the builder to the list so that we can monitor it's progress
            _processes.Push(cmdBuilder);
            cmdBuilder.Execute();
        }