After upgrading to the new 14.1 (from 14.0.1), I get the below error when trying to create a new xml file. moreover, at that, there are some folders that are not repeated.
Candidate target component is empty (has no KeyPath)
My .aip file is in the attachment.
Application Folder -> services -> sso.auth-> New XML File not working
This beahaviour is triggered by the fact that your project is corrupted. The component "DbType" from "Organisation" page has no keypath. Whenever a new XML file is created, Advanced Installer associates it to an existing component. Before this, it checks if all the components are valid, thus the error you've mentioned is displayed.
The workaround would be to delete the corrupted component. Just go to "Organisation" page, right click on the component and select Delete.
The cause of the project corruption is unknown to us. By the way, have you manually edited the AIP file using a text editor? It would be very helpful if you could provide a pattern in your workflow that caused the component corruption.
FOLLOW US
Get the latest news in Application Packaging