7

I intend to reinstall Windows on my computer soon and I'd like to make the process of reinstalling all of my applications as seamless as possible. I know you can create a Chocolatey script that can be run on the new machine that will install of the applications I add to the script, but I have many applications and the process of typing out all of these into the script is tedious.

Is there some application available that can scan the currently installed programs on my computer (Win7) and generate a Chocolatey/Boxstarter script containing all of my programs that I can then use to reinstall all of them on my new computer?

  • Were your applications installed with Chocolatey? I'm sure it keeps a manifest of what it has installed. – heavyd Apr 30 '14 at 19:15
  • No, they were not. – Ryan Shripat May 1 '14 at 10:49
5

As far as I am aware, there is no such solution. It is definitely something I have thought of. It would be super cool to run a command that would look at:

  1. Currently installed packages
  2. Running services
  3. Installed windows features
  4. GUI registry settings
  5. MSIs installed and find matching chocolatey packages

and then spit out a big custom chocolatey package that could reconstruct the environment.

  • That would be really sweet. – ferventcoder May 1 '14 at 16:47
3

This might get you some of the way:

choco list -li

lists installed packages (programs), whether installed by Chocolately, or not, as in your case. Adding -v gives you (sometimes) the install path:

choco list -liv

Then you could find the appropriate Chocolatey packages by searching chocolatey.org manually (or by some other means...) for the programs listed and prepare a powershell or Cygwin bash script like this: http://robinosborne.co.uk/2012/01/06/scripting-the-setup-of-a-developer-pc-part-3-of-4-installing-uh-everything-with-chocolatey/

Good luck!

0

There is one way to do it...

puppet resource package --param provider

This will get you installed gems, things installed in programs and features, and if you do have chocolatey packages, it will pull those as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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