Error 1627 MsiDatabaseImport Table:ControlCondition 2216 - Advanced Installer Community
barclaydeveloper
Posts: 1
Joined: Tue Nov 18, 2014 10:31 pm

Error 1627 MsiDatabaseImport Table:ControlCondition 2216

We are moving from a Windows XP 32bit build machine to Windows Server 2012 64 bit machine and now Advanced Installer fails to build our package. Using Advanced Installer 10.9 on both machines and virtually the same script (we had AI v 11.6 on our new build machine but it failed to create the install. So we downgraded AI to v10.9 tried to minimize the differences).

"Error calling MSI API:1627 MsiDatabaseImport Table:ControlCondition. Extended Error:1:2216 2:C:\build\ShopStream.msi 3: ControlCondition.idt 4: 11."

Please review and help. We were told that our WinXP machines have to be decommissioned by year end.
AdvancedInstallerBug.zip
AI script built with v10.9 and runs with WinXP but not on Windows Server 2012
(59.12 KiB) Downloaded 177 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error 1627 MsiDatabaseImport Table:ControlCondition 2216

Hi and welcome to Advanced Installer forums.

It seems this happens because your project contains duplicate rows in the "ControlCondition" table. I'm not sure how your project reached this corrupt state.

Can you please try to isolate this error in a test case scenario? Maybe you can find a working version of your project and starting from that working project state try to find out a pattern (test case) which always replicates this error. This would be very useful for us so we can isolate and investigate this issue.

I tried to open your project and investigate it, but I was not able to do this because I need the "SelectMarket.aip" repository file. Can you please send that file to me, so I can be able to open your project?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”