hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.21k stars 4.43k forks source link

Vagrant Product Detection -32/ 64 bit Installation #13408

Open metaad opened 3 months ago

metaad commented 3 months ago

Hello team,

While testing Vagrant application we found that when Vagrant 32-bit or 64 bit application is installed on 64-bit machine, the uninstall hive in the registry for both architecture is in HKEY_LOCAL_MACHINE\SOFTWARE*WOW6432Node*\Microsoft\Windows\CurrentVersion\Uninstall.

So, can you please suggest how to detect which variant (32bit/64 bit) is installed on the machine? Is there any unique registry/file specific to 64 bit/32-bit application that will uniquely identify which variant is installed on the machine so the appropriate upgrade can be handled ?

We had also raised this issue in forum - https://discuss.hashicorp.com/t/vagrant-installation-32-bit-and-64-bit/62488