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
https://blog.sandro-pereira.com/
MIT License
1.44k stars 431 forks source link

Download and installation script not working #36

Open VitalyMCT opened 3 years ago

VitalyMCT commented 3 years ago

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?

guideloom commented 3 years ago

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.

girlpunk commented 3 years ago

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?

gdbarron commented 3 years ago

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.

VitalyMCT commented 3 years ago

@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.

sandroasp commented 3 years ago

I'm using PSVersion Major Minor Build Revision


5 1 19041 1023

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

cloudshellsystem commented 1 year ago

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