Xamarin 4.3.0.784 install manually OK... but will not install from the Xamarin Website

I would like to run it from the web page to insure all the components are installed. An abstract of the log file is as follows:

...

for 'https://www.xamarin.com/installer_assets/v3/Windows/Universal/InstallationManifest.xml' to 60s
[2017-03-04 04:02:44.702] [Info] Retrieving installation size manifest.
[2017-03-04 04:02:44.702] [Info] Downloading from 'https://www.xamarin.com/installer_assets/v3/Windows/Universal/InstallationSizes.xml'.
[2017-03-04 04:02:44.702] [Debug] Setting download timeout for 'https://www.xamarin.com/installer_assets/v3/Windows/Universal/InstallationSizes.xml' to 60s
[2017-03-04 04:02:45.520] [Exception] Failed to retrieve response for URL 'https://www.xamarin.com/installer_assets/v3/Windows/Universal/InstallationSizes.xml'
[2017-03-04 04:02:45.520] [Exception] System.Net.WebException: The remote server returned an error: (403) Forbidden.
[2017-03-04 04:02:45.520] [Exception] at System.Net.HttpWebRequest.GetResponse()
[2017-03-04 04:02:45.520] [Exception] at Xamarin.Components.Ide.Web.RequestHelper.GetResponse(Func1 createRequest, Action1 prepareRequest)
[2017-03-04 04:02:45.520] [Exception] at Xamarin.Web.Installer.Utilities.DownloadUrl(String url, Action4 doDownload, Func3 webExceptionHandler, Boolean noCache, Object state, Int32 timeout, Stream outputStream, String targetFileName)
[2017-03-04 04:02:45.520] [Exception] Failed to download resource from 'https://www.xamarin.com/installer_assets/v3/Windows/Universal/InstallationSizes.xml'
[2017-03-04 04:02:45.520] [Exception] System.Net.WebException: The remote server returned an error: (403) Forbidden.
[2017-03-04 04:02:45.520] [Exception] at System.Net.HttpWebRequest.GetResponse()
[2017-03-04 04:02:45.520] [Exception] at Xamarin.Components.Ide.Web.RequestHelper.GetResponse(Func1 createRequest, Action1 prepareRequest)
[2017-03-04 04:02:45.520] [Exception] at Xamarin.Web.Installer.Utilities.DownloadUrl(String url, Action4 doDownload, Func3 webExceptionHandler, Boolean noCache, Object state, Int32 timeout, Stream outputStream, String targetFileName)
[2017-03-04 04:02:45.520] [Exception] at Xamarin.Web.Installer.Utilities.GetManifest(String description, String resourceName, String resourceRelativeUrl, Boolean throwOnMissing, Boolean fineIfMissing, Boolean fallbackToEmbedded)
[2017-03-04 04:02:45.520] [Info] Determining list of software items to install.
[2017-03-04 04:02:45.520] [Debug] Processing update nodes from the manifest.
[2017-03-04 04:02:45.520] [Debug] Creating and initializing software item 'Java JDK'
[2017-03-04 04:02:45.636] [Debug] Creating and initializing software item 'Android SDK'
[2017-03-04 04:02:45.636] [Debug] Creating and initializing software item 'Microsoft® MSBuild Tools 2015'
[2017-03-04 04:02:45.636] [Debug] Creating and initializing software item 'Xamarin'
[2017-03-04 04:02:45.636] [Debug] Creating and initializing software item 'Intel® HAXM'
[2017-03-04 04:02:45.636] [Debug] Creating and initializing software item 'Xamarin Profiler'
[2017-03-04 04:02:45.636] [Debug] Creating and initializing software item 'Xamarin Workbooks & Inspector'
[2017-03-04 04:02:45.636] [Debug] Creating and initializing software item 'Remoted iOS Simulator'
[2017-03-04 04:02:45.636] [Debug] Detecting software item 'Java JDK'
[2017-03-04 04:02:45.636] [Info] Checking whether JDK needs to be installed.
[2017-03-04 04:02:45.636] [Debug] Attempting to read registry subkey 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit', value 'CurrentVersion'
[2017-03-04 04:02:45.636] [Debug] Attempting to read registry subkey 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.8', value 'JavaHome'
[2017-03-04 04:02:45.636] [Debug] Attempting to read registry subkey 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.8', value 'JavaHome'
[2017-03-04 04:02:45.636] [Info] Required JDK already installed alongside incompatible version 1.8
[2017-03-04 04:02:45.636] [Info] Status: successful
[2017-03-04 04:02:45.636] [Info] Component 'Java JDK' v. 1.8.0 present
[2017-03-04 04:02:45.636] [Info] Software item 'Java JDK': up to date
[2017-03-04 04:02:45.636] [Debug] Detecting software item 'Android SDK'
[2017-03-04 04:02:45.636] [Info] Checking if Android SDK needs to be updated/installed
[2017-03-04 04:02:45.636] [Info] Using default samples:
[2017-03-04 04:02:45.636] [Info] Downloading from 'http://download.xamarin.com/Installer/xamarin-android-sdk.xml'.
[2017-03-04 04:02:45.636] [Debug] Setting download timeout for 'http://download.xamarin.com/Installer/xamarin-android-sdk.xml' to 60s
[2017-03-04 04:02:46.253] [Warning] Cannot map element 'lldb' to descriptor type.
[2017-03-04 04:02:46.254] [Warning] Cannot map element 'lldb' to descriptor type.
[2017-03-04 04:02:46.254] [Warning] Cannot map element 'lldb' to descriptor type.
[2017-03-04 04:02:46.255] [Warning] Cannot map element 'lldb' to descriptor type.
[2017-03-04 04:02:46.255] [Warning] Cannot map element 'licenses' to descriptor type.
[2017-03-04 04:02:46.375] [Debug] Detecting Android SDK in '\Android\android-sdk'
[2017-03-04 04:02:46.792] [Debug] Download size for 'http://dl-ssl.google.com/android/repository/android-ndk-r13b-windows-x86_64.zip': 681320123
[2017-03-04 04:02:46.792] [Debug] NDK found in 'C:\Program Files\Android\ndk\android-ndk-r13b', no update necessary
[2017-03-04 04:02:46.908] [Debug] Android package 'android-16' has no revision defined
[2017-03-04 04:02:46.908] [Info] File '\Android\android-sdk\platforms\android-16\android.jar' not found for 'Component: android-16'
[2017-03-04 04:02:46.908] [Debug] Android package 'android-15' has no revision defined

