Can I use Chocolatey with existing software?

Support and questions for using and managing Chocolatey NuGet inside of Labtech
Post Reply
User avatar
Cubert
Posts: 2468
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Can I use Chocolatey with existing software?

Post by Cubert »

Can I use Chocolatey with existing software?

Yes, yes you can. Chocolatey works in a similar manner to how you would do things if you downloaded and installed things yourself. Its design and infrastructure is built that way on purpose. It takes the pain of manually doing it yourself away (see previous section).

Now, Chocolatey can take over existing installs and be able to handle uninstalls in most cases. Can is very dependent on packaging and the underlying software installer that is used for the install (installer packages are the context here).

Let me start by saying that testing how a single package won't give you a warm and fuzzy about how it will work with all packages. Software installers in the wild world of Windows have many completely different ways of going about things, all of which are dependent on those creating the installers, none of which have a consistent standard (except maybe MSI). Welcome to Windows.

Now that we have baselined that - each piece of software out there is a special snowflake, so each package has to be able to account for differences in the installers.

So when a package takes over the existing install, if the registry snapshot doesn't differ, it won't be able to automatically uninstall it (if you have autoUninstaller turned on, check choco feature).

Post Reply

Return to “Chocolatey For Labtech”