none
Visual studio community fails to install (setup operation failed) RRS feed

  • Question

  • I downloaded the install file and attempted to install, however, no matter what I try I keep getting the same error the error log is as follows

    [7744:0021][2017-03-18T13:20:57] Error 0x80131500: 
       at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)
       at Newtonsoft.Json.JsonTextReader.ParseString(Char quote, ReadType readType)
       at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
       at Newtonsoft.Json.JsonTextReader.ReadAsString()
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
       at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
       at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
       at Microsoft.VisualStudio.Setup.Serialization.ModelSerializer`1.Deserialize(TextReader reader)
       at Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance()
       at Microsoft.VisualStudio.Setup.Cache.CacheRepository.<GetInstances>d__27.MoveNext()
       at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
       at Microsoft.VisualStudio.Setup.Engine.VerifyInstallationPath(IServiceProvider services, String installationPath, IInstance instance, IQuery query)
       at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)Unterminated string. Expected delimiter: ". Path 'packages[316].id', line 1, position 52853.

    any help would be greatly appreciated


    Saturday, March 18, 2017 1:30 PM

All replies

  • Hi Lite5h4dow,

    Thank you for posting in MSDN forum

    Please navigate to path:

    %ProgramData%\Microsoft\VisualStudio\Packages_Instances\<instance> where "instance" is an 8 character Hex string

    Rename or delete the file.

    After that, make sure windows update is up-to-date, clean up the %temp% folder and temporarily disable any antivirus software, reboot the computer and download a web installer from https://www.visualstudio.com/downloads/ to re-run the VS 2017 RTM installer as administrator again.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, March 20, 2017 7:28 AM
    Moderator
  • Thanks this Work for me..
    Thursday, February 22, 2018 4:19 PM