When packaging a native messaging browser extension using Wix, part of the install process requires that a json file containing something similar to the following be installed alongside the application:
{
"allowed_extensions": [ "[email protected]" ],
"description": "Native Extension",
"name": "com.example.Native.Extension",
"path": "c:pathtoapplication.exe",
"type": "stdio"
}
How do I tell Wix to filter the text file above to insert the destination path to replace “c:pathtoapplication.exe” into the text above at install time with the full path to the application being installed by Wix?
Most specifically, I assume I want to have Wix variables interpolated in the text.
If the answer is to use a Wix extension, what extension specifically? Can this be done through localisation?