Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Manual Installation improvement
Der-Albert.com
#1 Posted : Tuesday, May 16, 2017 8:02:55 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 208

Thanks: 11 times
Was thanked: 53 time(s) in 50 post(s)
Hi,

had to do a manual installation, because of the multiple VS 2017 Instances Issue.

I would appreciate a little powershell skript in the folder which Unblocks the files

Get-ChildItem -r *.* | unblock-file

and starts devenv.exe and wait's for exiting ;)

Best Regards

Albert
Remco
#2 Posted : Tuesday, May 16, 2017 9:48:20 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Thanks Albert. I saw your post in the other thread about the bad experience here .. sorry about that.

The powershell script is a good idea. I've had many support requests raised over the years about blocked at O/S level.

Edit: I'd need to test whether the powershell script would need to be unblocked before it could unblock the files. That could be a bit of a problem.
Der-Albert.com
#3 Posted : Tuesday, May 16, 2017 1:29:20 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 208

Thanks: 11 times
Was thanked: 53 time(s) in 50 post(s)
Yes, the PowerShell must probably also unlocked bevor running. also it must run as Administrator (which should be checked in the skript).

But unblocking one file is easy, unblocking dozens is work.
Remco
#4 Posted : Tuesday, May 16, 2017 10:03:48 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Isn't it simply possible to Ctrl+A, right click, properties, unblock all of them? Or does the directory structure complicate this?
Der-Albert.com
#5 Posted : Thursday, May 18, 2017 5:50:26 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 208

Thanks: 11 times
Was thanked: 53 time(s) in 50 post(s)
1) I think unblocking works only file per file, not sure about this
2) But there are different Filetypes so unblocking all is not possible (this is was i first tried)
3) the directory structure complicates this, because it has to be done in every directory

A PowerShell Skript would be nice. But a Copy & Paste from the manual installation instructions of the right command could be feasible, and solves the 'have to unblock the powershell' problem.
1 user thanked Der-Albert.com for this useful post.
Remco on 5/18/2017(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.032 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download