sandroasp / Microsoft-Integration-and-Azure-Stencils-Pack-for-Visio

Microsoft Integration, Azure, Power Platform, Office 365 and much more Stencils Pack it’s a Visio package that contains fully resizable Visio shapes (symbols/icons) that will help you to visually represent On-premise, Cloud or Hybrid Integration and Enterprise architectures scenarios (BizTalk Server, API Management, Logic Apps, Service Bus, Event Hub…), solutions diagrams and features or systems that use Microsoft Azure and related cloud and on-premises technologies in Visio 2016/2013

Home Page:https://blog.sandro-pereira.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download and installation script not working

VitalyMCT opened this issue · comments

The download-Install-MIS-Azure-Visio-Package.ps1 script seems to successfully download the ZIP, however, something goes wrong at extraction or copy step. There are no files deployed to C:\Users[UserName]\Documents\My Shapes after the script is done. I am running PS as an Admin.

Is anyone else having the same issue?

It's not version 7.1.0 (latest according to this post) Microsoft Integration and Azure Stencils Pack for Visio: New version available (v7.1.0). It's 7.0.0 according to the tag.

The commit references 7.1.0, however the script itself appears to download the master branch. Do you have the registry key being referenced in the script? If so, what's the value of it?

I just had an issue as well. Downloading via Invoke-RestMethod here ends with an error of Invoke-RestMethod : Unable to read data from the transport connection: The connection was closed powershell. A quick google shows this is a long standing issue with that function. As a troubleshooting step I tried with PS v7, I had been using PS v5, and that yielded success. This doesn't fix the script, but hopefully provides a viable workaround. We could also add #Requires -Version if we wanted to go that route. Hope this helps.

@gdbarron, thanks for the tip!

Upgrading to PS 7.0.4 allowed the installation to complete. Interestingly enough, on my machine the standard Windows 10 PS 5 was not throwing any errors. So they may another glitch related to PS 5.

Yes, we should probably enforce a PS 7 dependency with #Requires -Version and/or at least a note in installation instructions. Or figure out the reason PS 5 does not work as expected.

I'm using PSVersion
Major Minor Build Revision


5 1 19041 1023

without any issue. Even now I try execute the script with success

How to download this pack by PS ? i don't know the command ...thank you