Applies to Product -Dynamics 365 Lifecycle Services
What’s happening?
The customer is unable to uninstall a module in the environment due to an error message stating: “Invalid - HotfixInstallationInfo.xml could not be found or is invalid.” This occurs after placing the ModuleToRemove.txt file in the AosService/Script folder and attempting to edit or retain the original HotfixInstallationInfo.xml file.
Cause:
This arises from the improper creation of the package during the uninstallation process, specifically when the package is unzipped, modified, and zipped again, which may create an additional folder that interferes with the validation process.
Resolution:
To resolve this, follow these steps: 1. Ensure that the ModuleToRemove.txt file is added to the original package without unzipping it. 2. Instead of unzipping the package, drag the ModuleToRemove.txt file directly into the package. 3. Verify that the HotfixInstallationInfo.xml file is correctly referenced and valid after making the changes.
If the issue persists, further investigation may be required to ensure that the package structure is correct and adheres to the necessary guidelines for uninstallation.
