Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to disable autouninstaller from uninstaller file?

Tags:

chocolatey

I have a jar file I unzip to a directory for install and remove contents from directory during uninstall, but autouninstaller is throwing "Cannot uninstall a non-existent package." Is there a way to disable autouninstaller from uninstaller file?

like image 717
Dennis Hoer Avatar asked Aug 24 '17 21:08

Dennis Hoer


1 Answers

Answer from Gary Ewan Park @gep13 in Chocolatey Gitter Channel.

This is possible as of 0.10.8 of chocolatey https://github.com/chocolatey/choco/issues/1257


Basically adding a .skipAutoUninstall under tools dir will disable autouninstall feature in 0.10.8 version of chocolatey (which is not released at the time of this writing).

like image 188
Dennis Hoer Avatar answered Nov 17 '22 06:11

Dennis Hoer