This file is modified as one of our last custom actions by a powershell script. We can see in the logs and on disk the custom action fires and modifies the file but as the installer is finishing up the file goes back to the same file as was on disk prior to running the installer
How do we stop this revert behavior?
This folder and file path are added prior to build by the API with the following calls from a powershell script. This script has worked
in versions 19 and 20:
Code: Select all
& $ai_install /edit "$installer_path\$aip_project_file" /AddFolder "IISWWWRootFolder" "$ss_path"
& $ai_install /edit "$installer_path\$aip_project_file" /UpdateFile "IISWWWRootFolder\SS\appsettings.json" -overwrite no