...

[2017-03-04 04:02:46.924] [Info] File '\Android\android-sdk\platforms\android-5\android.jar' not found for 'Component: android-5'
[2017-03-04 04:02:46.924] [Debug] Android package 'android-4' has no revision defined
[2017-03-04 04:02:46.924] [Info] File '\Android\android-sdk\platforms\android-4\android.jar' not found for 'Component: android-4'
[2017-03-04 04:02:46.924] [Debug] Android package 'build-tool 25.0.0' has no revision defined
[2017-03-04 04:02:46.924] [Info] File '\Android\android-sdk\build-tools\25.0.0\aapt.exe' not found for 'Component: build-tool 25.0.0'
[2017-03-04 04:02:46.924] [Info] File '\Android\android-sdk\build-tools\25.0.0\aidl.exe' not found for 'Component: build-tool 25.0.0'

...

[2017-03-04 04:02:46.924] [Debug] Detecting Android SDK in '\Xamarin\MonoForAndroid\AndroidSDK'
[2017-03-04 04:02:46.924] [Debug] Android package 'platform-tools' has no revision defined
[2017-03-04 04:02:46.924] [Info] File '\Xamarin\MonoForAndroid\AndroidSDK\platform-tools\adb.exe' not found for 'Component: platform-tools'
[2017-03-04 04:02:46.939] [Debug] Android package 'tools' has no revision defined
[2017-03-04 04:02:46.939] [Info] File '\Xamarin\MonoForAndroid\AndroidSDK\tools\android.bat' not found for 'Component: tools'
[2017-03-04 04:02:46.939] [Info] File '\Xamarin\MonoForAndroid\AndroidSDK\tools\mksdcard.exe' not found for 'Component: tools'
[2017-03-04 04:02:46.939] [Info] File '\Xamarin\MonoForAndroid\AndroidSDK\tools\emulator.exe' not found for 'Component: tools'
[2017-03-04 04:02:47.056] [Debug] Download size for 'http://dl-ssl.google.com/android/repository/android-ndk-r13b-windows-x86_64.zip': 681320123
[2017-03-04 04:02:47.056] [Debug] NDK found in 'C:\Program Files\Android\ndk\android-ndk-r13b', no update necessary
[2017-03-04 04:02:47.057] [Debug] Android package 'android-23' has no revision defined
[2017-03-04 04:02:47.058] [Info] File '\Xamarin\MonoForAndroid\AndroidSDK\platforms\android-23\android.jar' not found for 'Component: android-23'

