private void SetPackageLabel(string labelText = null) { try { if (string.IsNullOrEmpty(labelText)) { // Set the default labelText = Installer.GetPackageLabel(WorkingPath); } textBox_Label.Text = labelText; } catch { } }
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(); }