0install/0install-win

Uninstall

Texxer opened this issue · 1 comments

Hi

There is no mention of any Uninstall function for 0install in the Docs.

I found these folders:

C:\Users\X\AppData\Roaming\Programs\Zero Install
C:\Users\X\AppData\Roaming\0install.net

But there are also various entries in the Windows Registry...

Hi @Texxer,

when Zero Install for Windows is installed/deployed explicitly an uninstall entry is created in the usual Windows "Apps and Features" list.

However, when Zero Install for Windows is installed/deployed implicitly as a dependency of another app (we call this "library mode") it does not show up in the "Apps and Features" list. In this case it is automatically removed when the app that uses it is uninstalled.

Independently of this, you can always use the command 0install self remove to uninstall Zero Install. For example you can run in PowerShell:

& "$env:appdata\Programs\Zero Install\0install-win.exe" self remove

You can find documentation on where Zero Install places which files here.

Registry entries created by Zero Install (excluding desktop integration) are located under either HKEY_CURRENT_USER\SOFTWARE\Zero Install or HKEY_LOCAL_MACHINE\SOFTWARE\Zero Install. In most cases this just contains a string named InstallLocation pointing to the location where Zero Install is deployed.