...

[2017-03-04 04:02:47.077] [Debug] Android package 'android-9' has no revision defined
[2017-03-04 04:02:47.077] [Info] File '\Xamarin\MonoForAndroid\AndroidSDK\platforms\android-9\android.jar' not found for 'Component: android-9'

...

[2017-03-04 04:02:47.077] [Debug] Android package 'build-tool 25.0.1' has no revision defined
[2017-03-04 04:02:47.077] [Info] File '\Xamarin\MonoForAndroid\AndroidSDK\build-tools\25.0.1\aapt.exe' not found for 'Component: build-tool 25.0.1'
[2017-03-04 04:02:47.077] [Info] File '\Xamarin\MonoForAndroid\AndroidSDK\build-tools\25.0.1\aidl.exe' not found for 'Component: build-tool 25.0.1'

...

[2017-03-04 04:02:47.093] [Info] File '\Xamarin\MonoForAndroid\AndroidSDK\build-tools\20.0.0\aidl.exe' not found for 'Component: build-tool 20.0.0'
[2017-03-04 04:02:47.093] [Debug] Android package 'build-tool 19.1.0' has no revision defined
[2017-03-04 04:02:47.093] [Info] File '\Xamarin\MonoForAndroid\AndroidSDK\build-tools\19.1.0\aapt.exe' not found for 'Component: build-tool 19.1.0'
[2017-03-04 04:02:47.093] [Info] File '\Xamarin\MonoForAndroid\AndroidSDK\build-tools\19.1.0\aidl.exe' not found for 'Component: build-tool 19.1.0'
[2017-03-04 04:02:47.093] [Debug] Android package has no revision defined
[2017-03-04 04:02:47.093] [Info] Could not retrieve Pkg.Revision from \Xamarin\MonoForAndroid\AndroidSDK\tools\source.properties, r0 assumed
[2017-03-04 04:02:47.093] [Debug] Detecting Android SDK in '\Xamarin\Universal\AndroidSDK'
[2017-03-04 04:02:47.093] [Debug] Android package 'platform-tools' has no revision defined
[2017-03-04 04:02:47.093] [Info] File '\Xamarin\Universal\AndroidSDK\platform-tools\adb.exe' not found for 'Component: platform-tools'
[2017-03-04 04:02:47.093] [Debug] Android package 'tools' has no revision defined
[2017-03-04 04:02:47.093] [Info] File '\Xamarin\Universal\AndroidSDK\tools\android.bat' not found for 'Component: tools'
[2017-03-04 04:02:47.093] [Info] File '\Xamarin\Universal\AndroidSDK\tools\mksdcard.exe' not found for 'Component: tools'
[2017-03-04 04:02:47.093] [Info] File '\Xamarin\Universal\AndroidSDK\tools\emulator.exe' not found for 'Component: tools'
[2017-03-04 04:02:47.309] [Debug] Download size for 'http://dl-ssl.google.com/android/repository/android-ndk-r13b-windows-x86_64.zip': 681320123
[2017-03-04 04:02:47.309] [Debug] NDK found in 'C:\Program Files\Android\ndk\android-ndk-r13b', no update necessary
[2017-03-04 04:02:47.309] [Debug] Android package 'android-23' has no revision defined
[2017-03-04 04:02:47.309] [Info] File '\Xamarin\Universal\AndroidSDK\platforms\android-23\android.jar' not found for 'Component: android-23'
[2017-03-04 04:02:47.309] [Debug] Android package 'android-22' has no revision defined
[2017-03-04 04:02:47.309] [Info] File '\Xamarin\Universal\AndroidSDK\platforms\android-22\android.jar' not found for 'Component: android-22'

