AppSearch无法在Windows 7中运行

时间:2013-07-04 19:18:56

标签: wix windows-installer installer wix3.7

我正在创建一个需要为特定文件夹执行AppSearch的WiX安装程序。 AppSearch在Windows XP中运行良好,但在Windows 7中,它无法通过C:\ Documents and Settings。

如果我将文件夹放在Documents and Settings中,我的AppSearch属性将设置为C:\ Documents and Settings \ Folder。如果我将文件夹放在一个目录更深的位置(例如C:\ Documents and Settings \ username \ Folder),则AppSearch会失败。

在日志文件中,错误显示:

DEBUG: Error 2363: Could not enumerate subfolders for folder: C:\Documents and Settings\

我也从另一个AppSearch收到错误说:

DUBUG: Error 2363: Could not enumerate subfolders for folder: D:\System Volume Information\

我尝试运行我的安装程序perUser和perMachine。两者都会发生错误。也许这与Windows 7中的“文档和设置”实际上是“用户”的快捷方式有关。

有谁知道这里发生了什么?

这是我的AppSearch:

<Property Id="DataSearch">
  <DirectorySearch Id="Search" 
                   Depth="6" 
                   AssignToProperty="yes" 
                   Path="Remindex Local Data"/>
</Property>

任何建议都将不胜感激。

1 个答案:

答案 0 :(得分:1)

您可能需要查看:

System Folder Properties