Who is using Visual Studio 2017 for Universal Apps?
I am unable to finish installing VS 2017 (Community). Especially it goes wrong on this:
Package 'Win10SDK_10.0.14393.795,version=10.0.14393.79501' failed to install.
After an update, this same message changed from version 14393 to 10.0.15063.15 but the result is the same. Also when I separately install the SDK it ends with a directory which couldn't be created (because it is already there...). VS works for regular projects but I can not open or create Universal Apps. Many users seem to have this problem; I have seen the question multiple times and against 100 users follow the several open questions which do not get a useful reply from VS development. Before I installed VS 2017, I did a a W10 re-installation with the Media Creation Tool which solved some upgrade problems for W10 and an app so I expect the environment to be pretty "clean".
What I wonder is if anyone here has attempted the same installation (see picture) and succeeded (the current screen does show the installation size as --- instead of the amount of GB, but I have seen this working previously. But you can't expect VS installers to keep working correctly on what did work before, can you....)
See also my post on the https://developercommunity.visualstudio.com/content/problem/40056/the-product-failed-to-install-wed-like-a-serious-s.htmlVS developers site.
Okay then - I will try and help, as my recent VS 2017 Community version does let me make a new project of type Universal, as you can see below in the images I just made for you.
The only obvious thing that I did, and presumably you did not do, was install the full (complete) workload. For other reasons I will not go into here, I always install the complete VS set of offerings / options.
Can you try to make a new install for Community, selecting each of the workload options ?
At the moment I even have this VS instance open, as well as another which is the Enterprise version of 2017, and all VS are the latest updates - using the VS installer.
P.S. FYI I never have to mess with folders at all, ever. I just install what is sent to me, but install the whole thing.
Here is some image detail which may help in some ways :-
Fingers crossed for you .............
Well, you can't blame him - wasn't "slim install", "install only what you want/need to use" one of the biggest selling talks associated with V17? <g,d&r>
Phil Hepburn wrote: The only obvious thing that I did, and presumably you did not do, was install the full (complete) workload. For other reasons I will not go into here, I always install the complete VS set of offerings / options.
As so often, you are right !
However, this was the only reason I could see why my install worked and Dick's did not. Of cause we don't know what else he did to install non-default paths etc.
I don't get any real issues with VS, and never did, so I can't be any more helpful. And many different versions seem to live happily side by side. Problems seem to come for others when they try to remove bits of earlier installs.
I will try and install it on my laptop for Cologne and see if I can force an issue or two there.
I have done some more trials with VS 2017 Community.
On my clean laptop I have installed the Community version of VS 2017 and for only one workload, that for the Universal apps.
The install went OK and seems 100%, and I have started a Universal project.
The only place that you could have made a different input to that I made, was at the folder option for install. I always let the default do its bit - as I did this time.
Dick, did you change the install directory / folder ?
I was going to try for you as a test - BUT - the C:\Temp folder choice gave me a red cross in the install dialog box so I kept to the default.
Can you try and re-install the Comm version with a default folder ?
Hope this helps a little bit
Thanks for your input. I did a standard installation although I skipped some unused options. In the meantime I've done the same on my laptop and there it works. I am not sure why; the laptop is setup more or less the same and on the desktop where it failed I refreshed Windows using the Media Creation Tool so I would expect it to be pretty "clean".
Not sure what to do next. I can again try to use one of my "incidents" but so far nobody at Microsoft helped me with anything there; standard reply is that whatever I ask is "not there department".
The most likely scenario will be that I de-install VS2015 Professional when my Action Pack ends this month, and then hope that I can install VD Community 2015 again.
- Wolfgang Riedmann
- Posts: 1322
- Karma: 6
- Thank you received: 6
a "refresh" is not a reinstall. Sometimes Windows gets corrupted, some setting or some files, and can be repaired only by a complete new install.
Personally, I try to keep my machine clean and to install only what I need, making experiments on other machines. And until now I was able to keep my machine working...
But I have seen such an issue not only with Windows, but also with Linux, so this is a common problem of the now very complex operating systems.
Current status is that someone 'scaled up' the seemingly lost issue and I can expect a call today.....
Now then, On the Universal apps issue / topic, please be aware that I have been using the Template in C# and that X# still needs some improvements on the level of integration, and a larger selection of Templates to choose from is one area we are all waiting for.
So for now Universal apps in C#, unless you are a genius or a guru
Personally, I am convinced that all VS installation (different versions etc.) are all independent and faith in uninstalling a 2015 version solving your problem is NOT very hopeful I fear.
It is something to do with folders in your Windows 10 system, an issue caused by another app.
What about noting the folder name and path the default install is to use, and then go outside the installer and make sure that this folder is totally removed ?
It looks like you are completely correct! VS 2017 now works, and this is why I think you are:
Today Mrs. Chaurasia from MS Support called, took over my system and did the following:
Uninstalled the earlier versions of Win SDK
Reboot the machine.
Installed the check for updates
Renamed the folders:
C:\ProgramData\Windows App Certification Kit
C:\Program Files (x86)\Windows Kits
Installed the Win SDK successfully on the machine
Repairing the VS 2017 Community
This did not solve it completely. The error changed to Package 'Microsoft.SmartDevice.Connectivity,version=15.0.26315.0' failed to install.
It says: Details
MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.SmartDevice.Connectivity,version=15.0.26315.0\WPSDK_en.msi, Properties: REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1 MSIFASTINSTALL="7"
I found these to be linked with Phone Tools and performed the same trick on the directories involved for this.
First I renamed C:\ProgramData\Microsoft\Phone Tools\CoreCon\12.0 to !12.0.
Then I got a message that it didn't have sufficient rights etc in the directory.
After that I renamed C:\ProgramData\Microsoft\Phone Tools to !Phone Tools and then it finally installed without errors.
It looks like the new VS installer could do with a bit of overhaul & testing....
BTW, just finally managed to convince WindowsUpdate to run successfully on wife's laptop - after it tried in vain for some hours. One of the real nasties is, that you can't stop the updater in it's tries.
a) net stop wuauserv from admin prompt,
b) failed: "couldn't stop service"
c) after some long time, updater told (wrongly): failed because of reboot ,
d) retry a)
e) now stop succeeds <g>
f) regsvr32 %windir%\system32\wups2.dll
h) net start wuauserv
i) open winupdate - and finally: Success!
Out of completely joy that I finally got something working I guess...
I edited it. I had some collateral damage in the installation - the Phone emulators were gone and after reinstalling I got one of the always helpful VS messages in VS2015:
DEP0001 : Unexpected Error: DEP0001 : Unexpected Error: -1988946668
but in VS2017 it actually worked. Loading the project is terribly slow compared to VS 2015 (hilarious that VS2017 is actually advertised as many times faster as VS 2015, what was I thinking when attempting to install it...) but it does work.
BTW, just finally managed to convince WindowsUpdate to run successfully on wife's laptop - after it tried in vain for some hours.
You tried to get the Creator's Update? Very, very brave Karl. How do the new Microsoft advertisements look in Explorer? Did they find more ways to annoy the user?
Here's a bit of background www.theverge.com/2017/3/17/14956540/micr...askbar-file-explorer
Ah, no - 1603, machine was somewhat behind...
Dick wrote: You tried to get the Creator's Update? Very, very brave Karl.
CARE ! - Some are 'Release's and the others are 'Pre-release's.
Creator seems to be the name of the last two Insider offerings.
Articles on the web seem to often refer to the latest version as the 'Release' one. Hence some confusion, I think.
This is what my system reports - remember, I have gone back a step (version) from the latest, because of my 'SnagIt tool' :-
Insider 15063 is what I am on now and the Insider version 16170 is what broke Snagit.
Do not comment about confusing etc. ;-0((
But at least I could go back to the previous version of Windows 10.
Hope this helps clarify and clear the muddy waters !?
Thanks for this interesting feed-back, it does fit all the facts and observations at this end it would seem.
The VS Installer for 2017 definitely needs some work to make it 100% okay. And plenty of testing up front.
Since it is designed to allow individual developers to 'Modify' what is contained in the VS installation - from a visual IDE perspective, then Modifying should work and definitely NOT break the VS installations on a PC system.
Remember I had both an 'Enterprise' and a 'Community' version of 2017 working happily, and side by side on my office desktop platform.
In trying to modify the install of Community, and a couple of other sensible related similar 'things' I must have had the Installer remove one or more 'bits' or 'workload' sets. This then broke everything it would appear, by not removing a folder it later checked and would not over-write.
Yes, MS in their wisdom (and it does make sense to me) have installs so that Folders are parts used by multiple versions of 2017. So break things for one version and you have broken things for them all - I call that brittle design even though it may save lots of disk space.
YES, I suppose I could install a Hyper-V virtual machine etc., etc. - BUT - I can't be bothered, AND, the Installer checks itself for updates regularly so, just maybe, they fix it soon. Maybe a fix will come before I get a VM up and running.
Fingers crossed - I will report back if things change for the better / good.
- Wolfgang Riedmann
- Posts: 1322
- Karma: 6
- Thank you received: 6
only to clarify: the current Windows 10 release is Build 15063, and if you installed all current security updates, it is 15063.138.
The Insiders builds are going forward, but the release version of 1703 remains 15063.