Windows installers broken temporarily: set clock back

BrendanZagaeskiBrendanZagaeski USForum Administrator, Xamarin Team Xamurai
edited November 2014 in General

Update November 21, 21:15 UTC: Universal installer fixed, SmartScreen warning

A new version of the universal installer has now been published. You will no longer need to set the clock back for this installer, but because it uses a new certificate, you might receive a SmartScreen warning when you run it. See: http://forums.xamarin.com/discussion/28309/windows-smartscreen-warning-more-info-run-anyway for more details.

Original post November 21, 18:55 UTC

As reported in a few other places on the forums and Twitter, the Xamarin installers for Windows are temporarily broken. There are 2 causes. For the individual product installers, the problem is expired signing certificates. For the Universal Installer, the problem is an expired signing certificate and an error in installer "manifest" file that tells it what to download. Yes, these are problems that the Xamarin release engineering and QA teams should not have allowed, but they did happen. The incident will be reviewed to determine how the failure was allowed and what should be done differently in the future to prevent it from reoccurring.

New installers with up-to-date certificates are in progress and will be pushed to the channels ASAP.

Workaround: set the clock back to November 20, 2014

If needed, you can use a "hacky" workaround:

  1. Set back your computer's date to November 20, 2014 or earlier.
  2. Run the installers.
  3. Set your computer forward again to the current day after completing the installation.
  4. Update NuGet Package Manager to 2.8.3 or higher (if it isn't already).

The universal installer (from the big blue button on https://store.xamarin.com/account/my/subscription/downloads) will run mostly successfully using this "hack" too. It will fail near the end of the installation with the error dialogs below. The installation will be mostly complete at that time. The part that fails is updating the NuGet Package Manager to 2.8.3, so be sure to do that by hand. Otherwise Xamarin Forms templates (and other projects that use PCLs) will have trouble installing packages into the PCL projects:

Could not install package 'Xamarin.Forms 1.0.6186'. You are trying to install this package into a project that targets 'portable-net45+win+wp80+Xamarin.iOS10+MonoAndroid10+MonoTouch10', but the package does not contain any assembly references or content files that are compatible with that framework.

Ignorable error messages from the Universal Installer

Univesral installer failure dialog: Xamarin Manual Installation Instructions. An error has occurred. Please follow the steps outlined below in order to install the missing software.

// Installation of 'Xamarin' failed with more than one exception (attempt 3)
// Errors while installing items.
// Exception type: System.AggregateException
// Installation of archive 'C:\Users\Windows User\AppData\Local\Temp\Xamarin\downloads\NuGet.Tools.vsix' 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\Windows User\AppData\Local\Temp\Xamarin\downloads\NuGet.Tools.vsix' 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\Windows User\AppData\Local\Temp\Xamarin\downloads\NuGet.Tools.vsix' 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()

Posts

Sign In or Register to comment.