-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
TypeScript 1.7 standalone installation fails #5886
Comments
Same problem when installing on a machine with Visual Studio Prof. Installer is searching for a key 'SOFTWARE\Microsoft\DevDiv\vs\Servicing\14.0\enterprise' which doesn't exists when the Prof. version is installed. No problem with an Enterprise edition. As workaround I've added the key to the registry. After this I was able to install TS. But now I'm unable to edit ts-files in the VS2015 Update1 Prof IDE. So be careful to use the workaround. |
Afaik the Visual Studio 2015 Update 1 includes TypeScript 1.7, so you shouldn't need to install it |
Yes it's included. Updating RTM to Update 1 resulted in the same error as in your post. |
@IngbertPalm TS 1.7 have a dependency on Update 1 binaries. if you bypass the check it is going to fail at runtime. the only way to get 1.7 is to install Update1 first. please uninstall TS 1.7, install update1 and then try again. |
@bschapendonk for your build machine, i am assuming it does not have VS installed. if this is the case, use the installer from https://www.microsoft.com/en-us/download/details.aspx?id=48739 |
@mhegazy The problem is that Update 1 failed with the above exception. When I try to reinstall Update 1, the installer tells me that it's already installed. The problem occurred on two different machines with VS 2015 Pro. No problem when applying to an enterprise edition. |
can you share the install logs, you can collect them by running the following tool http://aka.ms/vscollect |
@IngbertPalm just to clarify on collecting the logs
I will try to find more information in the mean time but the logs will let us know the installation steps in details |
@mhegazy thanks, using the installer for Visual Studio 2013 worked. |
@IngbertPalm so just to clarify the issue a bit : the installer looks at the following registry hive for Professional sku From your explanation, I think there is a failure in installing Update1 so the VSUpdate1 installed but not successfully. So TypeScript 1.7 refused to install in your machine. I couldn't repo the issue. However, to get you unblocked, I would suggest you to uninstall the broken installer of VSUpdate1 by : in Let me know if this works out for you. |
@yuit Thank you for the information. We have reinstalled Visual Studio on both machines and it seems to be OK. Due to this, I think it's needless to provide the logs? But let me explain the situation which resulted in the issue. |
@IngbertPalm I am glad that you are unblock. Thanks for sharing details. Though could you still share your logs? I would like to take a look into what is the root cause of the original issue and see if there is a possible fix for it. |
How can this issue be closed? I don't see any solution in the thread. @mhegazy ? The problem is that the standalone typescript installer for the 2015 toolchain cannot install if there is no Visual Studio 2015 with update 1 installed. Since it is a build server it makes very good sense that no version of visual studio is actually installed (it used to be best practice). So the issue is not really update 1 or not, the issue is that the installer no longer can install on a machine without visual studio 2015 - not the sidetracked disccusion about failed installations of update 1. The 2013 package can and the previous versions for 2015 could also without visual studio. Installing the 2013 package fixes the issue for the builds using toolsversion 12 (aka 2013), but not 14 (aka 2015). (Note that I tried with versoin 1.7.6) |
reopening. the 2015 targets will not be installed. we will need to publish a standalone version or augment the check to check from both VS 2015, and VS2015 update1. |
Another possible workaround, is to use the the nuget package: #3940 (comment) this one does not require any installation |
I've been battling that for a while, but as soon as had written the bits above I found a possible workaround:
Seems to work. |
Just installed MS Build Tools 2015 and the Windows SDK on our TeamCity build server, which should have been enough for the standalone installer to work. It doesn't. It stops with the error mentioned in the first post. I couldn't find the "VS 2015 Update 1" equivalent for the build tools. What am I missing here? |
Should be fixed in the next release. |
When I try to install TypeScript 1.7 on our build server I get the following error
We don't have Visual Studio installed on our build server (only the .net sdk and msbuild), this worked with the previous version (1.6)
The text was updated successfully, but these errors were encountered: