MSI安装程序失败并显示错误:组装错误:参数不正确

时间:2018-06-29 10:39:39

标签: wix windows-installer


我已经使用Wix工具集(版本3.11)创建了MSI安装程序,该安装程序在所有其他服务器上均可正常运行。但是在具有操作系统的AWS实例上,Windows Server 2012 R2安装程序失败,错误为Assembly Error:The parameter is incorrect.

以下是我认为与此错误相关的安装程序详细日志文件行(无法附加完整日志)

MSI (s) (88:8C) [08:50:05:010]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (88:8C) [08:50:05:010]: Adding new sources is allowed.
MSI (s) (88:8C) [08:50:05:010]: Set LastUsedSource to: C:\Users\Shreesha.Rao\Desktop\18.0.2\.
MSI (s) (88:8C) [08:50:05:010]: Set LastUsedType to: n.
MSI (s) (88:8C) [08:50:05:010]: Set LastUsedIndex to: 1.
MSI (s) (88:8C) [08:50:05:010]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=5851241)
06/29/2018 08:50:05.041 [3720]: Assembly Install: Failing with hr=80070057 at CAssemblyCacheItem::MoveAssemblyToFinalLocation, line 846

06/29/2018 08:50:05.041 [3720]: Assembly Install: Failing with hr=80070057 at CAssemblyCacheItem::LegacyCommit, line 1444

MSI (s) (88:8C) [08:50:05:041]: Assembly Error:The parameter is incorrect.

MSI (s) (88:8C) [08:50:05:041]: Note: 1: 1935 2: {6E5EE8E5-86C6-4E4E-BF86-0FF21C02E57A} 3: 0x80070057 4: IAssemblyCacheItem 5: Commit 6: [assemblyname],version="1.1.14.0",culture="neutral",publicKeyToken="13D9421F3DD97943",processorArchitecture="MSIL" 
MSI (s) (88:8C) [08:50:05:041]: Note: 1: 2205 2:  3: Error 
MSI (s) (88:8C) [08:50:05:041]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1935 
MSI (s) (88:8C) [08:50:28:899]: Note: 1: 2205 2:  3: Error 
MSI (s) (88:8C) [08:50:28:899]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
MSI (s) (88:8C) [08:50:28:899]: Product: [product] 18.0.6 -- Error 1935. An error occurred during the installation of assembly '[assemblyname],version="1.1.14.0",culture="neutral",publicKeyToken="13D9421F3DD97943",processorArchitecture="MSIL"'. Please refer to Help and Support for more information. HRESULT: 0x80070057. assembly interface: IAssemblyCacheItem, function: Commit, component: {6E5EE8E5-86C6-4E4E-BF86-0FF21C02E57A}

06/29/2018 08:50:28.899 [3720]: Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393

我尝试过

  • 验证用户是否为管理员:用户为管理员
  • 已禁用“用户帐户控制:在管理员批准中运行所有管理员
    模式”(来自blog post之后)
  • 搜索错误号1935:未获得任何有用的信息

请帮助我。

注意:我不确定此错误与MSI或Wix工具集有关(我很确定90%的错误与wix工具集无关),因此请同时添加两个标签。

0 个答案:

没有答案