【问题标题】:Can't seem to get Wix to install driver似乎无法让 Wix 安装驱动程序
【发布时间】:2011-01-27 19:00:02
【问题描述】:

我按照这里的教程进行操作:http://www.codeproject.com/KB/library/driver-install-with-wix.aspx 但它似乎不想工作 - DPInst exe 似乎从未真正运行过?所有文件都正确放置 - 我什至注意到在教程中他们错过了一个报价。

我的自定义操作如下所示:

<CustomAction Id='Install_M2_Driver'
              Execute='deferred' Directory='DRIVER_ROOT'
              ExeCommand='"[dirDpInst]DPInst.exe" /SA /PATH "[dirM2]"'
              Return='ignore' />

我什至尝试用一个简单的 exe 替换 DPInst.exe,该 exe 将参数回显给我,一切看起来都很好,如果我在回显消息框出现时实际从命令行运行命令,它会显示DPInst 安装 GUI。

【问题讨论】:

    标签: windows wix driver dpinst


    【解决方案1】:

    找到了,需要关闭模拟:

    <CustomAction Id='Install_M2_Driver'
                  Execute='deferred'
                  Directory='DRIVER_ROOT'
                  Impersonate='no'
                  ExeCommand='"[dirDpInst]DPInst.exe" /SA /PATH \"[dirM2]\"'
                  Return='ignore' />
    

    【讨论】:

      猜你喜欢
      • 2021-11-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多