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(); // } //} }
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; } }
public void UpdateText(Translations.IStringTable stringTable) { lblHeader.Text = stringTable.RetrieveTranslation(Translations.MessageType.LicenseHeader); rtbLicense.Text = stringTable.RetrieveTranslation(Translations.MessageType.LicenseLoading); }
public void UpdateText(Translations.IStringTable stringTable) { }
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); }
public void UpdateText(Translations.IStringTable stringTable) { lblHeader.Text = stringTable.RetrieveTranslation(Translations.MessageType.InstallCompleteHeader); lblMessage.Text = stringTable.RetrieveTranslation(Translations.MessageType.InstallCompleteMessage); }
public void UpdateText(Translations.IStringTable stringTable) { lblHeader.Text = stringTable.RetrieveTranslation(Translations.MessageType.RulesHeader); rtbRules.Text = stringTable.RetrieveTranslation(Translations.MessageType.RulesLoading); }