I have added a few controls in the dialog for web.config configuration during the installation.
web.config
Code: Select all
<appSettings>
<add key="Setting_A" value="A"/>
<add key="Setting_B" value="B"/>
<add key="Setting_C" value="C"/>
</appSettings>
However, I found that after the installation, it will overwrite the Setting_A and it's value with Setting_C's one.
Code: Select all
<appSettings>
<add key="Setting_C" value="ABC"/>
<add key="Setting_B" value="B"/>
<add key="Setting_C" value="C"/>
</appSettings>
Besides, there is a setting in my web.config to define the folder which will be used to retrive data. I was refering to How to browse for a folder at install time? and found that if user key in a non-exist folder, it will create a new folder after installaion. Is it possible to disable the new folder icon as the user is only allowed to select existing folder but not creating new folder.
Kindly advise, thanks.
FOLLOW US
Get the latest news in Application Packaging