I have virtualbox 4.3.28
installed. I'd like to downgrade to virtualbox 4.3.26
Is it possible to downgrade without uninstalling/reinstalling?
Asked
Active
Viewed 4.4k times
69

Anthony Mastrean
- 21,850
- 21
- 110
- 188

Eric Francis
- 23,039
- 31
- 88
- 122
1 Answers
102
In most cases you will likely want to perform an uninstall and then an install.
> choco uninstall virtualbox
> choco install virtualbox --version 4.3.26
In almost all cases, the question is not whether Chocolatey will support it, but whether the underlying software supports a downgrade. With respect to MSIs, they don't always support downgrades (it's configurable by the author). For other installers like NSIS, InstallShield, or InnoSetup, it may not support it at all. So it's best to usually follow the practice of uninstall/reinstall to run into the least amount of issues.
If you know what you are doing and know the underlying software will support it you can try to force an install to a lower version:
> choco install virtualbox --version 4.3.26 --force
You may also need to pass --allow-downgrade
as part of the options for forcing the install of a lower version.

jmohr
- 4,706
- 4
- 29
- 29

Eric Francis
- 23,039
- 31
- 88
- 122
-
You're probably right, but I bet it depends on the quality of the install script and if the package is an MSI or not (and even then, how well that MSI is constructed). – Anthony Mastrean Jul 07 '15 at 16:18
-
1How do I see the available versions? – Dr_Zaszuś Jul 01 '19 at 09:13
-
1`$choco list packagename --all`, @Dr_Zaszuś – Andy Oct 24 '19 at 20:41
-
`Unable to uninstall 'python3 3.8.2' because 'python 3.8.2' depends on it.` – Leeroy Apr 13 '20 at 15:29