...

[2017-03-04 04:02:47.440] [Debug] Android package 'android-4' has no revision defined
[2017-03-04 04:02:47.440] [Info] File '\Xamarin\Universal\AndroidSDK\platforms\android-4\android.jar' not found for 'Component: android-4'
[2017-03-04 04:02:47.441] [Debug] Android package 'build-tool 25.0.1' has no revision defined
[2017-03-04 04:02:47.442] [Info] File '\Xamarin\Universal\AndroidSDK\build-tools\25.0.1\aapt.exe' not found for 'Component: build-tool 25.0.1'
[2017-03-04 04:02:47.442] [Info] File '\Xamarin\Universal\AndroidSDK\build-tools\25.0.1\aidl.exe' not found for 'Component: build-tool 25.0.1'

...

[2017-03-04 04:02:47.465] [Debug] Android package 'build-tool 19.1.0' has no revision defined
[2017-03-04 04:02:47.465] [Info] File '\Xamarin\Universal\AndroidSDK\build-tools\19.1.0\aapt.exe' not found for 'Component: build-tool 19.1.0'
[2017-03-04 04:02:47.466] [Info] File '\Xamarin\Universal\AndroidSDK\build-tools\19.1.0\aidl.exe' not found for 'Component: build-tool 19.1.0'
[2017-03-04 04:02:47.466] [Debug] Android package has no revision defined
[2017-03-04 04:02:47.467] [Info] Could not retrieve Pkg.Revision from \Xamarin\Universal\AndroidSDK\tools\source.properties, r0 assumed
[2017-03-04 04:02:47.467] [Debug] AVD paths: base: C:\Users\King.android\avd; AVD: C:\Users\King.android\avd
[2017-03-04 04:02:47.468] [Debug] Checking whether AVD exists at C:\Users\King.android\avd\Android_Accelerated_x86.avd
[2017-03-04 04:02:47.468] [Debug] AVD found at C:\Users\King.android\avd\Android_Accelerated_x86.avd
[2017-03-04 04:02:47.469] [Debug] AVD paths: base: C:\Users\King.android\avd; AVD: C:\Users\King.android\avd
[2017-03-04 04:02:47.469] [Debug] Checking whether AVD exists at C:\Users\King.android\avd\Android_ARMv7a.avd
[2017-03-04 04:02:47.470] [Debug] AVD found at C:\Users\King.android\avd\Android_ARMv7a.avd
[2017-03-04 04:02:47.470] [Info] Android SDK needs to be updated/installed
[2017-03-04 04:02:47.471] [Info] Asking user to select the Android SDK to update
[2017-03-04 04:02:47.471] [Info] Status: successful
[2017-03-04 04:02:47.472] [Info] Software item 'Android SDK': not up to date
[2017-03-04 04:02:47.472] [Info] Component 'Android SDK' v. 24.4.1 absent
[2017-03-04 04:02:47.473] [Debug] Detecting software item 'Microsoft® MSBuild Tools 2015'
[2017-03-04 04:02:47.473] [Info] Checking whether Microsoft Build Tools 2015.0 are installed
[2017-03-04 04:02:47.474] [Info] Visual Studio 2015 found. Not installing standalone Microsoft Build Tools
[2017-03-04 04:02:47.474] [Info] Status: successful
[2017-03-04 04:02:47.475] [Info] Component 'Microsoft® MSBuild Tools 2015' v. 0.0.0 present
[2017-03-04 04:02:47.475] [Info] Software item 'Microsoft® MSBuild Tools 2015': up to date
[2017-03-04 04:02:47.475] [Debug] Detecting software item 'Xamarin'
[2017-03-04 04:02:47.476] [Debug] Extension Xamarin file dnssd.dll not found in VS 2012
[2017-03-04 04:02:47.477] [Debug] Extension Xamarin file dnssd.dll not found in VS 2013
[2017-03-04 04:02:47.477] [Debug] Extension Xamarin file dnssd.dll not found in VS 2015
[2017-03-04 04:02:47.477] [Debug] Considering additional download nuget: https://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c/file/37502/38/NuGet.Tools.vsix

