Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a few programs that have been installed using non-Chocolatey methods (.msi packages, setup.exe, etc.). I have recently started using Chocolatey and would like to use it to update these programs.

Is there a way I can do this or do I need to uninstall the programs and reinstall them using Chocolatey?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

The answer I believe will be, "it depends". :-)

The majority of packages on Chocolatey are simply wrappers to the underlying MSI's and EXE's that you would ultimately be running manually yourself, it just automates the process.

In theory, if you run Chocolatey for a package that is already installed, when the MSI or EXE is run, it should detect that it is already installed, and exit. However, how cleanly this happens will impact on how Chocolatey reacts. If this exits with an error code, Chocolatey will report back that the installation failed, even though it is already installed. If it exits cleanly, Chocolatey will now "know" about the installation, and everything will be happy.

You might get into trouble when the Chocolatey package does "other stuff" as part of the installation, i.e. set registry keys, extract files to certain locations, etc. Depending on how many packages we are talking about there, I personally would be tempted to uninstall them manually and then have Chocolatey do the work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.