检查是否通过WiX安装了Access Database Engine 2010 Redistributable

时间:2016-03-21 21:17:21

标签: ms-access wix windows-installer

任何人都知道要查找什么以确保使用Wix在客户端系统上安装访问2010 32和64位redists?

https://www.microsoft.com/en-us/download/details.aspx?id=13255

...谢谢

2 个答案:

答案 0 :(得分:1)

Access 2010 32和64位redists将使用MSI安装。

ProductCode:{90140000-00D1-0409-0000-0000000FF1CE} UpgradeCode:{00140000-00D1-0000-0000-0000000FF1CE}

只需执行安装并等待第一个向导页面。然后转到%temp%文件夹。在那里,您可以找到日志文件' Microsoft Access数据库引擎2010(X).log'

答案 1 :(得分:1)

<Property Id="OFFICEAPPFOLDER">
  <DirectorySearch Id="ProgramFilesFolder" Path="C:\Program Files">
    <DirectorySearch Id="CompanyNameFolder" Path="Common Files">
      <DirectorySearch Id="ProductFolder" Path="microsoft shared">
          <DirectorySearch Id="AppFolder" Path="OFFICE14" Depth="1" />
      </DirectorySearch>
    </DirectorySearch>
  </DirectorySearch>
</Property>

<Property Id="APPFILEEXISTS">
  <DirectorySearch Id="AppFolder" Path="OFFICEAPPFOLDER">
    <FileSearch Id="AppNameDll" Name="MSO.DLL" />
  </DirectorySearch>
</Property>

<Condition Message="This application requires Microsoft Access Database Engine. Please install it and run this installer again." >
  <![CDATA[OFFICEAPPFOLDER AND APPFILEEXISTS]]>
</Condition>