{"action":"opened","issue":{"url":"https://api.github.com/repos/xcp-ng/xcp/issues/83","repository_url":"https://api.github.com/repos/xcp-ng/xcp","labels_url":"https://api.github.com/repos/xcp-ng/xcp/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/xcp-ng/xcp/issues/83/comments","events_url":"https://api.github.com/repos/xcp-ng/xcp/issues/83/events","html_url":"https://github.com/xcp-ng/xcp/issues/83","id":374559499,"node_id":"MDU6SXNzdWUzNzQ1NTk0OTk=","number":83,"title":"[Windows Client Tools] Co-Installer does not working properly","user":{"login":"borzel","id":5782951,"node_id":"MDQ6VXNlcjU3ODI5NTE=","avatar_url":"https://avatars1.githubusercontent.com/u/5782951?v=4","gravatar_id":"","url":"https://api.github.com/users/borzel","html_url":"https://github.com/borzel","followers_url":"https://api.github.com/users/borzel/followers","following_url":"https://api.github.com/users/borzel/following{/other_user}","gists_url":"https://api.github.com/users/borzel/gists{/gist_id}","starred_url":"https://api.github.com/users/borzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borzel/subscriptions","organizations_url":"https://api.github.com/users/borzel/orgs","repos_url":"https://api.github.com/users/borzel/repos","events_url":"https://api.github.com/users/borzel/events{/privacy}","received_events_url":"https://api.github.com/users/borzel/received_events","type":"User","site_admin":false},"labels":[{"id":785888375,"node_id":"MDU6TGFiZWw3ODU4ODgzNzU=","url":"https://api.github.com/repos/xcp-ng/xcp/labels/bug%20:bug:","name":"bug :bug:","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-26T21:52:17Z","updated_at":"2018-10-26T21:52:17Z","closed_at":null,"author_association":"MEMBER","body":"## Story\r\nhttps://xcp-ng.org/forum/post/3891\r\n\r\n> I was able to get the XCP-ng PV-Drivers installed, but just with some ugly bad tricks (removing co-installer from xenbus.inf and manual copying .sys files to C:\\Windows\\system32\\drivers)\r\n\r\n## Maybe an fault here\r\nhttps://github.com/xcp-ng/win-xenbus/blame/master/src/coinst/coinst.c#L1067\r\n\r\n## Log from Test Windows 2012 R2\r\n\r\n```\r\n>>>  [Device Install (DiShowUpdateDevice) - PCI\\VEN_5853&DEV_0001&SUBSYS_00015853&REV_01\\3&267A616A&2&18]\r\n>>>  Section start 2018/09/25 02:34:27.461\r\n      cmd: \"C:\\Windows\\system32\\mmc.exe\" C:\\Windows\\system32\\devmgmt.msc\r\n     dvi: {DIF_UPDATEDRIVER_UI} 02:34:27.461\r\n     dvi:      No class installer for 'SCSI-Controller'\r\n     dvi:      CoInstaller 1: Enter 02:34:27.477\r\n!    ven:           XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) ===>\r\n!    ven:           XENBUS_COINST|Entry: UNKNOWN PreProcessing\r\n!    ven:           XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) <===\r\n     dvi:      CoInstaller 1: Exit\r\n     dvi:      Default installer: Enter 02:34:27.477\r\n     dvi:      Default installer: Exit\r\n     dvi: {DIF_UPDATEDRIVER_UI - exit(0xe000020e)} 02:34:27.477\r\n     ndv: {Update Driver Software Wizard for PCI\\VEN_5853&DEV_0001&SUBSYS_00015853&REV_01\\3&267A616A&2&18}\r\n     ndv:      Driver package 'C:\\Windows\\INF\\oem6.inf' exists under 'C:\\Windows\\System32\\DriverStore\\FileRepository\\xenbus.inf_amd64_1f1023a135b0e910\\xenbus.inf'.\r\n     dvi:      Searching for hardware ID(s):\r\n     dvi:           pci\\ven_5853&dev_0001&subsys_00015853&rev_01\r\n     dvi:           pci\\ven_5853&dev_0001&subsys_00015853\r\n     dvi:           pci\\ven_5853&dev_0001&cc_010000\r\n     dvi:           pci\\ven_5853&dev_0001&cc_0100\r\n     dvi:      Searching for compatible ID(s):\r\n     dvi:           pci\\ven_5853&dev_0001&rev_01\r\n     dvi:           pci\\ven_5853&dev_0001\r\n     dvi:           pci\\ven_5853&cc_010000\r\n     dvi:           pci\\ven_5853&cc_0100\r\n     dvi:           pci\\ven_5853\r\n     dvi:           pci\\cc_010000\r\n     dvi:           pci\\cc_0100\r\n     dvi:      Class GUID of device changed to: {4d36e97d-e325-11ce-bfc1-08002be10318}.\r\n     dvi:      {Plug and Play Service: Device Install for PCI\\VEN_5853&DEV_0001&SUBSYS_00015853&REV_01\\3&267A616A&2&18}\r\n     ndv:           Driver INF Path: C:\\Windows\\INF\\oem6.inf\r\n     ndv:           Driver Node Name: xenbus.inf:b2fe481847615276:XenBus_Inst:8.2.1.5:pci\\ven_5853&dev_0001\r\n     ndv:           Driver Store Path: C:\\Windows\\System32\\DriverStore\\FileRepository\\xenbus.inf_amd64_1f1023a135b0e910\\xenbus.inf\r\n     dvi:           Searching for hardware ID(s):\r\n     dvi:                pci\\ven_5853&dev_0001&subsys_00015853&rev_01\r\n     dvi:                pci\\ven_5853&dev_0001&subsys_00015853\r\n     dvi:                pci\\ven_5853&dev_0001&cc_010000\r\n     dvi:                pci\\ven_5853&dev_0001&cc_0100\r\n     dvi:           Searching for compatible ID(s):\r\n     dvi:                pci\\ven_5853&dev_0001&rev_01\r\n     dvi:                pci\\ven_5853&dev_0001\r\n     dvi:                pci\\ven_5853&cc_010000\r\n     dvi:                pci\\ven_5853&cc_0100\r\n     dvi:                pci\\ven_5853\r\n     dvi:                pci\\cc_010000\r\n     dvi:                pci\\cc_0100\r\n     dvi:           Class GUID of device changed to: {4d36e97d-e325-11ce-bfc1-08002be10318}.\r\n     ndv:           {Core Device Install} 02:34:28.461\r\n     dvi:                {DIF_ALLOW_INSTALL} 02:34:28.461\r\n     dvi:                     No class installer for 'XCP-ng PV Bus'\r\n!    ven:                     XENBUS_COINST|DllMain: 8.2.1.5 (11/8/2018): PROCESS_ATTACH\r\n     dvi:                     Using exported function 'Entry' in module 'C:\\Windows\\system32\\xenbus_coinst_8_2_1_5.dll'.\r\n     dvi:                     CoInstaller 1 == xenbus_coinst_8_2_1_5.dll,Entry\r\n     dvi:                     CoInstaller 1: Enter 02:34:28.461\r\n!    ven:                          XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) ===>\r\n!    ven:                          XENBUS_COINST|Entry: ALLOW_INSTALL PreProcessing\r\n!    ven:                          XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) <===\r\n     dvi:                     CoInstaller 1: Exit\r\n     dvi:                     Default installer: Enter 02:34:28.461\r\n     dvi:                     Default installer: Exit\r\n     dvi:                {DIF_ALLOW_INSTALL - exit(0xe000020e)} 02:34:28.461\r\n     dvi:                {DIF_INSTALLDEVICEFILES} 02:34:28.477\r\n     dvi:                     No class installer for 'XCP-ng PV Bus'\r\n     dvi:                     CoInstaller 1: Enter 02:34:28.477\r\n!    ven:                          XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) ===>\r\n!    ven:                          XENBUS_COINST|Entry: INSTALLDEVICEFILES PreProcessing\r\n!    ven:                          XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) <===\r\n     dvi:                     CoInstaller 1: Exit\r\n     dvi:                     Default installer: Enter 02:34:28.477\r\n     dvi:                     Default installer: Exit\r\n     dvi:                {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 02:34:28.477\r\n     flq:                File 'C:\\Windows\\system32\\DRIVERS\\xen.sys' pruned from copy.\r\n!    sig:                VerifyTrustFailed for C:\\Windows\\system32\\DRIVERS\\xen.sys.\r\n     flq:                File 'C:\\Windows\\system32\\DRIVERS\\xenbus.sys' pruned from copy.\r\n!    sig:                VerifyTrustFailed for C:\\Windows\\system32\\DRIVERS\\xenbus.sys.\r\n     flq:                File 'C:\\Windows\\system32\\DRIVERS\\xenfilt.sys' pruned from copy.\r\n!    sig:                VerifyTrustFailed for C:\\Windows\\system32\\DRIVERS\\xenfilt.sys.\r\n     flq:                File 'C:\\Windows\\system32\\xenbus_monitor_8_2_1_5.exe' pruned from copy.\r\n!    sig:                VerifyTrustFailed for C:\\Windows\\system32\\xenbus_monitor_8_2_1_5.exe.\r\n     flq:                File 'C:\\Windows\\system32\\xenbus_monitor_8_2_1_5.dll' pruned from copy.\r\n!    sig:                VerifyTrustFailed for C:\\Windows\\system32\\xenbus_monitor_8_2_1_5.dll.\r\n     flq:                File 'C:\\Windows\\system32\\xenbus_coinst_8_2_1_5.dll' pruned from copy.\r\n!    sig:                VerifyTrustFailed for C:\\Windows\\system32\\xenbus_coinst_8_2_1_5.dll.\r\n     dvi:                {DIF_REGISTER_COINSTALLERS} 02:34:28.492\r\n     dvi:                     No class installer for 'XCP-ng PV Bus'\r\n     dvi:                     CoInstaller 1: Enter 02:34:28.492\r\n!    ven:                          XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) ===>\r\n!    ven:                          XENBUS_COINST|Entry: REGISTER_COINSTALLERS PreProcessing\r\n!    ven:                          XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) <===\r\n     dvi:                     CoInstaller 1: Exit\r\n     dvi:                     Default installer: Enter 02:34:28.492\r\n     dvi:                          {DIF_DESTROYPRIVATEDATA} 02:34:28.492\r\n     dvi:                               CoInstaller 1: Enter 02:34:28.492\r\n!    ven:                                    XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) ===>\r\n!    ven:                                    XENBUS_COINST|Entry: DESTROYPRIVATEDATA PreProcessing\r\n!    ven:                                    XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) <===\r\n     dvi:                               CoInstaller 1: Exit\r\n     dvi:                               Default installer: Enter 02:34:28.492\r\n     dvi:                               Default installer: Exit\r\n     dvi:                          {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 02:34:28.492\r\n     dvi:                     Default installer: Exit\r\n     dvi:                {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 02:34:28.492\r\n     dvi:                {DIF_INSTALLINTERFACES} 02:34:28.492\r\n     dvi:                     No class installer for 'XCP-ng PV Bus'\r\n     dvi:                     Using exported function 'Entry' in module 'C:\\Windows\\system32\\xenbus_coinst_8_2_1_5.dll'.\r\n     dvi:                     CoInstaller 1 == xenbus_coinst_8_2_1_5.dll,Entry\r\n     dvi:                     CoInstaller 1: Enter 02:34:28.508\r\n!    ven:                          XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) ===>\r\n!    ven:                          XENBUS_COINST|Entry: INSTALLINTERFACES PreProcessing\r\n!    ven:                          XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) <===\r\n     dvi:                     CoInstaller 1: Exit\r\n     dvi:                     Default installer: Enter 02:34:28.508\r\n     dvi:                     Default installer: Exit\r\n     dvi:                {DIF_INSTALLINTERFACES - exit(0x00000000)} 02:34:28.508\r\n     dvi:                {DIF_INSTALLDEVICE} 02:34:28.508\r\n     dvi:                     No class installer for 'XCP-ng PV Bus'\r\n     dvi:                     CoInstaller 1: Enter 02:34:28.508\r\n!    ven:                          XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) ===>\r\n!    ven:                          XENBUS_COINST|Entry: INSTALLDEVICE PreProcessing\r\n!    ven:                          XENBUS_COINST|DifInstall: Flags = 01800028\r\n!    ven:                          XENBUS_COINST|DifInstallPreProcess: ====>\r\n!    ven:                          XENBUS_COINST|AllowInstall: ====>\r\n!    ven:                          XENBUS_COINST|AllowUpdate: ====> (XEN)\r\n!    ven:                          XENBUS_COINST|AllowUpdate: <====\r\n!    ven:                          XENBUS_COINST|AllowUpdate: ====> (XENBUS)\r\n!    ven:                          XENBUS_COINST|AllowUpdate: <====\r\n!    ven:                          XENBUS_COINST|AllowUpdate: ====> (XENFILT)\r\n!    ven:                          XENBUS_COINST|AllowUpdate: <====\r\n!    ven:                          XENBUS_COINST|AllowInstall: <====\r\n!    ven:                          XENBUS_COINST|MatchExistingDriver: ====>\r\n!    ven:                          XENBUS_COINST|GetDeviceKeyName: VEN_5853&DEV_0001&SUBSYS_00015853&REV_01\r\n!    ven:                          XENBUS_COINST|GetDriverKeyName: {4d36e97d-e325-11ce-bfc1-08002be10318}\\0026\r\n!    ven:                          XENBUS_COINST|MatchExistingDriver: <====\r\n!    ven:                          XENBUS_COINST|SupportChildDrivers: ====>\r\n!    ven:                          XENBUS_COINST|GetDriverKeyName: {4d36e97d-e325-11ce-bfc1-08002be10318}\\0024\r\n!    ven:                          XENBUS_COINST|GetMatchingDeviceID: XENBUS\\VEN_XCPNGC000&DEV_IFACE&REV_0800000B\r\n!    ven:                          XENBUS_COINST|SupportDeviceID: 800000b\r\n!    ven:                          XENBUS_COINST|GetDriverKeyName: {4d36e97d-e325-11ce-bfc1-08002be10318}\\0025\r\n!    ven:                          XENBUS_COINST|GetMatchingDeviceID: XENBUS\\VEN_XCPNGC000&DEV_VIF&REV_0800000B\r\n!    ven:                          XENBUS_COINST|SupportDeviceID: 800000b\r\n!    ven:                          XENBUS_COINST|GetDriverKeyName: {4d36e97b-e325-11ce-bfc1-08002be10318}\\0001\r\n!    ven:                          XENBUS_COINST|OpenDriverKey: fail2\r\n!    ven:                          XENBUS_COINST|OpenDriverKey: fail1 (Das System kann die angegebene Datei nicht finden.)\r\n!    ven:                          XENBUS_COINST|SupportChildDrivers: fail7\r\n!    ven:                          XENBUS_COINST|SupportChildDrivers: fail6\r\n!    ven:                          XENBUS_COINST|SupportChildDrivers: fail5\r\n!    ven:                          XENBUS_COINST|SupportChildDrivers: fail4\r\n!    ven:                          XENBUS_COINST|SupportChildDrivers: fail3\r\n!    ven:                          XENBUS_COINST|SupportChildDrivers: fail2\r\n!    ven:                          XENBUS_COINST|SupportChildDrivers: fail1 (Das System kann die angegebene Datei nicht finden.)\r\n!    ven:                          XENBUS_COINST|DifInstallPreProcess: fail4\r\n!    ven:                          XENBUS_COINST|DifInstallPreProcess: fail3\r\n!    ven:                          XENBUS_COINST|DifInstallPreProcess: fail2\r\n!    ven:                          XENBUS_COINST|DifInstallPreProcess: fail1 (Das System kann die angegebene Datei nicht finden.)\r\n!    ven:                          XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) <===\r\n!!!  dvi:                     CoInstaller 1: failed(0x00000002)!\r\n     dvi:                {DIF_INSTALLDEVICE - exit(0x00000002)} 02:34:28.508\r\n!!!  ndv:                Error(00000002) installing device!\r\n!    ndv:                Queueing up error report since device installation failed...\r\n     ndv:           {Core Device Install - exit(0x00000002)} 02:34:28.508\r\n     dvi:           {DIF_DESTROYPRIVATEDATA} 02:34:28.508\r\n     dvi:                CoInstaller 1: Enter 02:34:28.508\r\n!    ven:                     XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) ===>\r\n!    ven:                     XENBUS_COINST|Entry: DESTROYPRIVATEDATA PreProcessing\r\n!    ven:                     XENBUS_COINST|Entry: 8.2.1.5 (11/8/2018) <===\r\n     dvi:                CoInstaller 1: Exit\r\n     dvi:                Default installer: Enter 02:34:28.508\r\n     dvi:                Default installer: Exit\r\n     dvi:           {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 02:34:28.524\r\n!    ven:           XENBUS_COINST|DllMain: 8.2.1.5 (11/8/2018): PROCESS_DETACH\r\n     ump:      {Plug and Play Service: Device Install exit(00000002)}\r\n!!!  ndv:      Device install failed for device.\r\n!    ven:      XENBUS_COINST|DllMain: 8.2.1.5 (11/8/2018): THREAD_DETACH\r\n     ndv: {Update Driver Software Wizard exit(00000002)}\r\n<<<  Section end 2018/09/25 02:34:30.320\r\n<<<  [Exit status: FAILURE(0x00000002)]\r\n```\r\n\r\n\r\n**Next ToDo**: driver remote debugging :-)"}}
{"actor":{"display_login":"borzel"}}