none
Trouble Installing Visual Studio Community 2017 RC

    Question

  • I've tried several times to install Visual Studio Community 2017 RC several times without success. I also uninstalled and re-installed, as well as the "repair" option a few times. After uninstalling, I used a tool called TotalUninstaller to completely remove any remnants of Visual Studio before trying to install it again. Even after doing that, the installer quits with message "Setup Operation Failed".

    Here is the log file:

    [2f68:001f][2017-01-01T01:57:32] Package 'Win10SDK_10.0.14393.33,version=10.0.14393.3306' failed to install. Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NoLogo -NoProfile -ExecutionPolicy Unrestricted -InputFormat None -Command "& """C:\ProgramData\Microsoft\VisualStudio\Packages\Win10SDK_10.0.14393.33,version=10.0.14393.3306\WinSdkInstall.ps1""" -SetupExe sdksetup.exe -PackageId Win10SDK_10.0.14393.33 -LogFile """C:\Users\iRobStudent\AppData\Local\Temp\dd_setup_20161231235240_222_Win10SDK_10.0.14393.33.log""" -SetupParameters """/features OptionId.WindowsSoftwareDevelopmentKit OptionId.WindowsSoftwareLogoToolkit OptionId.NetFxSoftwareDevelopmentKit /quiet /norestart"""; exit $LastExitCode", Return code: 1, Details: Incorrect function.
    [2f68:001f][2017-01-01T01:59:07] Package 'Microsoft.Net.Core.SDK,version=15.0.26009.0,chip=x64' failed to install. Command executed: "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Net.Core.SDK,version=15.0.26009.0,chip=x64\dotnet-dev-win-x64.1.0.0-preview4-004233.exe" C:\Program Files (x86)\Microsoft Visual Studio\2017\Community /log C:\Users\iRobStudent\AppData\Local\Temp\dd_setup_20161231235240_251_Microsoft.Net.Core.SDK.log /quiet /norestart, Return code: 1638, Details: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
    [2f68:001f][2017-01-01T02:10:39] Package 'Microsoft.Ancm.IISExpress.Msi,version=1.0.1967,chip=x64' failed to repair. MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Ancm.IISExpress.Msi,version=1.0.1967,chip=x64\ancm_iis_express_x64_en.msi, Properties:  REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1  ALLUSERS="1"  MSIFASTINSTALL="7"  REINSTALL=ALL  REINSTALLMODE="cmuse" IGNOREDEPENDENCIES=ALL , Return code: 1316, Details: The specified account already exists.
    

    Any suggestions on what to try next?


    • Edited by chinx.bugs Sunday, January 1, 2017 10:55 AM
    Sunday, January 1, 2017 10:54 AM

All replies

  • >I've tried several times to install Visual Studio Community 2017 RC several times without success. I also uninstalled and re-installed, as well as the "repair" option a few times. After uninstalling, I used a tool called /TotalUninstaller/ to completely remove any remnants of Visual Studio before trying to install it again. Even after doing that, the installer quits with message "Setup Operation Failed".

    You're not alone.

    If you've already got a Win10 SDK installed, try removing them first.
    I'm not sure if that is the problem, but it seemed to resolve the
    initial install failure for me.

    Happy New Year
    Dave

    Sunday, January 1, 2017 3:45 PM
  • Ok so I just tried that. I removed Windows 10 SDK, restarted my PC and tried installing it again. Same error message : "Setup Operation Failed". Log file

    [0e24:001a][2017-01-01T12:50:14] Package 'Win10SDK_10.0.14393.33,version=10.0.14393.3306' failed to install. Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NoLogo -NoProfile -ExecutionPolicy Unrestricted -InputFormat None -Command "& """C:\ProgramData\Microsoft\VisualStudio\Packages\Win10SDK_10.0.14393.33,version=10.0.14393.3306\WinSdkInstall.ps1""" -SetupExe sdksetup.exe -PackageId Win10SDK_10.0.14393.33 -LogFile """C:\Users\iRobStudent\AppData\Local\Temp\dd_setup_20170101122055_219_Win10SDK_10.0.14393.33.log""" -SetupParameters """/features OptionId.WindowsSoftwareDevelopmentKit OptionId.WindowsSoftwareLogoToolkit OptionId.NetFxSoftwareDevelopmentKit /quiet /norestart"""; exit $LastExitCode", Return code: 1, Details: Incorrect function.
    [0e24:001a][2017-01-01T12:51:03] Package 'Microsoft.Net.Core.SDK,version=15.0.26009.0,chip=x64' failed to install. Command executed: "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Net.Core.SDK,version=15.0.26009.0,chip=x64\dotnet-dev-win-x64.1.0.0-preview4-004233.exe" C:\Program Files (x86)\Microsoft Visual Studio\2017\Community /log C:\Users\iRobStudent\AppData\Local\Temp\dd_setup_20170101122055_246_Microsoft.Net.Core.SDK.log /quiet /norestart, Return code: 1638, Details: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
    Sunday, January 1, 2017 9:00 PM
  • >Ok so I just tried that. I removed Windows 10 SDK, restarted my PC and tried installing it again. Same error message : "Setup Operation Failed". Log file

    Check that you've not got any other version as well.

    Filtering the Control Panel, Programs and Features list for "Windows
    Software" showed that I'd got several version installed, once I
    removed them all and installed only the default one VS 2017 has, it
    succeeded for me.

    I've currently only got 10.0.14393.33 showing up.

    But as I mentioned, I'm not really sure; this was what *seemed" to be
    the case in my situation. I could be totally wrong.

    Dave

    Sunday, January 1, 2017 11:20 PM
  • [21b4:0019][2017-01-01T16:24:28] Package 'Win10SDK_10.0.14393.33,version=10.0.14393.3306' failed to install. Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NoLogo -NoProfile -ExecutionPolicy Unrestricted -InputFormat None -Command "& """C:\ProgramData\Microsoft\VisualStudio\Packages\Win10SDK_10.0.14393.33,version=10.0.14393.3306\WinSdkInstall.ps1""" -SetupExe sdksetup.exe -PackageId Win10SDK_10.0.14393.33 -LogFile """C:\Users\iRobStudent\AppData\Local\Temp\dd_setup_20170101155102_219_Win10SDK_10.0.14393.33.log""" -SetupParameters """/features OptionId.WindowsSoftwareDevelopmentKit OptionId.WindowsSoftwareLogoToolkit OptionId.NetFxSoftwareDevelopmentKit /quiet /norestart"""; exit $LastExitCode", Return code: 1, Details: Incorrect function.
    [21b4:0019][2017-01-01T16:26:28] Package 'Microsoft.Net.Core.SDK,version=15.0.26009.0,chip=x64' failed to install. Command executed: "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Net.Core.SDK,version=15.0.26009.0,chip=x64\dotnet-dev-win-x64.1.0.0-preview4-004233.exe" C:\Program Files (x86)\Microsoft Visual Studio\2017\Community /log C:\Users\iRobStudent\AppData\Local\Temp\dd_setup_20170101155102_246_Microsoft.Net.Core.SDK.log /quiet /norestart, Return code: 1638, Details: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
    

    Monday, January 2, 2017 12:23 AM
  • Hi chinx.bugs,

    Welcome to the MSDN forum.

    For the windows 10 SDK fail to install, I found there is a similar known issue, please have a look at the following:

    To work around this issue:

    1. From Programs and Features, select Windows Software Development Kit and click Change, or download and run the Windows 10 SDK (14393) installer.
    2. In the Windows SDK installer, select the "Windows Software Development Kit" and ".NET Framework SDK" features.
    3. Run Visual Studio Installer, click Modify, and then click Install. You do not need to change any feature selections.

    >> Package 'Microsoft.Ancm.IISExpress.Msi,version=1.0.1967,chip=x64' failed to repair. MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Ancm.IISExpress.Msi,version=1.0.1967,chip=x64\ancm_iis_express_x64_en.msi, Properties:  REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1  ALLUSERS="1"  MSIFASTINSTALL="7"  REINSTALL=ALL  REINSTALLMODE="cmuse" IGNOREDEPENDENCIES=ALL , Return code: 1316, Details: The specified account already exists.

    Go to this location "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Ancm.IISExpress.Msi,version=1.0.1967,chip=x64" and under the folder, there is an .msi file ‘ancm_iis_express_x64_en.msi’ and right click it and choose ‘Uninstall’ to remove this component, then re-run the VS 2017 installer again. If you still meet the similar issue, you can try to manually remove those components.

    If the installation still failed, I need your help to collect the complete VS installation logs, you can use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.

    Best regards,

    Sara


    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.

    Tuesday, January 3, 2017 3:57 AM
    Moderator
  • Ok I was finally able to install it, but very barebones install. I removed Windows 10 SDK, .NET Core, etc. When installing, I did not include web tools, azure, the javascript/css plugin, xamarin, nothing. Where do I go from here?
    Tuesday, January 3, 2017 6:56 PM
  • Hi chinx.bugs,

    Thank you for your update.

    Do you mean you have not checked those options about SDK, .NET Core, web tools, azure, the javascript/css plugin, xamarin and others, then the installation works fine?

    If so, you can re-run the VS community 2017 installer as administrator again, the Modify, and check the above option except the SDK one by one to check if those components can install successfully or not.

    If the installation failed, I need your help to collect the installation logs like I said before, it will record the detail error message of the failed installation, thank you for your support.

    Best regards,

    Sara


    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.


    Wednesday, January 4, 2017 8:27 AM
    Moderator