Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download and installation script not working #36

Open
VitalyMCT opened this issue Jan 26, 2021 · 6 comments
Open

Download and installation script not working #36

VitalyMCT opened this issue Jan 26, 2021 · 6 comments

Comments

@VitalyMCT
Copy link

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
Copy link

guideloom commented Jan 28, 2021

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
Copy link
Contributor

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
Copy link

gdbarron commented Feb 2, 2021

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
Copy link
Author

@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
Copy link
Owner

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants