Installation of "Visual Studio 2015 Professional/Enterprise/Community with Update 3"? completed with "Package Failed" warnings
Issue:
Installation of "Visual Studio 2015 Professional/Enterprise/Community with Update 3" completed with the following warnings
Cause:
VS 2015.3 installer is trying to install C:\ProgramData\Package Cache\{3FEAC561-1CF6-41D6-B0F3-BECDD9C88A1B}v14.0.23107\packages\AuthenticationConnectedServices\AuthenticationConnectedServices_VisualStudio14.msi but it is unable to complete the installation because one of the custom action named vim5555AE0AEF44AAB4CE5DFB7E3419FDBF did not finish its intended task.
MSI (s) (F0:F4) [15:03:54:205]: Executing op: ActionStart(Name=vim5555AE0AEF44AAB4CE5DFB7E3419FDBF,,)
MSI (s) (F0:F4) [15:03:54:206]: Executing op: CustomActionSchedule(Action=vim5555AE0AEF44AAB4CE5DFB7E3419FDBF,ActionType=3122,Source=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe,Target=/q /skuName:Pro /skuVersion:14.0 "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft.VisualStudio.MobileServices.ConnectedServices.vsix" /admin,)
MSI (s) (F0:F4) [15:04:11:525]: Note: 1: 1722 2: vim5555AE0AEF44AAB4CE5DFB7E3419FDBF 3: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe 4: /q /skuName:Pro /skuVersion:14.0 "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft.VisualStudio.MobileServices.ConnectedServices.vsix" /admin
MSI (s) (F0:F4) [15:04:11:525]: Note: 1: 2205 2: 3: Error
MSI (s) (F0:F4) [15:04:11:525]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1722
CustomAction vim5555AE0AEF44AAB4CE5DFB7E3419FDBF returned actual error code 1001 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (F0:F4) [15:04:11:525]: Note: 1: 2205 2: 3: Error
MSI (s) (F0:F4) [15:04:11:525]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (F0:F4) [15:04:11:525]: Product: Microsoft Azure Mobile Services Connected Service -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action vim5555AE0AEF44AAB4CE5DFB7E3419FDBF, location: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe, command: /q /skuName:Pro /skuVersion:14.0 "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft.VisualStudio.MobileServices.ConnectedServices.vsix" /admin
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action vim5555AE0AEF44AAB4CE5DFB7E3419FDBF, location: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe, command: /q /skuName:Pro /skuVersion:14.0 "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft.VisualStudio.MobileServices.ConnectedServices.vsix" /admin
MSI (s) (F0:F4) [15:04:11:659]: User policy value 'DisableRollback' is 0
MSI (s) (F0:F4) [15:04:11:659]: Machine policy value 'DisableRollback' is 0
Action ended 15:04:11: InstallFinalize. Return value 3.
The custom action (vim5555AE0AEF44AAB4CE5DFB7E3419FDBF) is trying to install the following VSIX setup through C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe?
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft.VisualStudio.MobileServices.ConnectedServices.vsix?
When looked at its corresponding VSIX installation log file, noticed that the installation of Microsoft.VisualStudio.MobileServices.ConnectedServices.vsix was skipped by the installer due to an extension with a matching Identifier is already available on the target machine. This might have been installed by the Visual Studio Professional 2015? and left behind even after uninstalling it.
-Here is the snippet from VSIXInstaller_9cf29d56-267c-4f50-a6e0-4e314bae9747.log file
8/11/2017 3:03:54 PM - Microsoft VSIX Installer
8/11/2017 3:03:54 PM - -------------------------------------------
8/11/2017 3:03:54 PM - Initializing Install...
8/11/2017 3:03:54 PM - Extension Details...
8/11/2017 3:03:54 PM - Identifier : MobileServicesConnectedServices.595B89E2-894C-4FB7-A207-C1C2C89A5C6E
8/11/2017 3:03:54 PM - Name : Microsoft Azure Mobile Services Connected Service
8/11/2017 3:03:54 PM - Author : Microsoft
8/11/2017 3:03:54 PM - Version : 2.0.50619.2
8/11/2017 3:04:09 PM -
8/11/2017 3:04:09 PM -
8/11/2017 3:04:11 PM - An extension with a matching Identifier is already installed to this product.
8/11/2017 3:04:11 PM - Microsoft.VisualStudio.ExtensionManager.AlreadyInstalledException: This extension is already installed to all applicable products.
at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
at VSIXInstaller.App.OnStartup(StartupEventArgs e)
Same issue has been noticed with Azure AD Authentication Connected Service? package as well
-Here is the snippet from the log file
MSI (s) (F0:E0) [15:03:23:981]: Executing op: ActionStart(Name=vimE476236D3BF4375CB6E97405AF87AB15,,)
MSI (s) (F0:E0) [15:03:23:983]: Executing op: CustomActionSchedule(Action=vimE476236D3BF4375CB6E97405AF87AB15,ActionType=3122,Source=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe,Target=/q /skuName:Pro /skuVersion:14.0 "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft.VisualStudio.Authentication.ConnectedServices.vsix" /admin,)
MSI (s) (F0:E0) [15:03:49:331]: Note: 1: 1722 2: vimE476236D3BF4375CB6E97405AF87AB15 3: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe 4: /q /skuName:Pro /skuVersion:14.0 "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft.VisualStudio.Authentication.ConnectedServices.vsix" /admin
MSI (s) (F0:E0) [15:03:49:332]: Note: 1: 2205 2: 3: Error
MSI (s) (F0:E0) [15:03:49:332]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1722
CustomAction vimE476236D3BF4375CB6E97405AF87AB15 returned actual error code 1001 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (F0:E0) [15:03:49:334]: Note: 1: 2205 2: 3: Error
MSI (s) (F0:E0) [15:03:49:334]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (F0:E0) [15:03:49:334]: Product: Azure AD Authentication Connected Service -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action vimE476236D3BF4375CB6E97405AF87AB15, location: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe, command: /q /skuName:Pro /skuVersion:14.0 "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft.VisualStudio.Authentication.ConnectedServices.vsix" /admin
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action vimE476236D3BF4375CB6E97405AF87AB15, location: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe, command: /q /skuName:Pro /skuVersion:14.0 "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft.VisualStudio.Authentication.ConnectedServices.vsix" /admin
MSI (s) (F0:E0) [15:03:49:353]: User policy value 'DisableRollback' is 0
MSI (s) (F0:E0) [15:03:49:353]: Machine policy value 'DisableRollback' is 0
Action ended 15:03:49: InstallFinalize. Return value 3.
-Here is the snippet from VSIXInstaller_c032cf53-189b-4862-b338-44c9271479f3.log? file
8/11/2017 3:03:24 PM - Microsoft VSIX Installer
8/11/2017 3:03:24 PM - -------------------------------------------
8/11/2017 3:03:24 PM - Initializing Install...
8/11/2017 3:03:24 PM - Extension Details...
8/11/2017 3:03:24 PM - Identifier : AuthenticationConnectedServices.F66AC3F0-CE44-47FB-AF79-21EE97E09126
8/11/2017 3:03:24 PM - Name : Azure AD Authentication Connected Service
8/11/2017 3:03:24 PM - Author : Microsoft
8/11/2017 3:03:24 PM - Version : 1.0.50619.2
8/11/2017 3:03:39 PM -
8/11/2017 3:03:39 PM -
8/11/2017 3:03:49 PM - An extension with a matching Identifier is already installed to this product.
8/11/2017 3:03:49 PM - Microsoft.VisualStudio.ExtensionManager.AlreadyInstalledException: This extension is already installed to all applicable products.
at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
at VSIXInstaller.App.OnStartup(StartupEventArgs e)
Solution:
- Executed the following command lines one by one on an admin command prompt to remove the existing extension which has the matching identifier.
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe" /a /u:"MobileServicesConnectedServices.595B89E2-894C-4FB7-A207-C1C2C89A5C6E"
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe" /a /u:"AuthenticationConnectedServices.F66AC3F0-CE44-47FB-AF79-21EE97E09126"
- Type Appwiz.cpl in Start->Run and click OK, the Programs and Features window opens
- Right-click the Microsoft Visual Studio Professional 2015 Updates, and then click Change.
- Click Repair when the Visual Studio 2015 Setup wizard opens
- Once Repair is completed, restart the machine