visualsi
Posts: 40
Joined: Fri Oct 14, 2011 4:16 pm

Error calling MSI API: 161 MsiRecordSetString Table: Icon

Hi,

I just downloaded and installed your 11.5 installer. I have a project where I didn't rebuild 3 or the 4 builds in the 11.4 edition, but now I am trying to build them. When I do, I am getting:

---
Error calling MSI API: 161 Method: MsiRecordSetString Table: Icon.
Build finished because an error was encountered.
---

I can remake the build that I worked on with 11.4, but not the others. Any suggestions?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Error calling MSI API: 161 MsiRecordSetString Table: Ico

Hi,

Can you please send us the project to investigate it? Either attach it on this thread or send it to support at advancedinstaller dot com if it is confidential.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Error calling MSI API: 161 MsiRecordSetString Table: Ico

Hi,

I managed to reproduce your error and narrow down your problem.
In three of your builds you do not have valid entries in the icon table. I shall point out the problem in each build.

In the DBServerBuild, EvalBuild and CompactEditionBuild, the Data column from Icon table is set to
C:\Documents and Settings\Caphyon\Desktop\ZIServer.

Here the path to the source file is a path to folder, not to a valid icon file, as it should be. You must give the path to valid icon file, a ico file or an exe file that contains icons.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”