Setup and deployment with input dialog in c#.net -


i created 1 windows service , want input dialog in setup take 2 parameters user @ time of installation , if user enter parameters next button should available.

also want fetch these parameters value use them.

i have added projectinstaller on service , added below code on projectinstaller.cs class, not working.

public override void install(system.collections.idictionary statesaver) {   base.install(statesaver);   dbconfigurationclass objdbconfigurationclass = new dbconfigurationclass();    objdbconfigurationclass.susername = context.parameters["username"];   objdbconfigurationclass.slic = context.parameters["licensekey"];  }  public override void commit(idictionary savedstate) { base.commit(savedstate); }  public override void rollback(idictionary savedstate) { base.rollback(savedstate); }  public override void uninstall(idictionary savedstate) { base.uninstall(savedstate); } 


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -