private void PrepareInstall() { // Yes, add to the Installer Core. Installer .AddStepIfMissing(new Step("mysql:host", typeof(IPAddress), "MySQL Host", "This is the IP address used to connect to the MySQL server.", "127.0.0.1") .AddExample("127.0.0.1") .AddExample("192.168.1.80") .AddExample("123.123.123.123")) .AddStepIfMissing(new Step("mysql:port", typeof(ushort), "MySQL Port", "This is the port used to connect to the MySQL server.", "3306") .AddExample("3306")) .AddStepIfMissing(new Step("mysql:username", typeof(string), "MySQL Username", "This is the username used to authenticate with the MySQL server.", "ihi") .AddExample("ihi") .AddExample("chris") .AddExample("root (INSECURE! NOT RECOMMENDED!")) .AddStepIfMissing(new Step("mysql:password", typeof(string), "MySQL Password", "This is the password used to authenticate with the MySQL server.", "")) .AddStepIfMissing(new Step("mysql:database", typeof(string), "MySQL Database", "This is the database used for IHI.", "ihi") .AddExample("ihi") .AddExample("ihidb")) .AddStepIfMissing(new Step("mysql:minpool", typeof(int), "MySQL Minimum Pool Size", "This is the minimum amount of MySQL connections to maintain in the connection pool.", "1") .AddExample("1") .AddExample("5")) .AddStepIfMissing(new Step("mysql:maxpool", typeof(int), "MySQL Maximum Pool Size", "This is the minimum amount of MySQL connections to maintain in the connection pool.", "5") .AddExample("1") .AddExample("5")) .AddStepIfMissing(new Step("webadmin:port", typeof(ushort), "WebAdmin Port", "This is the port to bind the WebAdmin listener.", "14480") .AddExample("14480") .AddExample("80") .AddExample("8080")); }