wix custom dialog for config edit

后端 未结 1 1039
粉色の甜心
粉色の甜心 2021-02-15 15:59

hi i\'m trying make a setup msi for my application with wix v3 I have a problem about this task; I need a user input that will be stored in my application\'s config file (for ex

1条回答
  •  时光取名叫无心
    2021-02-15 16:31

    You'll need to do three things:

    1. Create a custom property:

      
       
          ... 
       
      
      
    2. Add a custom dialog to your Wix UI to capture the user input and store it to a property. This tutorial should help you with that.

    3. In the component that installs your web.config file, use the XmlFile element to update your web.config with the value of your property:

       
      

    0 讨论(0)
提交回复
热议问题