architecture-building-systems / revitpythonshell

An IronPython scripting environment for Autodesk Revit and Vasari
MIT License
511 stars 118 forks source link

Install addin for all users #57

Open daren-thomas opened 7 years ago

daren-thomas commented 7 years ago

El Capitan Dan wrote:

I believe the problem is that the Addins / Revit version folder does not necessarily exist under the admin user account combined with the fact the installer fails to place the addin file if that path doesn't exist for that account. Can the installer be modified so it installs for all users and creates the addins folder path if it doesn't exist already? This would fix the issue... I ran into this today btw.

In this thread: https://groups.google.com/forum/#!topic/revitpythonshell/ChXrDbyi6zg

Seems that installation by an admin results in the users not having the addin installed.

joseph-kirkpatrick commented 6 years ago

I've had an issue with this as well. I've read over the discussion groups and have even added the correct addin file. I ran this on my laptop and it works, however my workstation not so much. I'm trying to start with revit 2016, however it keeps giving me a missing revitpythonshell.xml from the %appdata%\Autodesk\Revit\Addins\RevitPythonShell.xml.

On my laptop I checked downloads/install for RPS 2016/2018 and the .xml file doesn't exist, nor does it on my workstation.

I'm afraid it's not working on my workstation due to my Revit at work being 2018.2

Currently I'm downloading revit 2016 on my laptop so I can get the .Addin file and put it on my workstation and see if that makes RPS work for 2016.

fbe-work commented 4 years ago

To me the problem seems two-fold:

One ( hacky ) approach I took in our office: I compiled a (old - current does not build on my machine) version of RevitPythonShell that tackles both of these issues: It drops the addin into per-machine revit addins directory, so everyone profits: C:\ProgramData\Autodesk\Revit\Addins\2018 and installs to a non-admin path C:\ProgramData\RevitPythonShell20XX