acpowell
Posts: 17
Joined: Thu Feb 09, 2017 5:20 pm

Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component. Extended Error: Write Table IDT: 1: 2216

Fri Sep 17, 2021 1:49 pm

I am getting this error when trying to build an MSI after adding a new file/folder and then updating some files. I have searched through the forums and see people talking about finding "Duplicate table entries" but I cannot figure out how to tell if I have a duplicate one. Any help is appreciated.

I have posted the full error log with some redactions.

Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component. Extended Error:
Write Table IDT: 1: 2216 2: C:\Users\*********.msi 3: Component.idt 4: 10 .

Advanced Installer 18.0 build 1a235518
*** Stack Trace (x86) ***

[0x7789b512] RaiseException()
[0x0248c75a] -----
[0x014906c0] -----
[0x0148c03b] -----
[0x014a08a3] -----
[0x014a0c14] -----
[0x013e6d6a] -----
[0x013ee1c9] -----
[0x012c7dc5] -----
[0x012c7cb1] -----
[0x013e42f6] -----
[0x0155414b] -----
[0x010c3317] -----
[0x00f78f5e] -----
[0x00dec77c] -----
[0x01c36ab8] -----
[0x77b95dce] RtlAllocateHeap()
[0x77882e0b] FlsGetValue()
[0x0248f292] -----
[0x0248bce9] -----
[0x00e0390e] -----
[0x7632fa29] BaseThreadInitThunk()
[0x77bb7a7e] RtlGetAppContainerNamedObjectPath()
[0x77bb7a4e] RtlGetAppContainerNamedObjectPath()
[0x00b50000] MODULE_BASE_ADDRESS

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

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component. Extended Error: Write Table IDT: 1: 2216

Fri Sep 17, 2021 1:55 pm

Hello,

There seem to be some duplicates in the "Component" table of your project.

Please forward us a copy of your .AIP file by e-mail at support at advancedinstaller dot com so we can further investigate this.

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

acpowell
Posts: 17
Joined: Thu Feb 09, 2017 5:20 pm

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component. Extended Error: Write Table IDT: 1: 2216

Fri Sep 17, 2021 3:30 pm

I sent the file just now. FYI this is now more of a what not to do in the future thing as I recreated a from scratch AIP and it worked. I would like to know what I did to mess the old one up though.

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

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component. Extended Error: Write Table IDT: 1: 2216

Fri Sep 17, 2021 4:09 pm

Hello Anthony,

It looks like the issue was not a duplicate event, but rather you have somehow ended up with an empty component (the "_" component from the "Organization" page).

To be fully honest with you, I am not quite sure how you ended up with that, as I have tried to reproduce this several times now (and also in the past when I've encountered a similar scenario), but unfortunately to no avail.

Luckily, the project was quite small and it could easily be recreated.

If you somehow remember what steps you took in your project, please share them with me, perhaps that will help me reproduce this.

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

acpowell
Posts: 17
Joined: Thu Feb 09, 2017 5:20 pm

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component. Extended Error: Write Table IDT: 1: 2216

Fri Sep 17, 2021 4:50 pm

it all worked fine, until I was adding a new part, the Excel\XLSTART folder and the file with in. It is possible I created a folder and named it wrong then deleted it. Not sure. Either way thank you!

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

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component. Extended Error: Write Table IDT: 1: 2216

Fri Sep 17, 2021 5:23 pm

You are always welcome, Anthony!

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

Return to “Common Problems”