有没有办法从卸载程序文件中禁用自动卸载程序?
Is there a way to disable autouninstaller from uninstaller file?
我有一个 jar 文件,我将其解压缩到一个目录以进行安装并在卸载期间从目录中删除内容,但是自动卸载程序抛出 "Cannot uninstall a non-existent package."
有没有办法从卸载程序文件中禁用自动卸载程序?
来自 Chocolatey Gitter 频道 Gary Ewan Park @gep13 的回答。
This is possible as of 0.10.8 of chocolatey https://github.com/chocolatey/choco/issues/1257
基本上,在 tools 目录下添加 .skipAutoUninstall 将禁用 0.10.8 版 chocolatey(在撰写本文时尚未发布)中的自动卸载功能。
我有一个 jar 文件,我将其解压缩到一个目录以进行安装并在卸载期间从目录中删除内容,但是自动卸载程序抛出 "Cannot uninstall a non-existent package." 有没有办法从卸载程序文件中禁用自动卸载程序?
来自 Chocolatey Gitter 频道 Gary Ewan Park @gep13 的回答。
This is possible as of 0.10.8 of chocolatey https://github.com/chocolatey/choco/issues/1257
基本上,在 tools 目录下添加 .skipAutoUninstall 将禁用 0.10.8 版 chocolatey(在撰写本文时尚未发布)中的自动卸载功能。