Jump to content
Developer Wiki and Function Reference Links ×

VectorWorks Installation Directory


Recommended Posts

Hi all,

This is not something directly related to VS development but I think it's something regarding general development and can be of help to some other people.

The main goal I'd like to accomplish is to automatically copy a custom plug-in in the Vectorworks plugins directory.

So, here is the question: is there a way to know the installation directory of vectorworks on windows? Something like a registry key or an environment variable would be very useful, but I was not able to find any of these.

Anyone can help me for this?

Thanks in advance.

Jack

Link to comment

Jack,

My plug-in installer finds the VW install with reg:HKLM\Software\Nemetchek\VectorWorks,Path.

The "correct" installation for custom plug-ins is in the user application data folder. In VS, you can retrieve this via GetFolderPath(-2). You should be able to get your user application data folder either via an installer script or just knowing the constant. Then append "\Nemetschek\VectorWorks\2011\Plug-Ins" changing 2011 to be whatever version you're using.

-Josh

Link to comment

Thanks a lot Josh,

I'll change the plugin installation directory with the one you pointed out.

As for the registry key, somehow, I am missing the Path key you mentioned. I mean, I have the whole VectorWorks folder, but it is empty.

I'll uninstall VW and then reinstall it again to see if this solves my issue.

Jack

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...