Generate teardown/uninstall script.