How to obtain the installation path of NAVISWORKS software using C #?

How to obtain the installation path of NAVISWORKS software using C #?

1905867998
Participant Participant
487 Views
3 Replies
Message 1 of 4

How to obtain the installation path of NAVISWORKS software using C #?

1905867998
Participant
Participant

I am writing a feature to help users obtain the installation path of NAVISWORKS software on their computers and use this path to automatically open the software. However, when I tried using the path of the NAVISOWRKS registry on my own computer, the code I wrote always couldn't find the installation path. Is it because my registry path is incorrect or something is wrong? My code is as follows, I sincerely seek your help!

QQ截图20250306010055.png

0 Likes
Accepted solutions (1)
488 Views
3 Replies
Replies (3)
Message 2 of 4

tetsuya_miwa
Advocate
Advocate
Accepted solution

My registry key always has "Navisworks Simulate", not "Navisworks".
NavisReg.jpg

0 Likes
Message 3 of 4

1905867998
Participant
Participant

Oh! Thank you! I found that my path is "Navisowrks Manage" and not "Naivsworks", Now I've solved this problem, thank you very much !

0 Likes
Message 4 of 4

ulski1
Collaborator
Collaborator

hi,

You have specified an incomplete reg path. It is not enough to write \Navisworks\. The path are Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Navisworks Simulate\21.0\Location

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Navisworks Manage\21.0\Location

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Navisworks Freedom\21.0\Location

 

Ulrik