agyorgyi
Posts: 8
Joined: Thu Jan 09, 2020 4:28 pm

Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216

Thu Jan 09, 2020 4:38 pm

Dear Support,
I 'tried to build my project, but it stopped with this error:
Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216 2: C:\Projects\Forras .NET\Forras_NET-SetupFiles\Forras_NET.msi 3: ControlEvent.idt 4: 29 .

Advanced Installer 16.6.1 build e06e662b
*** Stack Trace (x86) ***

[0x758319b2] RaiseException()
[0x0281ebb0] -----
[0x0192608e] -----
[0x01921c83] -----
[0x0193b733] -----
[0x0193ba94] -----
[0x01883fda] -----
[0x0188b5f9] -----
[0x0176bb65] -----
[0x01881490] -----
[0x0158b5a1] -----
[0x0158b5a9] -----
[0x014a5db4] -----
[0x014ae0be] -----
[0x02057e50] -----
[0x01480b71] -----
[0x77d7662d] RtlGetAppContainerNamedObjectPath()
[0x77d765fd] RtlGetAppContainerNamedObjectPath()
[0x010c0000] MODULE_BASE_ADDRESS
I am a newbie in Adv. Inst. What could I do ? Project file is attached.
thank you for your help, best regards, agyorgyi

Catalin
Posts: 6536
Joined: Wed Jun 13, 2018 7:49 am

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216

Thu Jan 09, 2020 4:42 pm

Hello Agyorgyi and welcome to Advanced Installer forums,

That error is usually thrown when there are duplicate controls in the specified table.

Unfortunately, it seems that I was not able to download the .AIP. It stated that the file no longer exists.

In order for me to further investigate this issue, could you please try to attach the .AIP file one more time?

Looking forward to hearing from you.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

agyorgyi
Posts: 8
Joined: Thu Jan 09, 2020 4:28 pm

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216

Thu Jan 09, 2020 4:47 pm

Dear Catalin,
thank you for your quick reply.
I've attached the project file again. I hope you can download it.
best regards, agyorgyi
Last edited by agyorgyi on Thu Jan 23, 2020 3:24 pm, edited 1 time in total.

Catalin
Posts: 6536
Joined: Wed Jun 13, 2018 7:49 am

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216

Mon Jan 13, 2020 9:05 am

Hello Agyorgyi,

Thank you for your patience on this.

Please find attached a fixed version of your .AIP file:

[Attachment deleted as per user's request]


Please let me know if there is anything else I could help you with and I will gladly assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

agyorgyi
Posts: 8
Joined: Thu Jan 09, 2020 4:28 pm

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216

Mon Jan 13, 2020 3:06 pm

Dear Catalin,
it works, thank you much!
best regards, agyorgyi

Catalin
Posts: 6536
Joined: Wed Jun 13, 2018 7:49 am

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216

Mon Jan 13, 2020 4:23 pm

You are always welcome, Agyorgyi.

I am glad everything is working now.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

agyorgyi
Posts: 8
Joined: Thu Jan 09, 2020 4:28 pm

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216

Thu Jan 23, 2020 1:16 pm

Dear Catalin,
could you delete this topic?
Thank you!
Best regards:agyorgyi

Catalin
Posts: 6536
Joined: Wed Jun 13, 2018 7:49 am

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216

Thu Jan 23, 2020 2:02 pm

Hello Agyorgyi,

I did not delete this topic because it may be helpful for further users facing a similar scenario.

If you want, you can delete the attachments (simply edit the post, delete the attachment then save the post).

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

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

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216

Mon May 10, 2021 2:52 pm

Hi,

It seems this is a often-occurring event. We are having it now as well.

Might it be possible for you to explain how to find the duplicate and fix it instead of taking our file and fixing it yourself? I am willing to do the work, but could use guidance.

I submitted a help desk request more than a week ago and attached my .api file and haven't heard back. In the mean time, customers are getting restless.

Thanks,
Rob

Catalin
Posts: 6536
Joined: Wed Jun 13, 2018 7:49 am

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216

Thu May 13, 2021 5:51 pm

Hello Rob,

That error is usually thrown when there are duplicate controls in the specified table.

This can be seen by using the "Table Editor" feature --> "ControlEvent" table.
ControlEvent.png
ControlEvent.png (210.47KiB)Viewed 5089 times

However, considering this specific scenario, since this refers to UI controls (dialog controls), it can also be seen in "Dialogs" page.

For instance, if "FolderDlg" would have a duplicate control, you would be able to find it here:
FolderDlg.png
FolderDlg.png (147.37KiB)Viewed 5089 times

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”