Visual Studio 2015 Update 3 Community - offline installation failed - package is missing - visual-studio

I'm trying to install Visual Studio 2015 Update 3 Community on Windows Server 2008 R2 SP 1
I do not have an internet connection on my machine.
I downloaded official image here https://go.microsoft.com/fwlink/?LinkId=615448&clcid=0x409
During the installation I could skip some of packages, but I can not skip this vs_teamexplorercore
The same I have when trying to install Professional edition.

I had a similar issue once with the so-called offline iso, to avoided the problem I worked as following:
Download Web Installer from Microsoft Web Site
Execute the Installer on another computer with internet connection, note that what you download is not the real VS installer but more like a web start/ wrapper.
Once you run it use Windows Task manager and find the real web installer path that is stored in your user temp folder
copy the real installer somewhere else. like C:\VS2015\
Open Command Prompt and execute the installer that you copied with this argument: /Layout .
Now installer will download the FULL offline installer to your selected folder!
Zip the folder and bring it to your no-internet allowed server

Related

Oracle Developer Tools for Visual Studio 2017 installation failed to start

I'm trying to install the Oracle Developer Tools for Visual Studio 2017 on my computer for Visual Studio 2017 v15.9.5.
I'm using Windows 10 and the version of the universal installer I'm using is 18.3.
Once I download the zip file and unzip all the contents, I then run the 'setup.exe' executable.
Once I run it, it asks for admin privileges and I give them to the installation.
Immediately after that, a console window blinks on the screen and nothing else happens. No other UI shows up and I'm not asked any questions or provided any error messages.
I have restarted my machine and attempted to install with no success.
Any assistance for getting the setup running would be greatly appreciated.
I found the issue.
I was running the executable in a directory so far down the directory tree that all the paths the executable was using were greater than 260 characters in length, which Windows has an issue with.

Visual Studio unable to download installation files

I simply wish to install Visual Studio 2017 to compile a project.
Trying to install via the installer obtained from Microsoft fails after being unable to obtain the .opc file from aka.ms (found that after checking logs in %Temp%)
Moved to a full install version with all files and .opc file present. Installer still attempts to download from the web. Fails saying it is unable to download.
Tried running installed with --layout pointing toward the location of the offline files, same error.
Installed certificates from the certificates folder both in Personal and Trusted Root stores, no difference.
Tried starting CNG Key Isolation service, fails with error 1053
Microsoft support transferred me three times before saying the problem is on their end, so how, if one were to have no internet connection and evidently has all files required for install available, install this, if the installer stubbornly attempts to download from the web?
Is there a KB I am missing or some procedure I have to follow with the full installers?
In my case it is the network firewall blocking the downloading because the downloading involve not only main Microsoft visual studio site which is allowed in our network but also some url like https://aka.ms which is blocked by our firewall.the error is listed in c:\users\myusername\appdata\local\temp\dd_bootstrapper_xxx.log
It appears from what you have submitted you are attempting to download a offline copy of Visual Studio. It also appears that you are attempting to run the file originally downloaded to create the bootstrapper for the installation.
You want to instead launch the setup executable which is actually in the layout folder.
Hope this helps. ^^
Appears the cause for this was the service disclosure debug, disabling the debug, binding all services back into the svchost and after rebooting the service is working again. I have been able to install VS now.

How to Deploy a Windows Service using Visual Studio 2017 Community

