Пример #1
0
 public void UpdateText(Translations.IStringTable stringTable)
 {
     lblHeader.Text  = stringTable.RetrieveTranslation(Translations.MessageType.WelcomeHeader);
     lblWelcome.Text = stringTable.RetrieveTranslation(Translations.MessageType.WelcomeMessage);
     //if (VistaSecurity.IsAdmin() == false) {
     //    chkPortableMode.Enabled = false;
     //    chkPortableMode.Checked = true;
     //    if (!VistaSecurity.IsVistaOrHigher()) {
     //        //btnNext.Enabled = false;
     //        lblError.Text = stringTable.RetrieveTranslation(Translations.MessageType.WelcomeNoAdmin);
     //        lblError.Show();
     //        exclamationImage.Show();
     //    } else {
     //        btnRestartAsAdmin.Show();
     //        VistaSecurity.AddShieldToButton(btnRestartAsAdmin);
     //        lblError.Text = "To fully install this program, you will need to run this installer as an Administrator. To do so, you may click the button below. However, you may still continue installing by installing PMU as a portable application.";
     //        lblError.Show();
     //        exclamationImage.Show();
     //    }
     //}
 }
Пример #2
0
 public void UpdateText(Translations.IStringTable stringTable)
 {
     lblHeader.Text  = stringTable.RetrieveTranslation(Translations.MessageType.UninstallWelcomeHeader);
     lblWelcome.Text = stringTable.RetrieveTranslation(Translations.MessageType.UninstallMessage);
     if (VistaSecurity.IsAdmin() == false)
     {
         if (!VistaSecurity.IsVistaOrHigher())
         {
             btnNext.Enabled = false;
             lblError.Text   = stringTable.RetrieveTranslation(Translations.MessageType.WelcomeNoAdmin);
             lblError.Show();
         }
         else
         {
             VistaSecurity.AddShieldToButton(btnNext);
             btnNext.Enabled = true;
         }
     }
     else
     {
         btnNext.Enabled = true;
     }
 }
Пример #3
0
 public void UpdateText(Translations.IStringTable stringTable)
 {
     lblHeader.Text  = stringTable.RetrieveTranslation(Translations.MessageType.LicenseHeader);
     rtbLicense.Text = stringTable.RetrieveTranslation(Translations.MessageType.LicenseLoading);
 }
Пример #4
0
 public void UpdateText(Translations.IStringTable stringTable)
 {
 }
Пример #5
0
 public void UpdateText(Translations.IStringTable stringTable)
 {
     //lblInstallInfo.Text = "The installer is now ready to start installation. Click 'Next' to install the selected components.";//stringTable.RetrieveTranslation(Translations.MessageType.WelcomeMessage);
 }
Пример #6
0
 public void UpdateText(Translations.IStringTable stringTable)
 {
     lblHeader.Text  = stringTable.RetrieveTranslation(Translations.MessageType.InstallCompleteHeader);
     lblMessage.Text = stringTable.RetrieveTranslation(Translations.MessageType.InstallCompleteMessage);
 }
Пример #7
0
 public void UpdateText(Translations.IStringTable stringTable)
 {
     lblHeader.Text = stringTable.RetrieveTranslation(Translations.MessageType.RulesHeader);
     rtbRules.Text  = stringTable.RetrieveTranslation(Translations.MessageType.RulesLoading);
 }