public override void Install(System.Collections.IDictionary stateSaver) { base.Install(stateSaver); string path = this.Context.Parameters["SrcDir"].ToString();//now path will contain the path from where we are installing. }