How can I set a modification / change, run an XmlConfig action to accept new values ​​(values ​​from public properties)?

I have XmlConfig entries such as:

<util:XmlConfig Id='SetSomething'
                File="[WEBSITE]Web.config"
                Action='create'
                Node='value'
                ElementPath="//configuration/appSettings/add[\[]@key='something'[\]]/@value"
                Value="[SOMETHING]"
                On='install'
                PreserveModifiedDate='no'
                VerifyPath="//configuration/appSettings/add[\[]@key='something'[\]]/@value"
               />

Which works great during installation. However, for Modify / Change installations, I prefer to enable the same sequence of user interface dialogs so that they can change values. "change" without uninstalling / reinstalling.

Is this supposed to work this way, perhaps by the way it is planned? And if so, can this be changed? While all my properties are published during the change / change, however, the action of SchedXmlConfig is confused in the logs in Modify / Change than in Install

+4

Source: https://habr.com/ru/post/1625279/


All Articles