How to pass data to user interface (.NET Setup)
Hi,
Scenario:
I want to make a setup project, which take the following input parameters during setup
-server name
-userid
-password
i hav don that, but now there's a bit issue, for the next version of my product i want to make a setup which gets the previously installed configuration (server name,userid,password) say from web.config, populate the user interface dialog boxes with the previously installed values, i searched the google but couldn't find ny thing related to it:(
I retreive the user interface dialog box values using the following syntax
string UserName = this.Context.Parameters["Username"];
but when i tried to assign using
this.Context.Parameters["Username"]="root"
in installer class's install method (override) it can't set the textbox value....
can any one help me in this regards, or propose me a good alternative solution??????
Thx in advance.
Redgs,
Saeed.
|