(There are many questions on the topic of Restinstalling/Uninstalling applications, I am sorry if this has already been asked but I was not able to find a similar question with the same problem/goal).
Is there a way (argument or setting?) to force an installer to do a new installation, even if it finds an existing one?
On a regular Windows 10 system, imagine you have installed all your applications on a separate hard drive. Now, this hard drive fails and you want to reinstall the applications on a different disk. Welcome to my world of pain. While it sounds easy, the main problem is this: Various installers take the Windows registry information to determine the initial state they are starting in: New installation or change/repair mode. In the latter, they won't let you change the installation location, but immediately fail on processing the operation, because they try to access the lost disk.
I have tried to uninstall the application properly. However, the uninstaller file (which is also called by the windows remove application tool) is usually located in the application directory, and therefore not available. MSI installers can offer context menu or command line uninstall options, but unfortunately the Applications I try to reinstall are not using these.
I thought about manually cleaning the registry, or install a third party "cleaner" tool to remove registry entries, however this might mess up the whole system even more and is not a very clean approach, which might work only partially.
All I would like to do is a fresh installation of the Application.
The applications I am trying to install:
- Git 2.22
- Sublime Text 3207
- vlc 188.8.131.52
I think git is using an InstallShield installer and vlc NSIS, not sure about Sublime. I checked if I can extract an uninstaller executable from the installer file, but that would have been too easy. I found the install script file for Git on GitHub, which contains a lot of registry key checks, I could manipulate these to try get the installer to a new installation.
But I have around 30 applications in total affected by this problem - it sounds easier (and faster) to reinstall Windows. Is there another way to solve this?