Working with VS2017 Community I have written a service that works on my local machine. I followed the instruction here:
https://learn.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer
and installed it successfully using Installutil.exe (as per instructions in above link). All good.
I now want to deploy that across six servers in our organisation. In Microsoft's documentation about installing services (https://learn.microsoft.com/en-us/dotnet/framework/windows-services/how-to-install-and-uninstall-services) it says:
If you’re a developer who wants to release a Windows Service that users can install and uninstall you should use InstallShield
and links to a page that applies to VS2012 (can't post any more links as my reputation<10)
I have downloaded and installed the "Microsoft Visual Studio 2017 Installer Projects" package, which allows me to create a Setup Project. When I run it, it installs the project output correctly (i.e. copies the exe & dll files to the correct folder in Program Files) but does not create the service.
There's a detailed post about deploying services on this site (question 9021075) but when I follow those instructions I get a 1001 error on Install.
All the documentation I can find refers to earlier versions of VS or the previous Installer package, so I'm not even certain if I can do it with the software I am using.
So, with VS2017 Community using Microsoft Visual Studio 2017 Installer Projects, how to I create a stand-alone Installer to deploy a service that works correctly when installed locally using InstallUtil?
Or can I use InstallUtil on the target machines? I think I'd need to install Visual Studio on them for that, which I'd prefer not to. Is there a quicker way?
I only have 6 servers to install this on, so even some manual work-around might do.
Thank you for the responses. I now have a solution. I found InstallUtil on the Target Server (in my case it was in C:\Windows\Microsoft.NET\Framework64\v4.0.30319 but search will find it). I copied and added that to my project as content so when I now deploy it, I have InstallUtil in the same folder as my EXE.
To install, I run CMD as admin, cd to project folder and issue command:
installutil.exe myService.exe
This is a one-off task. Once the service is working, to update it I just need to stop it, upload the new myService.exe (& any DLLs) to overwrite the old ones and restart it again.
Further information about settings you're using for the serviceProcessInstaller1 and serviceInstaller1 files will be needed to debug this issue, as the 1001 error raised by the installer is a generic error.
An alternative way of doing this is to use Topshelf, which is a framework for hosting services written using the .NET framework. It simplifies the creation of services, allowing developers to create a simple console application that can be installed as a service using Topshelf. The reason for this is simple: It is far easier to debug a console application than a service. And once the application is tested and ready for production, Topshelf makes it easy to install the application as a service.
Alternatively, you could use InstallUtil.exe. It is part of the .NET Framework, so no need to install Visual Studio.

Microsoft visual studio 2013 installation failing

During installation I am getting an error Microsoft visual studio 2013 VsGraphic Helper Dependencies RC Incorrect Function
I was trying to install from ISO image and using web installer as well, getting same error in both cases. I am on Windows 7 x64 Dell XPS 16 with VS 2012 installed
Is there any workaround?
Original blog here.
Running offline installer from ISO is possible, see if below solutions work or not.
Mount the iso with any virtual cd software
Copy the mounted content to a local folder, e.g. C:\temp\vs2013\
Run “vs_ultimate.exe” from the local folder
-->
According to this article, there is a bug when downloading and using the ISO image. The web installer is preferred. This does of course make it harder to put it on a flash drive, which is unfortunate. Tee article is also about installing on a Windows 8.1 machine, while I'm using Windows 7 Professional. However, I expect that the issue is the same.
http://social.msdn.microsoft.com/Forums/en-US/fe3d5411-b601-425e-bf44-8cf5cd00f7af/visual-studio-2013-setup-failed-when-installing-on-windows-81-preview?forum=vssetup
Please bear in mind that the ISO installer leaves a lot of stuff behind when it fails - you need to uninstall it all and reboot before trying the web installer.
Visual Studio 2013 RTM is already available for download.
I didn't get any more issues during installation with this one.
I had the same issue.
Turns out that launching the setup with admin privileges worked for me.
I have the same error using:
Windows 8.1
ISO VS 2013 ultimate
I try copy contents in local, and I get the same error.
solution:
verify checksum of ISO. Get file again, copy to local.
Uninstall the failed version of 2013 from control panel -> Uninstall programs
Restart the computer
Clean %temp%
Mount ISO, execute as Administrator setup.exe
Re-run the setup again
References:
http://social.msdn.microsoft.com/Forums/en-US/fe3d5411-b601-425e-bf44-8cf5cd00f7af/visual-studio-2013-setup-failed-when-installing-on-windows-81-preview?forum=vssetup
I had the same issue, I'd downloaded the VS2013 Ultimate ISO from MSDN on Thursday when the announcement email went out but I had errors trying to install. I checked the SHA1 and it didn't match what is now on the site (Monday) so I downloaded the ISO again and it worked now.
I'm on Win7sp1 with vs2012 installed.
Just make sure you have updated your windows. (Restart windows after update)
If you have the ISO then mount it to virtual drive and then run the installer. (Don't extract and run)
Hope above instructions will help.
Note: Follow same process for VS 2015 installation.

VS 2012 on windows 8 and click once publish

I've got a fresh build of windows 8 running Visual Studio 2012 version 11.0.60610.01 Update 3. I have a winform app that I have been using (when the machine was running windows 7). The file structure where i'm trying to get to is the same as it was on windows 7. I'm a local admin. I'm trying to publish the to the location of c:\inetput\wwwroot\deploy\SCC (again.. where I was doing it on windows 7, but on windows 7 I was using Visual studio 2010). I receive an error on each file that is a application files. The errors follow this line
Error 1 Failed to copy file 'C:\Bob\SCC\SCC\MailProcessor\bin\Release\app.publish\Application Files\MailProcessor_1_0_0_32\dbConfig.dll.deploy' to 'C:/inetpub/wwwroot/Deploy/SCC/Application Files/MailProcessor_1_0_0_32/dbConfig.dll.deploy'. Unable to add 'Application Files/MailProcessor_1_0_0_32/dbConfig.dll.deploy' to the Web site. Unable to add file 'Application Files\MailProcessor_1_0_0_32\dbConfig.dll.deploy'. The system cannot find the path specified.
1 1 MailProcessor
The solution builds without errors, just get these errors when I attempt to publish to my local IIS. Was hoping someone had already figured out how to fix this.
Thanks
Shannon
I am able to publish ClickOnce apps to localhost in Windows 8/VS2012. Are you running Visual Studio as an administrator? You have to do this in order to publish to the local webserver. Are there any files at all being deployed to the inetpub folder? Do you have full IIS installed locally (not IIS Express)?

Resources