由于SECREPAIR哈希比较失败

时间:2017-11-16 11:38:05

标签: wix windows-installer uac

我在使用Microsoft Windows Installer设置(使用WIX 3.10.2创建)时遇到了一些问题。

我安装了应用程序的基本版本。到现在为止还挺好。 然后,我想申请一个"次要升级"这应该没有提升,因为包是数字签名等。

但是,我在安装步骤"注册产品"在尝试安装此次要升级时。这似乎是一些" SECREPAIR" MSI的组件正在比较一些哈希值并确定某些东西不正确,我得到一个LUA请求行来提供管理员权限。我无法找到这个特定的相关信息" SECREAPIR"错误或错误代码。

以下是启动次要升级设置msi文件时使用/ L * V命令行参数创建的MSI日志的相关摘录。

此外,我可以确认在Windows 10(Fall Creator'更新)和(Windows 7 SP1 x64)上都会出现此错误。

作为最后的说明: 我知道微软在发布有缺陷的安全补丁(https://www.infoworld.com/article/2608940/microsoft-windows/microsoft-patch-kb-2918614-triggers--key-not-valid-for-use---more-errors.html)时所产生的类似问题,但错误信息并不相同,即使它还涉及" SECREPAIR" MSI的组成部分。

任何想法? 谢谢!

MSI (s) (F0:34) [13:18:55:017]: Doing action: RegisterProduct
Action 13:18:55: RegisterProduct. Registering product
Action start 13:18:55: RegisterProduct.
RegisterProduct: Registering product
MSI (s) (F0:34) [13:18:55:017]: Re-registering product - performing upgrade of existing installation.
MSI (s) (F0:34) [13:18:55:017]: Resolving source.
MSI (s) (F0:34) [13:18:55:017]: Resolving source to launched-from source.
MSI (s) (F0:34) [13:18:55:017]: Setting launched-from source as last-used.
MSI (s) (F0:34) [13:18:55:017]: PROPERTY CHANGE: Adding SourceDir property. Its value is '\\server\xxxx\Setup\'.
MSI (s) (F0:34) [13:18:55:017]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is '\\server\xxxx\Setup\'.
MSI (s) (F0:34) [13:18:55:017]: PROPERTY CHANGE: Adding SourcedirProduct property. Its value is '{D0996A82-ED26-4469-B92E-5B8958C3568F}'.
MSI (s) (F0:34) [13:18:55:017]: SOURCEDIR ==> \\server\xxxx\Setup\
MSI (s) (F0:34) [13:18:55:017]: SOURCEDIR product ==> {D0996A82-ED26-4469-B92E-5B8958C3568F}
MSI (s) (F0:34) [13:18:55:017]: Determining source type
MSI (s) (F0:34) [13:18:55:017]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (F0:34) [13:18:55:017]: Source type from package 'MySetup.msi': 10
MSI (s) (F0:34) [13:18:55:017]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (s) (F0:34) [13:18:55:033]: SECREPAIR: Hash Database: C:\Windows\Installer\SourceHash{D0996A82-ED26-4469-B92E-5B8958C3568F}
MSI (s) (F0:34) [13:18:57:705]: SECREPAIR: filename: MySetup.msi Stored Hash Value:EP6Iaaqorv2W1VLclxB9LNP2oyfeCzXPYwF8HvdGGdQ= Current Hash:PFPnvCaXVF5QB3eMzwlyKBagathyNdr+VfuXA2hWj2Q=
MSI (s) (F0:34) [13:18:57:705]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (s) (F0:34) [13:18:57:705]: User policy value 'AlwaysInstallElevated' is 0
MSI (s) (F0:34) [13:19:05:636]: MSI_LUA: Credential Request return = 0x800704C7
MSI (s) (F0:34) [13:19:05:636]: Note: 1: 3 
MSI (s) (F0:34) [13:19:05:636]: SECUREREPAIR: SecureRepair Failed. Error code: 3329EF5F0
Action ended 13:19:05: RegisterProduct. Return value 2.
MSI (s) (F0:34) [13:19:05:668]: Note: 1: 2265 2:  3: -2147287035 

0 个答案:

没有答案
相关问题