Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /ADDRESSWIKI=[ADDRESSWIKI]/FOLDERWIKI=[FOLDERWIKI]/FOLDEREMAIL=[FOLDEREMAIL]/NOMEUTENTE=[NOMEUTENTE]/PASSWORD=[PASSWORD]/PROXYUSER=[PROXYUSER]/PROXYPASSWORD=[PROXYPASSWORD]
- namespace servizioWiki
- {
- [RunInstaller(true)]
- public partial class ProjectInstaller : System.Configuration.Install.Installer
- {
- public override void Install(System.Collections.IDictionary stateSaver)
- {
- base.Install(stateSaver);
- string strKey = Context.Parameters["ADDRESSWIKI"];
- string strKey2 = Context.Parameters["FOLDERWIKI"];
- string strKey3 = Context.Parameters["FOLDEREMAIL"];
- string strKey4 = Context.Parameters["NOMEUTENTE"];
- string strKey5 = Context.Parameters["PASSWORD"];
- string strKey6 = Context.Parameters["PROXYUSER"];
- string strKey7 = Context.Parameters["PROXYPASSWORD"];
- EventLog myLog = new EventLog();
- myLog.Source = "MySource";
- // Write an informational entry to the event log.
- myLog.WriteEntry(strKey + " " + strKey2 + " " + strKey3 + " " + strKey4 + " " + strKey5 + " " + strKey6 + " " + strKey7 + " ");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement