-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install to Revit 2018.3.1.2 #82
Comments
Hello, I don't know why you don't have addin files installed but if you want to make addin file yourself manually. A typical addin file for RPS looks like this : <?xml version="1.0" encoding="utf-16" standalone="no"?>
<RevitAddIns>
<AddIn Type="Application">
<Name>RevitPythonShell</Name>
<Assembly>C:\Program Files (x86)\RevitPythonShell2018\RevitPythonShell.dll</Assembly>
<AddInId>3a7a1d24-51ed-462b-949f-1ddcca12008d</AddInId>
<FullClassName>RevitPythonShell.RevitPythonShellApplication</FullClassName>
<VendorId>RIPS</VendorId>
</AddIn>
</RevitAddIns> This addin file is placed in :
|
I've pyRevit on my computer but the systemmanager blocked some in and outcomming data. |
pyRevit and RevitPythonShell (RPS) are completely independent. As I see it, RPS is a very good way to test, explore Revit and its API, I was using it to deploy my script before pyRevit became so great for this use. To manually install pyRevit check Manual Installation on pyRevit section on this page : https://eirannejad.github.io/pyRevit/installation/ |
I know that it is completely independent but maybe you know a how to :) I have pyRevit installed but i want the addin RevitMep on pyRevit manual installed. |
For pyRevitMEP process is the same (as explained in pyRevit link from my previous comment) . If you struggle at some point, tell me, but you may open a separate issue on pyRevitMEP repo to not pollute RPS bug tracker on subject not related to it. |
Oke thank you i'm gonna look to the link... |
@CyrilWaechter I am using company laptop and do not have admin rights so to install I need run as admin and need to type my admin login which is different from my normal user. So here we have steps:
and now could see in
ok all transferred to my standard user account and now can open Revit: the only warning I have with this method is this: please let me know if this worked? it took me a while to figure it our |
For anyone coming here in frustration like I did... The reason is that the brain-dead installer doesn't copy in the .addin file unless the target folder is present so, for each version, before running the installer, just create "%AppData%\Autodesk\Revit\Addins\201[x]" (where [x] is the last digit of the Revit version) then be sure to run the installation as admin, even if you're logged in with an account which has Administrator-level privileges. That gets you the .addin file which you can then move/install to "%ProgramData%\Autodesk\Revit\Addins\201[x]" which pretty much every other add-in under the sun uses. I need to experiment to see if the folder containing the 2 .py files and the .XML file can be moved to %ProgramData% too but, again, most add-ins are happy there. |
@VBScab you're right, the installer is brain-dead! Do you have experience writing installers? Would you like to help improve the situation? We could also move to another installer technology (NSIS is one i've started liking recently in another project)... |
There's no need to change installer technology, although as an application packager of too many years, I'd recommend avoiding NSIS: corporates don't like it much. Use Windows Installer/MSI. For your purposes, there's no need for sophisticated MSI authoring tools - use the Wix toolset. All you need to do is add some detection of the installed Revit version (documented on Autodesk's site) and have the installer you have create the target folder. |
@VBScab would you like to help? |
Tricky, as I don't use Wix myself nor do I know which installer technology you currently use. |
I think we're currently using InnoSetup. I've used WiX before, but if I remember correctly, it has a steep learning curve... |
Yup. That's why I don't use it! :-) I seem to recall that someone put together a GUI for it, though.
I come across quite a few packages which use this. You can write scripts for this, right? In VCL, is it? I can't remember - it's years since I looked at these. |
@daren-thomas @VBScab I'm using AdvancedInstaller for pyRevit and the GUI is really helpful. I have not tested it for automatic builds tho. They give out free licenses for open-source projects. |
Hello,
I've download the RevitPythonShell Package and install it on my computer.
Now there are files on my "AppData\Roaming\RevitPythonShell2018"
And there is a folder on "C:\Program Files (x86)\RevitPythonShell2018" with multiple *dll files.
Now i missing de *addin files and can't find them anywhere. What i'm doing wrong?
I use W10 and Revit 2018.3.1.2.
I had installed 2017.07.24_Setup_RevitPythonShell_2018.msi.
The text was updated successfully, but these errors were encountered: