As Andreas said, you can deploy Dynamo packages to users in a shared network environment by editing or adding to the CustomPackageFolders path in the dynamosettings.xml file. However searching for how to deploy a modified dynamosettings.xml file without either replacing users’ existing files or manually editing each user’s file, I found no solutions, so I wrote a powershell script to do it.
This script can be run by whatever means you wish; it can be called from a BAT file with a line like this:
powershell.exe -ExecutionPolicy Bypass -Command "**YourPath**DynamoSettings.ps1"
You may have to run it as administrator.
The paths in the script need to be edited to suit your network.
Make a backup of your DynamoSettings.xml before modifying and testing.
The last line in the script is just to verify the results and could be deleted once tested it.
I can’t upload the script to here as I’m apparently a “new user” so here is a Google Docs link. Copy/paste the contents into a text file with a .ps1 extension to run it.
- Rusty