Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to modify json with WixToolset v3.11

I want to modify values in an existing json file.

When I run my installer I type server name which points to my API. After I typed server name I want to add that value in app settings json file.

enter image description here

enter image description here

enter image description here

like image 386
Alex Avatar asked Sep 21 '17 12:09

Alex


1 Answers

http://dotnetbyexample.blogspot.ro/2010/11/wix-configurable-search-replace-custom.html

You need to create a wix project (Custom Action Class Library) create logics, after that you need to use dll in Product.wxs (Installer project) like in example.

PS: if you want to change one property from file, you should have something like this:

enter image description here

like image 126
Alex Avatar answered Nov 13 '22 01:11

Alex