SymptomsI have created template using Create a template on the basis of an installed application option in Template Creation Wizard. When I try to uninstall the application from container by removing the template from the container it is not uninstalled cleanly or uninstallation fails.
CauseSome applications require additional actions for correct uninstallation. For example, Microsoft Office 2010 requires either specific command-line options or special XML file to get it removed correctly.
ResolutionAdd necessary command to \vz\Templates\TEMPLATE_NAME\uninstall\soft\product_custom_remove.cmd or specify the command during template creation.
For more information, refer to Template Management Guide, page 27:
Templates Management Guide: Specifying Template Uninstall Information