We install apache tomcat during the installation of our product. This is installed from a zip file by using expand archive in the install step. Now when i uninstall my product the tomcat directory remains in the installation folder. Why doesnt it get deleted? Wont the files included in the install step gets deleted unless they are modified? Can anyone please tell me how could i delete it at uninstallation..
Unfortunately the Expand Archive install action doesn't have a corresponding uninstall action. The trick here would be to unzip in a parent folder, then check the Recursively delete this folder at Uninstall option on that parent... but of course you would need to take care of stopping the service first, otherwise there will be locked files left behind, at least on Windows.