Solution
Yes, you can programmatically control which version of LabVIEW opens .vi files by modifying the Windows Registry and using LabVIEW configuration options.
1. Registry File Associations
Windows stores file associations in the Registry. For .vi files, the extension is mapped to a file type (e.g., LabVIEWInstrument), which then defines an open command.
You can see in the registry all the different "LabVIEW*" types that are defined and could use something else to set the path for the open. That could be done programmatically or by creating a .reg file with the keys for these file types and importing it.

2. Prevent LabVIEW from Overwriting Settings
LabVIEW automatically updates file associations when launched. To prevent this:
- Add the following token to the LabVIEW.ini file:
- RegisterExtensions=False
- This disables LabVIEW’s automatic registry updates, allowing your custom settings to persist