Jump to content

Recommended Posts

Posted

Hi all,

 

Ok this worked on machines which I had downloaded offline files onto. But I tried to install VS Community on to machines which I haven't installed it before and although I get the getting things ready screen coming up, it closes and nothing happens. The bat file I am using is below;

 

"\\sccmdeploymentserver\source$\Microsoft Visual Studio 2017\vs_community.exe" --add Microsoft.VisualStudio.Workload.CoreEditor --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.Universal --add Microsoft.VisualStudio.Workload.Python --includeRecommended --passive --norestart

  • 2 weeks later...
Posted
Hi all,

 

Ok this worked on machines which I had downloaded offline files onto. But I tried to install VS Community on to machines which I haven't installed it before and although I get the getting things ready screen coming up, it closes and nothing happens. The bat file I am using is below;

 

"\\sccmdeploymentserver\source$\Microsoft Visual Studio 2017\vs_community.exe" --add Microsoft.VisualStudio.Workload.CoreEditor --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.Universal --add Microsoft.VisualStudio.Workload.Python --includeRecommended --passive --norestart

 

I am seeing the same issue too.

 

I logged in a whole room with NetSupport and launched a command similar to the one above. First PC started the installation fine but the rest displayed a splash screen and didn't complete the install. Almost like something was locked by the first installation. Any suggestions would be appreciated.

 

eddyc

Posted
I think it is probably a pre requisite missing. I made sure all of the PCs in the room had updated windows and ran it again. The majority installed the software so that's the only conclusion I can come to. Are you running Windows 7 or have you made the move to 10 yet?
Posted

All of our PCs are Windows 7 and fully patched with WSUS.

 

If you run the installer on one PC at a time it installs fine, so don't believe its prerequisites; otherwise it would fail then too?

 

 

I think it is probably a pre requisite missing. I made sure all of the PCs in the room had updated windows and ran it again. The majority installed the software so that's the only conclusion I can come to. Are you running Windows 7 or have you made the move to 10 yet?
Posted
I agree. I uploaded it to a network share, used the UNC path for example \\appserver\microsoft visual studio\install.bat and used impero to execute the install.bat script. 26 out of 30 PCs installed. The other ones just stopped and didn't install. I run the ones that failed locally a couple of times and this then worked. I'm now just waiting for the teachers to test the software before the controlled assessments start.....
  • 1 month later...
Posted

Hi Guys,

 

I'm looking for some advice on Visual Studio Community 2017. We're going to be teaching computer science for the first time next academic year and Visual Studio has been requested. We're running Win10 on an RM CC4 network and just wondered what the best method for installing the program is. It seems to be a bit mixed as to whether people install Visual Studio direct to a machine or they use a Virtual machine to run it. How have you guys got it setup?

Posted

Well ignoring the software side, the question is will you give them access rights to run any exe's locally on the machine? :p Personally we don't allow any exe's to be run from students etc, so anything codey wise is in a VM

 

Steve

  • Thanks 1
Posted
Well ignoring the software side, the question is will you give them access rights to run any exe's locally on the machine? :p Personally we don't allow any exe's to be run from students etc, so anything codey wise is in a VM

 

Steve

 

How do you have that configured? We're pretty strict, but I don't think I could sell Management on buying PCs capable of running a software VM just so applications were isolated. We whitelist with AppLocker, but have an exception for CompSci students. They're typically not the troublemakers anyway, and if they are they're bringing Kali in on a memory stick and giving me something interesting to investigate!

  • 3 weeks later...
Posted

Hi Guys

 

Was asked to deploy it, created repository Layout, all downloaded. After installation when creating new project there is only one option, nothing for asp or other things.

Not sure why, if I trigger installation with just --wait --passive and --norestart arguments, would it still process response.json

{

"installChannelUri":".\\ChannelManifest.json",

"channelUri":"https://aka.ms/vs/15/release/channel",

"installCatalogUri":".\\Catalog.json",

"channelId":"VisualStudio.15.Release",

"productId":"Microsoft.VisualStudio.Product.Community",

"quiet": true,

"passive":true,

"norestart": true,

"add":["Microsoft.VisualStudio.Workload.NativeDesktop;includeRecommended"],

"addProductLang":["en-US"]

}

  • 2 months later...
Posted

Hi anybody else trying to modify the default project location?

I've had it mentioned as it points to C:\Users\%username%\... on my test package instead of to the users redirected documents folder. From what I've read on stackoverflow it looks like the setting is stored in a private application registry hive and I don't know how to modify that with group policy or during an install wrapper script.

 

Just hoping somebody else has found a way of modifying these locations on mass rather than relying on each student to correctly change the project location each time or potentially loose work.

  • 3 weeks later...
Posted
I've managed to set the default project save location. You need to configure the setting in the options within VS 2017 then export the settings on the location settings. Then GPP the shortcut with /resetsettings .
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...