wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
128 stars 36 forks source link

WIX 3.11. Problem with installation of VSIX (VS2017) #5619

Closed dmitry-lipetsk closed 7 years ago

dmitry-lipetsk commented 7 years ago

Hello

WIX 3.11 VS2017 Community Windows 10 x64

When I tried install VSIX package for VS2017 (for ALL users) from MSI package (VSExtension:VsixPackage), I got the next errors:

MSI log:

CustomAction vim779F4B2FF450AA0F8ABF2E3A650CB5F4 returned actual error code 3001 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (64:9C) [10:22:55:976]: Note: 1: 1722 2: vim779F4B2FF450AA0F8ABF2E3A650CB5F4 3: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller.exe 4: /q "C:\Program Files (x86)\LCPI\OleDb.NET\1.0.10\NET4_6_2\lcpi.vs.data.providers.oledb.v2.integrator.net4_6_2.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 vim779F4B2FF450AA0F8ABF2E3A650CB5F4, location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller.exe, command: /q "C:\Program Files (x86)\LCPI\OleDb.NET\1.0.10\NET4_6_2\lcpi.vs.data.providers.oledb.v2.integrator.net4_6_2.vsix" /admin 
MSI (s) (64:9C) [10:23:04:489]: Product: LCPI ADO.NET Data Provider for OLE DB [MSI] -- 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 vim779F4B2FF450AA0F8ABF2E3A650CB5F4, location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller.exe, command: /q "C:\Program Files (x86)\LCPI\OleDb.NET\1.0.10\NET4_6_2\lcpi.vs.data.providers.oledb.v2.integrator.net4_6_2.vsix" /admin 

Action ended 10:23:04: InstallFinalize. Return value 3.

VSIXInstaller log:

[3028:0001][2017-06-20T10:17:37] Started: Installing sqlsysclrtypes
[3028:0001][2017-06-20T10:17:40] MSI package sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU failed as another installation is in progress. Retrying after 5 seconds. Attempt# 1/10...
[3028:0001][2017-06-20T10:17:48] MSI package sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU failed as another installation is in progress. Retrying after 10 seconds. Attempt# 2/10...
[3028:0001][2017-06-20T10:18:01] MSI package sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU failed as another installation is in progress. Retrying after 15 seconds. Attempt# 3/10...
[3028:0001][2017-06-20T10:18:19] MSI package sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU failed as another installation is in progress. Retrying after 20 seconds. Attempt# 4/10...
[3028:0001][2017-06-20T10:18:42] MSI package sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU failed as another installation is in progress. Retrying after 25 seconds. Attempt# 5/10...
[3028:0001][2017-06-20T10:19:10] MSI package sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU failed as another installation is in progress. Retrying after 30 seconds. Attempt# 6/10...
[3028:0001][2017-06-20T10:19:43] MSI package sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU failed as another installation is in progress. Retrying after 35 seconds. Attempt# 7/10...
[3028:0001][2017-06-20T10:20:21] MSI package sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU failed as another installation is in progress. Retrying after 40 seconds. Attempt# 8/10...
[3028:0001][2017-06-20T10:21:04] MSI package sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU failed as another installation is in progress. Retrying after 45 seconds. Attempt# 9/10...
[3028:0001][2017-06-20T10:21:52] MSI package sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU failed as another installation is in progress. Retrying after 50 seconds. Attempt# 10/10...
[3028:0001][2017-06-20T10:22:45] Completed: Installing sqlsysclrtypes
[3028:0001][2017-06-20T10:22:45] Error: Package 'sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU' failed to install. MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\sqlsysclrtypes,version=15.1.61703.130,chip=x86,language=ru-RU\SQLSysClrTypes.msi, Properties: REBOOT=ReallySuppress MSIFASTINSTALL="7" SKIPPENDINGREBOOTCHECK="1" , Return code: 1618, Details: Уже запущена другая копия процесса установки. Завершите уже начатую установку, прежде чем запускать новую., Signature: PackageId=sqlsysclrtypes;PackageAction=install;ReturnCode=1618

As I understood, MSI-process blocked the Windows Installer and not allows VSIX-installer to work.

So - your VSExtension not work as expected with VS2017 :(

Related WIX source code:

   <SetProperty
     Id="VS2017_VSIX_INSTALLER"
     Value="[VS2017_ROOT_FOLDER]\Common7\IDE\VSIXInstaller.exe"
     After="LaunchConditions">
    VS2017_ROOT_FOLDER
   </SetProperty>

   <DirectoryRef Id='APPDIR__$(var.vSign1)'>
    <Component Id='CMP__$(var.vSign1)_ddex_vsix_reg'
               Guid='$(var.vCMP__ddex2_vsix_reg__GUID)'
               KeyPath='yes'>
     <VSExtension:VsixPackage
       File="lcpi.vs.data.providers.oledb.v2.integrator.$(var.vSign1)_vsix"
       PackageId="31162455-985B-4ED3-834A-B2DC4A9FA7DA"
       VsixInstallerPathProperty="VS2017_VSIX_INSTALLER"
       Vital="yes"
       Permanent="no" />
    </Component>
   </DirectoryRef>
barnson commented 7 years ago

Duplicate: https://github.com/wixtoolset/issues/issues/5433