Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static string SQLSERVERNAME = "";
- public static string HMSTENANTDB;
- public static string SQLLOGIN;
- public static string SQLPASSWORD;
- public override void Commit(IDictionary savedState)
- {
- base.Commit(savedState);
- try
- {
- SQLSERVERNAME = Context.Parameters["SQLSERVERNAME"];
- HMSTENANTDB = Context.Parameters["HMSTENANTDB"];
- SQLLOGIN = Context.Parameters["SQLLOGIN"];
- SQLPASSWORD = Context.Parameters["SQLPASSWORD"];
- }
- catch (Exception e)
- {
- MessageBox.Show("Failed to update the application configuration file : " + e.Message);
- base.Rollback(savedState);
- }
- }
- InstallerSetup InsSetup = new InstallerSetup();
- string Vsqlserver = InsSetup.Installers.Count.ToString();
- string Vtenant = "";
- if (InsSetup.Context != null)
- {
- Vtenant = InsSetup.Context.Parameters["HMSTENANTDB"];
- }
- else
- {
- Vtenant = "context is null";
- }
Add Comment
Please, Sign In to add comment