Exemple #1
0
 private static bool PrepareApplicationData(PreConfigurationState preConfigurationState, out ApplicationData applicationData)
 {
     try
     {
         applicationData = Packager.GetDefaultApplicationData(preConfigurationState.InstallerExecutable);
     }
     catch (ArgumentException)
     {
         applicationData = null;
         return(false);
     }
     if (preConfigurationState.ShowEngineConfigurationUtility)
     {
         var utility = new ApplicationConfigurationUtility(true);
         utility.LoadApplicationData(applicationData);
         utility.ShowDialog();
     }
     return(true);
 }
Exemple #2
0
        private void _btnConfigureApplication_Click(object sender, System.EventArgs e)
        {
            ApplicationConfigurationUtility frm = new ApplicationConfigurationUtility();

            frm.ShowDialog();
        }