pyRevit install on multiple computers

Understood. I appreciate all the assistance you’ve been offering.

But what do I tell my coworkers, that love this tool? I have several unhappy people waiting for IT to get this fixed!

What is weird is this worked on Windows 10, up until a few weeks ago. We rolled out fresh builds of Windows 11 (because Microsoft forces upgrading by their lifecycle support policies), and now it doesn’t work. No group policies have been changed at our end. We were forced to switch deployment tools to SCCM because MDT doesn’t support Windows 11, but that doesn’t explain why the manual install is no longer working.

So frustrating!

I’m going to try temporarily removing AppLocker from the equation, and see if that makes a difference.

Okay, disregard… sigh. Sorry.

Looks like I’m dealing with a broken deployment on the one test computer. I ran the admin installer on a different test computer, and it works for Revit 2023 and 2024.

Revit 2025 throws this error though:
image

I think you are installing 4.8.16 release. This one is not 2025 friendly.
Use the wip installers for support of 2025 and below

I am loving this thread, quite a bit of good information. I was able to make most of this work. However I am looking for some guidance on installing PyRevit to multiple machines in our enterprise environment with a customized clone. I downloaded the original from github using the default “pyrevit clone main” command. However I now want to customize the clone and re-distribute to the other computers from that network version. So I was attempting to install our clone to a new network computer using "pyrevit clone company-main --dest=“c:\temp\directoryname”.

That seems to make an exact copy of the clone as it was downloaded from github. It seems quicker, so I am unsure if it was copying from what PyRevit registered as my original clone. Not sure if maybe I need to use the update clone command to add in some other directories and remove some unnecessary ones. Since we’re in the enterprise, we do not want to keep any of our files in a cloud repo. Any guidance would be fantastic!

Hi @aaron.merrill_IT, welcome to the forum!

I’m not quite sure I understand what are you’re asking here…did you follow the pyRevit for Teams guide?

Maybe we could make it clearer, but once you customized your clone you have to change the pyrevit clone command to point to that clone repository

While I totally disagree with these reasoning (high quality open source wouldn’t exist without enterprises), you can host your git repository internally, even in a file share (without the need to self host git services).

I believe the documentation on the managing clones page is a little off for the parameter name.

In the example, it is mentioning to use the “source” parameter for the zip file. Though it appears that I needed to use the “image” parameter. Source was only looking for a github repo url from what the debugging shows.

Installing Custom Clones

You can also use the clone command to install your own pyRevit clones from any git url. This is done by providing --source=<repo_url> or --source=<archive_url> depending on if you’re cloning from a git repo or an archive. If you are cloning from a private repository, you can provide the --username and --password to the repo account as well.

$ pyrevit clone mypyrevit --source=“https://www.github.com/my-pyrevit.git” --dest=“C:\pyRevit\mypyrevit” --branch=develop

Or install from a ZIP archive using <deployment_name>:

$ pyrevit clone mypyrevit base --source=“\network\my-pyrevit.ZIP” --dest=“C:\pyRevit\mypyrevit”