开发者

Dynamically update app.config file using WiX

I have an msi built using WiX. Part of the installer collects some settings that will be entered into the app.config file of the installed app.

Now it works fine if I define <util:XmlFile ... for each setting that is going to change in the wxs file.

Now my question is this: is there a way I c开发者_开发知识库an dynamically create this util:XmlFile tag (e.g. from a custom action) so that I don't have to hard code it in to the wxs for each setting the app.config to update.


How does it do the collection? Are you doing an AppSearch and populating properties? Can you just use the [PROPERTY] in your XmlFile element? Note [PROP] is the value of PROP in MSI speak.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