MSI Installer fails with error :Assembly Error:The parameter is incorrect


MSI Installer fails with error :Assembly Error:The parameter is incorrect




I have created an MSI installer using Wix toolset (version 3.11) and the installer works fine on all other servers. But on AWS instances with OS, Windows server 2012 R2 installer fails with error Assembly Error:The parameter is incorrect.


Assembly Error:The parameter is incorrect.



Installer verbose log file lines which i felt are related to this error are below (complete log can not be attached)


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:UsersShreesha.RaoDesktop18.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



I have tried,



Please help me.



Note:I am not sure this error is related to MSI or Wix toolset ( i am 90% sure error is not related to wix toolset) so adding both the tags.





What architecture is the install?
– PhilDW
Jun 29 at 20:24





Sorry @PhilDW, i did not understand your question. Could you elaborate it a bit more
– shreesha
2 days ago





Your MSI is either 32-bit or 64-bit.
– PhilDW
2 days ago





@PhilDW It is 64 bit installer.
– shreesha
21 hours ago






I should have asked a more detailed question: Some Server OS versions are completely 64-bit only and have no 32-bit subsystem. Trying to install 32-bit assemblies on these systems might get this error.
– PhilDW
11 hours ago









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

how to run turtle graphics in Colaboratory

Export result set on Dbeaver to CSV