easterbunny
Posts: 8
Joined: Tue Apr 26, 2011 11:27 am

Exception - Error calling Msi API: 1627 Method

Hi, I receive the following error message:

[ DefaultBuild ]
Creating MSI database (en)... Exception - Error calling Msi API: 1627 Method: MsiDatabaseImport 1: 2216 2: f:\Temp\AIT1B4D.tmp 3: Component.idt 4: 21 Table: Component.

Build finished because an error was encountered.


Could you please help me with this? :)

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Exception - Error calling Msi API: 1627 Method

Hi,

It seems that the Component table cannot be generated correctly. Are you using the latest Advanced Installer version? Also, did you try deleting the project cache (it's usually next to the project file)? If the problem persists, please send us the .AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rho
Posts: 69
Joined: Tue May 12, 2009 1:22 pm

Re: Exception - Error calling Msi API: 1627 Method

I had the same error using a combobox.
I copied it from one aip to another.

when looking at the xml file, it added the values for the dropdownlist twice. Maybe it was because the a combobox with the same drop down list was already on another dialog.
I removed the doubled combobox and edited the drop down values in xml.

Code: Select all

<COMPONENT cid="caphyon.advinst.msicomp.MsiComboBoxComponent">
is the section to look for

Return to “Common Problems”