...

[2017-03-04 04:05:48.111] [Info] Installing an MSI
[2017-03-04 04:05:48.111] [Info] Archive path: \Temp\Xamarin\downloads\Xamarin.VisualStudio_4.3.0.784.msi
[2017-03-04 04:05:48.111] [Info] Starting MSI installation: msiexec /i "\Temp\Xamarin\downloads\Xamarin.VisualStudio_4.3.0.784.msi" /quiet /passive /log "\Temp\tmpFC52.tmp" ADDLOCAL=XamarinVSFeature,Xamarin_VS11_AddIn,Xamarin_VS12_AddIn,Xamarin_VS14_AddIn
[2017-03-04 04:05:49.245] [Info] MSI installation process exited with code 1603
[2017-03-04 04:05:49.245] [Info] Status: failed.
[2017-03-04 04:05:49.245] [Info] InstallMsi failed for '\Temp\Xamarin\downloads\Xamarin.VisualStudio_4.3.0.784.msi'
[2017-03-04 04:05:49.245] [Exception] Exception was thrown.
[2017-03-04 04:05:49.245] [Exception] System.InvalidOperationException: MSI execution failed.
[2017-03-04 04:05:49.245] [Exception] at Xamarin.Web.Installer.Utilities.InstallMSI(String file, Boolean needsPrivileges, Action`3 processCommandArguments)
[2017-03-04 04:05:49.245] [Info] BEGIN >>>>>> msiexec log: '\Temp\tmpFC52.tmp'
[Info] === Logging started: 3/3/2017 22:05:48 ===
[Info] Action start 22:05:48: INSTALL.

...

[Info] DEBUG: Error 2711: The specified Feature name ('Xamarin_VS11_AddIn') not found in Feature Table.
[Info] MSI (s) (40:F8) [22:05:48:945]: Product: Xamarin -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2711. The arguments are: Xamarin_VS11_AddIn, ,
[Info] The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2711. The arguments are: Xamarin_VS11_AddIn, ,
[Info] Action ended 22:05:48: CostFinalize. Return value 3.
[Info] Action ended 22:05:48: INSTALL. Return value 3.

...

[Info] MSI (s) (40:10) [22:05:50:263]: Windows Installer reconfigured the product. Product Name: Xamarin. Product Version: 4.3.0.784. Product Language: 1033. Manufacturer: Xamarin. Reconfiguration success or error status: 1603.
[Info] === Logging stopped: 3/3/2017 22:05:50 ===
[2017-03-04 04:05:50.479] [Info] END >>>>>> msiexec log: '\Temp\tmpD7.tmp'
[2017-03-04 04:05:50.479] [Info] Status: failed.
[2017-03-04 04:05:50.479] [Exception] Installation of software item 'Xamarin' failed with exception.
[2017-03-04 04:05:50.479] [Exception] Xamarin.Web.Installer.InstallException: Installation of archive '\Temp\Xamarin\downloads\Xamarin.VisualStudio_4.3.0.784.msi' failed with exception. ---> System.InvalidOperationException: MSI execution failed.
[2017-03-04 04:05:50.479] [Exception] at Xamarin.Web.Installer.Utilities.InstallMSI(String file, Boolean needsPrivileges, Action`3 processCommandArguments)
[2017-03-04 04:05:50.479] [Exception] at Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Install(String path, Boolean needsPrivileges)
[2017-03-04 04:05:50.479] [Exception] --- End of inner exception stack trace ---
[2017-03-04 04:05:50.479] [Exception] at Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Install(String path, Boolean needsPrivileges)
[2017-03-04 04:05:50.479] [Exception] at Xamarin.Web.Installer.Installer.BaseSoftwareItem.InstallDownloadedItem(String url, InstallationArchiveHandler handler, DownloadServiceWorkItem download)
[2017-03-04 04:05:50.479] [Exception] at Xamarin.Web.Installer.Installer.BaseSoftwareItem.Install(UInt32 tryNumber)
[2017-03-04 04:05:50.479] [Exception] at Xamarin.Web.Installer.Installer.XamarinVSSoftwareItem.Install(UInt32 tryNumber)
[2017-03-04 04:05:50.479] [Exception] at WindowsInstaller.ProgressPage.InstallationWorker()
[2017-03-04 04:05:50.479] [Info] Status: failed.
[2017-03-04 04:05:50.479] [Debug] Showing manual installation window because of error
[2017-03-04 04:05:50.595] [Debug] Starting installation complete task.
[2017-03-04 04:05:50.596] [Info] Background installation worker completed.
[2017-03-04 04:05:50.718] [Info] Installation completed with failure
[2017-03-04 04:05:50.718] [Info] Status: failed.

