none
Cant install VS 2017 community RRS feed

  • Question

  • Having an issue repairing VS2017 community. I installed it then I had to uninstall it. It didn't uninstall right and now I cant remove it. Install or repair it. I keep getting errors. I tried the force uninstaller from github. No luck there either. Below is the log from the last repair. Seems I am missing many packages. Anyone know an easy way to fix this?

    ====================================================================

    The product failed to install the listed workloads and components due to one or more package failures.

    Incomplete workloads
        .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26412.1)
        ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26412.1)
        Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26403.0)

    Incomplete components
        .NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=15.0.26323.1)
        .NET Portable Library targeting pack (Microsoft.VisualStudio.Component.PortableLibrary,version=15.0.26208.0)
        ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26323.1)
        Cloud Explorer (Microsoft.VisualStudio.Component.CloudExplorer,version=15.0.26208.0)
        CLR data types for SQL Server (Microsoft.VisualStudio.Component.SQL.CLR,version=15.0.26208.0)
        Connectivity and publishing tools (Microsoft.VisualStudio.Component.Common.Azure.Tools,version=1.9.170119.3)
        Container development tools (Microsoft.VisualStudio.Component.DockerTools,version=15.0.26323.1)
        Data sources and service references (Microsoft.VisualStudio.Component.VisualStudioData,version=15.0.26208.0)
        Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=15.0.26208.0)
        Developer Analytics tools (Microsoft.VisualStudio.Component.AppInsights.Tools,version=15.0.26323.1)
        JavaScript and TypeScript language support (Microsoft.VisualStudio.Component.JavaScript.TypeScript,version=15.0.26412.1)
        Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=15.0.26419.1)
        SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=15.0.26208.0)
        Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26412.1)
        Universal Windows Platform tools for Cordova (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26403.0)
        Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26403.0)
        Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26208.0)

    You can search for solutions using the information below, modify your selections for the above workloads and components and retry the installation, or remove the product from your machine.

    Following is a collection of individual package failures that led to the incomplete workloads and components above. To search for existing reports of these specific problems, please copy and paste the URL from each package failure into a web browser. If the issue has already been reported, you can find solutions or workarounds there. If the issue has not been reported, you can create a new issue where other people will be able to find solutions or workarounds.

    Package 'sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=en-US' failed to repair.
        Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=sqlsysclrtypes;PackageAction=Repair;ReturnCode=1324
        Impacted workloads
            .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26412.1)
            ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26412.1)
            Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26403.0)
        Impacted components
            .NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=15.0.26323.1)
            .NET Portable Library targeting pack (Microsoft.VisualStudio.Component.PortableLibrary,version=15.0.26208.0)
            ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26323.1)
            Cloud Explorer (Microsoft.VisualStudio.Component.CloudExplorer,version=15.0.26208.0)
            CLR data types for SQL Server (Microsoft.VisualStudio.Component.SQL.CLR,version=15.0.26208.0)
            Connectivity and publishing tools (Microsoft.VisualStudio.Component.Common.Azure.Tools,version=1.9.170119.3)
            Container development tools (Microsoft.VisualStudio.Component.DockerTools,version=15.0.26323.1)
            Data sources and service references (Microsoft.VisualStudio.Component.VisualStudioData,version=15.0.26208.0)
            Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=15.0.26208.0)
            Developer Analytics tools (Microsoft.VisualStudio.Component.AppInsights.Tools,version=15.0.26323.1)
            JavaScript and TypeScript language support (Microsoft.VisualStudio.Component.JavaScript.TypeScript,version=15.0.26412.1)
            Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=15.0.26419.1)
            SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=15.0.26208.0)
            Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26412.1)
            Universal Windows Platform tools for Cordova (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26403.0)
            Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26403.0)
            Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26208.0)
        Log
            C:\Users\scott\AppData\Local\Temp\dd_setup_20170616143957_114_sqlsysclrtypes.log
        Details
            MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=en-US\SQLSysClrTypes.msi, Properties:  REBOOT=ReallySuppress  MSIFASTINSTALL="7"  SKIPPENDINGREBOOTCHECK="1"  REINSTALL=ALL  REINSTALLMODE="cmuse" IGNOREDEPENDENCIES=ALL 
            Return code: 1324
            Return code details: The folder path 'Program Files' contains an invalid character.

    Friday, June 16, 2017 9:58 PM

All replies

  • Hi,

    Welcome to MSDN forum.

    >>Return code: 1324, Return code details: The folder path 'Program Files' contains an invalid character.

    According to the error message, please have a look at the blog: https://blogs.technet.microsoft.com/anupaman/2009/08/14/error-1324-the-folder-path-program-files-contains-an-invalid-character-while-installing-net-framework/

    After this, before you reinstall visual studio, you could uninstall visual studio 2017 by the following steps:

    1. Go to Control Panel—Programs and Features, if there has ‘Microsoft Visual Studio 2017’, right click it and choose ‘Uninstall’
    2. Try to delete the following installed folders: (you can back up those folders before any modification, in case we need to roll back)

    • Go to the folder: %ProgramData%\Microsoft\VisualStudio and delete the ‘Packages’ folder and ‘Setup’ folder if there has.

    • Go to the Visual Studio installation folder (normally under %ProgramFiles(x86)%\Microsoft Visual Studio) and delete the folder ‘2017’

    Best regards,

    Joyce


    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, June 19, 2017 7:42 AM