apajovejohn
Posts: 9
Joined: Tue Dec 18, 2018 6:11 pm

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

Thu Jan 31, 2019 2:26 pm

Hi,
I've read other forum posts that mention this error being a duplicate row in the Control table. I've had a good look through and I don't see any duplicates.

I find it especially weird that it complied fine yesterday and I've not touched any of the dialogues, but today it doesn't compile. I've attached the project, any suggestions?

Thanks
Attachments
CompileError.zip
(172.17 KiB) Downloaded 131 times

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

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

Thu Jan 31, 2019 3:47 pm

Hello,

First of all, thank you for the sent files.

Indeed, that error is usually thrown when there are duplicate controls in the "Control" table.

Attached you can find a fixed version of your .AIP file:
CompileError - Solved.zip
(169.3 KiB) Downloaded 136 times
For your reference, the duplicates were:

- InstallDlg --> ProductLogo control

- ExitDlg --> ProductLogo control

- ProgressDlg --> ProductLogo control

- SqlServerConnectiondlg --> ProductLogo control

Hope this helped.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

apajovejohn
Posts: 9
Joined: Tue Dec 18, 2018 6:11 pm

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

Thu Jan 31, 2019 4:17 pm

Thanks so much for the quick reply!

I had noticed that that line was in several times, but it had a different right hand column entry and I figured that as I'd not touched the dialogues and not touched the logos in weeks, that these weren't the offending items.

Lesson learned!

John

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

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

Fri Feb 01, 2019 9:03 am

You are always welcome, John.

Glad I could help.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”