I'm trying to run a simple powershell script to run a JMP script. But some people don't have JMP installed in the default path and some have multiple versions of JMP. How can I find the path to JMP that would open if I double clicked a jmp file?
I looked at the registry and found
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{12B91C6F-6FEC-44E8-BA7A-D36BFFF3EE5F}\LocalServer32
That changes when I reset associations
Just wanting to confirm that it will be the same for everyone, seems like it. Is this the best way to find the install path?