DLLs may need to be unblocked after sharing Packages

When we share Packages with clients, their DLLs may be blocked on their computers.
in Dynamo 2.12, Packages may be loaded, but will not show up in the Library if the DLLs do not function.

Here is a Powershell command that can be used to bulk-unblock DLLs:
dir -Path [directory path] -Recurse | Unblock-File
image

2 Likes

I have used this shell before as well! Easier to do it as a Zip first, but handy if not.

now- how to unblock Powershell scripts…? :grinning:

2 Likes

https://social.technet.microsoft.com/wiki/contents/articles/38496.unblock-downloaded-powershell-scripts.aspx ?

Do all Dynamo users have to have Local Admin in Windows, too?

the easiest way to accomplish this is to use 7zip to share the packages. It strips off the mark of the web bit from the binaries.

4 Likes

True. I unzipped archi-lab.net and Genius Loci that I got from https://dynamopackages.com/ with Total Commander and they failed to work. Using 7-Zip they worked.

Ref: How to Unblock Downloaded Files in Windows with 7-Zip · Nono Martínez Alonso