我正在尝试从自定义action.However访问数据库连接失败,并显示一条消息"Unable to load DLL ' SQLite.Interop.dll ':找不到指定的模块。(来自HRESULT: 0x8007007E)".I想知道自定义操作在哪里查找SQLite.Interop.dll,而从自定义action.The SQLite.Interop.dll中连接到数据库在安装后出现在我的安装文件夹中,因为我已将其作为组件添加到product.wxs中。
发布于 2019-11-14 08:14:01
提示一下,Sqlite.Interop.dll在x86和x64文件夹下,而Wix不在CustomAction文件夹下拾取子文件夹。您需要以某种方式将这两个文件夹安装在C:\Windows\Installer\xxxxxfolder where you custom actiondllfiles are copied during install. The problem I am having is that I cannot find the variable for that temp folder underC:\Windows\installer(that is different thanC:\User\Temp...`).下
参考:Program Unable to Load DLL 'SQLite.Interop.dll' after WiX Installation
https://stackoverflow.com/questions/57561784
复制相似问题