objc
Posts: 6
Joined: Wed Oct 07, 2020 5:46 am

Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component

I am getting the following error when trying to build my custom exe installer:

Code: Select all

Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component. Extended Error: 1: 2216 2: C:\Users\<me>\Desktop\Installers\<My installer>.msi 3: Component.idt 4: 3909 .

Advanced Installer 17.4.1 build e10c23b1
*** Stack Trace (x86) ***

[0x767b9962]  RaiseException()
[0x01d5f4fa]  -----
... etc
[0x008e8fb1]  -----
[0x77ad74b4]  RtlGetAppContainerNamedObjectPath()
[0x77ad7484]  RtlGetAppContainerNamedObjectPath()
[0x00500000]  MODULE_BASE_ADDRESS
I have attached my AIP file. I am trying to repackage Chrome and a few other apps into a single installer, as well as bundle a few files synced from my machine. Can someone tell me what's wrong? Obviously some kind of error in the Component table, but... that table is too large in my case for any one person to figure out what it is on their own.

Edit: apparently my AIP file is too large to attach (9MB), so I have uploaded it here: https://arxius.io/f/4527a0f9
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component

Hello and welcome to our forums,

It looks like your project somehow got corrupted.

The problem seemed to be cause by an empty component:

Name: __2
GUID: 103035B1-A903-45B5-B82C-102EA1C585DA


I am not quite sure how an empty component got into your project.

Please find below a fixed version of the .AIP you have provided:

https://drive.google.com/file/d/1f-FCgQ ... sp=sharing

If possible, could you please share with us the kits you have repackaged to obtain this .AIP file?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
objc
Posts: 6
Joined: Wed Oct 07, 2020 5:46 am

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component

I repackaged Chrome, VS Code, and 7-Zip, and I'm also adding lots of files from my own computer. It is too much to share really...

Anyway, I am having another issue now. That __2 file came back somehow and I deleted it again, but now I'm getting another error, this time about the Directory table. Here is my project now: https://arxius.io/f/0a54d41f What is wrong?

Is it possible for AdvancedInstaller to display a more detailed error message in the error dialog? It should be able to tell us which part of the project is corrupt specifically, right?
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component

Hello,

This is currently under our investigations.

I will come back to you once I have a resolution.
Is it possible for AdvancedInstaller to display a more detailed error message in the error dialog? It should be able to tell us which part of the project is corrupt specifically, right?
Well, not quite. In order to identify these errors, we use a special debug version of our software.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Component

Hello,

Please accept my apologies for the delayed reply.

You can find a fixed copy of your .AIP file here:

https://arxius.io/f/c9614ffa

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

Return to “Common Problems”