我们有一个驱动程序由两个不同的WiX安装程序提供,因此我在安装程序源代码(.wxs)中使用了相同的驱动程序组件GUID。,shared =“yes”并标记了文件密钥路径“是”。
<Component Id="MYDRiverID"
DiskId ="1"
Guid="EXXXXXX-XXX-XX"
Win64="$(var.Is64bit)" Shared="yes">
<File Id="myDriver"
Name="driver.sys"
Source="Dir\driver.sys"
KeyPath="yes"/>
<difx:Driver Legacy="no"
Sequence="10"
AddRemovePrograms="no"
DeleteFiles="yes"
PlugAndPlayPrompt="no"
ForceInstall="no"/>
卸载时我正面临如果通过 INSTALLER1 安装1.0.0.0并使用 INSTALLER2 2.0.0.0进行升级,则更换较新的驱动程序文件但卸载时如果我使用add /卸载删除程序==&gt;&gt; INSTALLER2,它无法删除驱动程序,当我选中“sc query mydriver”时,我的驱动程序未卸载。
使用卸载日志/ eventvwr检查未找到任何错误/失败消息。
MSI (s) (F0:74) [19:39:55:832]: Component: _Driver_MYDriver.sys_Win8.XXXXXXX_XXXX_4XXXX3_XXXXX_XXXXXXXXXXXX; Installed: Local; Request: Absent; Action: Null; Client State: Local
MSI (s) (F0:74) [19:39:55:928]: The file represented by File table key 'MYDriversysWin7' has no eligible binary patches
MSI (s) (F0:74) [19:39:55:928]: The file represented by File table key 'MYDriversysWin8' has no eligible binary patches
MSI (s) (F0:74) [19:39:55:928]: The file represented by File table key 'MYDriverinfWin7' has no eligible binary patches
MSI (s) (F0:74) [19:39:55:928]: The file represented by File table key 'MYDrivercatWin7' has no eligible binary patches
MSI (s) (F0:74) [19:39:55:928]: The file represented by File table key 'MYDriverinfWin8' has no eligible binary patches
MSI (s) (F0:74) [19:39:55:928]: The file represented by File table key 'MYDrivercatWin8' has no eligible binary patches
DIFXAPP: INFO: 'Component' is '_Driver_MYDriver.sys_Win7.XXXXXXX-XXXX-XXXX-XXXXXXX'
DIFXAPP: INFO: This is a no-op custom action for component _Driver_MYDriver.sys_Win7.XXXXXXX-XXXX-XXXX-XXXXXXX. The NoOp_{XXXXXXX-XXXX-XXXX-XXXXXXX} property has been set to TRUE.
DIFXAPP: INFO: 'Component' is '_Driver_MYDriver.sys_Win8.XXXXXXX-XXXX-XXXX-XXXXXXX'
DIFXAPP: INFO: This is a no-op custom action for component _Driver_MYDriver.sys_Win8.XXXXXXX-XXXX-XXXX-XXXXXXX. The NoOp_{MYDRIVER_COMPONENT_GUID} property has been set to TRUE.
MSI (s) (F0:74) [19:39:56:068]: Executing op: RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\MYDriver,,BinaryType=1,,)
DIFXAPP: INFO: 'Component' is '_Driver_MYDriver.sys_Win7.XXXXXXX-XXXX-XXXX-XXXXXXX'
DIFXAPP: INFO: This is a no-op for component _Driver_MYDriver.sys_Win7.XXXXXXX-XXXX-XXXX-XXXXXXX. The NoOp_{XXXXXXX-XXXX-XXXX-XXXXXXX} property has been set to TRUE.
DIFXAPP: INFO: Skipping cleanup for component _Driver_MYDriver.sys_Win7.XXXXXXX-XXXX-XXXX-XXXXXXX, since it is a no-op.
DIFXAPP: INFO: 'Component' is '_Driver_MYDriver.sys_Win8.XXXXXXX-XXXX-XXXX-XXXXXXX'
DIFXAPP: INFO: This is a no-op for component _Driver_MYDriver.sys_Win8.XXXXXXX-XXXX-XXXX-XXXXXXX. The NoOp_{MYDRIVER_COMPONENT_GUID} property has been set to TRUE.
DIFXAPP: INFO: Skipping cleanup for component _Driver_MYDriver.sys_Win8.XXXXXXX-XXXX-XXXX-XXXXXXX, since it is a no-op.
Property(S): DRIVER_MYPRODUCT_COMPONENT_DIR_WIN7 = C:\Program Files\Common Files\XXXXX\Win7\
我在Windows 8上收集了这些日志驱动程序。
添加了一个用户模式服务来验证它是否已成功安装/升级/卸载,我无法理解为什么驱动程序失败。
任何帮助都会有所帮助。