Best Answers

Answers

  • KingCoffeeKingCoffee USMember ✭✭

    The installer error page is as follows:

    Installation of 'Xamarin' failed with more than one exception (attempt 3)
    Errors while installing items.
    Exception type: System.AggregateException
    Installation of archive 'C:\Users\King\AppData\Local\Temp\Xamarin\downloads\Xamarin.VisualStudio_4.3.0.784.msi' failed with exception.
    Exception type: Xamarin.Web.Installer.InstallException
    Full stack trace:
    at Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Install(String path, Boolean needsPrivileges)
    at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
    at Xamarin.Web.Installer.Installer.BaseSoftwareItem.InstallDownloadedItem(String url, InstallationArchiveHandler handler, DownloadServiceWorkItem download)
    at Xamarin.Web.Installer.Installer.BaseSoftwareItem.Install(UInt32 tryNumber)
    at Xamarin.Web.Installer.Installer.XamarinVSSoftwareItem.Install(UInt32 tryNumber)
    at WindowsInstaller.ProgressPage.InstallationWorker()
    Installation of archive 'C:\Users\King\AppData\Local\Temp\Xamarin\downloads\Xamarin.VisualStudio_4.3.0.784.msi' failed with exception.
    Exception type: Xamarin.Web.Installer.InstallException
    Full stack trace:
    at Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Install(String path, Boolean needsPrivileges)
    at Xamarin.Web.Installer.Installer.BaseSoftwareItem.InstallDownloadedItem(String url, InstallationArchiveHandler handler, DownloadServiceWorkItem download)
    at Xamarin.Web.Installer.Installer.BaseSoftwareItem.Install(UInt32 tryNumber)
    at Xamarin.Web.Installer.Installer.XamarinVSSoftwareItem.Install(UInt32 tryNumber)
    at WindowsInstaller.ProgressPage.InstallationWorker()
    Installation of archive 'C:\Users\King\AppData\Local\Temp\Xamarin\downloads\Xamarin.VisualStudio_4.3.0.784.msi' failed with exception.
    Exception type: Xamarin.Web.Installer.InstallException
    Full stack trace:
    at Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Install(String path, Boolean needsPrivileges)
    at Xamarin.Web.Installer.Installer.BaseSoftwareItem.InstallDownloadedItem(String url, InstallationArchiveHandler handler, DownloadServiceWorkItem download)
    at Xamarin.Web.Installer.Installer.BaseSoftwareItem.Install(UInt32 tryNumber)
    at Xamarin.Web.Installer.Installer.XamarinVSSoftwareItem.Install(UInt32 tryNumber)
    at WindowsInstaller.ProgressPage.InstallationWorker()

  • KingCoffeeKingCoffee USMember ✭✭
    Accepted Answer

    A Microsoft and Xamarin engineer are investigating the issue. It appears to be a bug in the software which is system depended.

  • NoelBNoelB USMember

    Did this ever get resolved?

  • KingCoffeeKingCoffee USMember ✭✭

    Short of re-installing VS 2015, I installed VS 2017 and that resolved the problem.

Sign In or Register to comment.