We use TeamCity to build our MSI installers, and ever since we updated from 18.8.1 to 19.1 we are getting an error when modifying the AIP file and building in TeamCity. We can build the installers manually within Advanced Installer, but moving it out to our build server throws this error in the build log.
I have narrowed it down to an attribute that is being added that is tied to the MachineKeys in the IIS web application setting. When opening the project in 19.1, a few new attributes have been added to the VirtualDirectoriesComponent ROW. We do not use any special configuration for the app pools or application settings other than install conditions, and have a pretty basic out-of-the-box IIS setup in Advanced Installer.Failed to load AIP file. Exception: Character reference "" is an invalid XML character.
When I open the .aip file in something like Notepad++ with the XML Tools plugin installed, I get an XML parsing error similar to what is displayed in TeamCity. When I remove the MachineKeys="" text from my ROW, everything works like normal again, but opening the file in Advanced Installer will re-add it.<COMPONENT cid="caphyon.advinst.msicomp.VirtualDirectoriesComponent">
<ROW VirtualDirectoryId="0" Path="..." Condition="..." AccessFlags="..." AccessPerm="..." AppPool="0" ContentExpireUnits="0" ContentExpireTime="0" MachineKeys="" VirtualDirectory="..." WebApplication="0"/>
</COMPONENT>
Is there something I can do to prevent this attribute from being added to this file? I cannot build it in TeamCity without manually removing this attribute anytime I make changes.