Dave@LN
Posts: 3
Joined: Thu Mar 16, 2017 4:06 pm

Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

I am getting an error when I build our product on our build machine that is running Window Server 2012; however, the same script runs without problem on my development laptop that is running Windows 7 Pro. The full error message is:

Error calling MSI API: 1627 Method: MsiDatabaseImport Table: InstallExecuteSequence. Extended Error: 1: 2216 2: C:\SVN\Trunk\Identico\TrueID5Prj_GT\Install\Setup Files\Single\TrueIDInstall.msi 3: InstallExecuteSequence.idt 4: 27 .

Selecting to see the details provides the following information:

Advanced Installer 14.5.2 build 83143
*** Stack Trace (x86) ***

[0x753c5608] RaiseException()
[0x01bb9372] -----
[0x00a3e2cd] -----
[0x00a39915] -----
[0x00ae3e43] -----
[0x00ae28f4] -----
[0x00a1d129] -----
[0x00a23176] -----
[0x008ba345] -----
[0x00a182db] -----
[0x0063993c] -----
[0x0057e488] -----
[0x00585b7c] -----
[0x01338c80] -----
[0x00d98be1] -----
[0x7727ad2f] RtlInitializeExceptionChain()
[0x7727acfa] RtlInitializeExceptionChain()
[0x002d0000] MODULE_BASE_ADDRESS

The full output from the build is as follows:

Checking builds status
Build required.

[ SingleExeBuild ]
Building package: C:\SVN\Trunk\Identico\TrueID5Prj_GT\Install\Setup Files\Single\TrueIDSetup.exe
Prepare build
Preparing files
Creating CAB file(s)
Signing CAB file(s)
Creating MSI database
Error calling MSI API: 1627 Method: MsiDatabaseImport Table: InstallExecuteSequence. Extended Error: 1: 2216 2: C:\SVN\Trunk\Identico\TrueID5Prj_GT\Install\Setup Files\Single\TrueIDInstall.msi 3: InstallExecuteSequence.idt 4: 27 .
Error details

Build finished because an error was encountered.

I found several articles about the error 1627 in method MsiDatabaseImport; however, none of them references the table InstallExecuteSequence.

Here is what I have tried.

1. One of the changes in this build is the addition of a code signing certificate. The log output during the build appears to make it past the first code certificate application without error; however I read some articles about errors similar to this that involved code signing. Therefore, I disabled the code signing, and I get the same error.

2. The table InstallExecuteSequence is involved with custom actions. Therefore, I removed all custom actions from the build, and I still get the same error.

I have attached the aip file that generates this error.

Any help will be greatly appreciated.

Dave Smith
Attachments
TrueIDComplete.aip
(46.98 KiB) Downloaded 453 times
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

Hello Dave,

Please give us some time to further investigate this and I'll get back to you as soon as I have a conclusion.

Thank you for your patience.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dave@LN
Posts: 3
Joined: Thu Mar 16, 2017 4:06 pm

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

Thank you, Daniel, for your offer to investigate.

I will be away from my office until Monday and will check back for your recommendations then.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

Hello Dave,

I've built your sent AIP (project file) with dummy resources on a Windows Server 2012 machine, but everything built fine. No such error was thrown.

Can you please make sure you sent us exactly the AIP copy that you actually built on the related server machine? From what I see the AIP file you sent us is last saved with AI 14.3 whereas your build error is thrown by AI 14.5.2.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dave@LN
Posts: 3
Joined: Thu Mar 16, 2017 4:06 pm

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

Daniel,

I cannot explain it. I was consistently getting the error that I reported when I ran the kit build on our build server that is running Windows Server. I just re-ran it there, twice - once with a full rebuild, and it now build fine with no errors.

Thank you for scaring it into working. :)

Dave Smith
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

You are welcome Dave. :)

I'm glad everything works now.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
adamdc78
Posts: 76
Joined: Wed Mar 19, 2014 7:42 pm

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

Going to zombify this thread:
Error calling MSI API: 1627 Method: MsiDatabaseImport Table: Control. Extended Error: 1: 2216 2: C:\Path\To\MSI\setup.msi 3: Control.idt 4: 25 .

Advanced Installer 15.2 build 30c2e84376
*** Stack Trace (x86) ***

[0x771dc54f] RaiseException()
[0x028f8ded] -----
[0x018b315c] -----
[0x018aebf9] -----
[0x018c9fb6] -----
[0x018c8d35] -----
[0x017fe8c9] -----
[0x01807186] -----
[0x016c32e5] -----
[0x017fb7f0] -----
[0x0146cc61] -----
[0x0146cc69] -----
[0x013acee5] -----
[0x013b5abc] -----
[0x0209fb70] -----
[0x01394001] -----
[0x77cb9902] RtlInitializeExceptionChain()
[0x77cb98d5] RtlInitializeExceptionChain()
[0x00ff0000] MODULE_BASE_ADDRESS
I get this error on our Continuous Integration server (Bamboo) which has the same software installed on it as my dev box for the purposes of Advanced Installer.

I do NOT get this error on my dev box.

Based on the above, I tried bumping the revision with further changes and still get the error. Happens with the GUI and AdvancedInstaller.com from a build script.
PuckenChoice
Posts: 1
Joined: Sun Jan 06, 2019 11:12 pm

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

Hello guys i am new here.. I am getting an error when I build our product on our build machine that is running Window Server 2012. please help me fast
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

Hello,

I cannot say why this happens. Can you please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate its settings?

Also, do you have in "Dialogs" page of your setup project any dialog added from "Repository"? If so, can you please make sure the related repository dialog files exists on build server machine?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
adamdc78
Posts: 76
Joined: Wed Mar 19, 2014 7:42 pm

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

I think you may be on to something there; I believe there's a mismatch between the repository version of the dialog and the project version of the dialog. Will investigate further and update.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

Thank you for your follow up on this.

Just get back to us if you cannot get this solved.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
adamdc78
Posts: 76
Joined: Wed Mar 19, 2014 7:42 pm

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

Well, I reverted and manually re-applied my changes and everything builds fine on both machines, however my build script is failing when trying to edit the product code now. I'll start a new thread for that.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

I am glad you got this working.

In what regards of the edit product code issue I replied you on the new thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
adamdc78
Posts: 76
Joined: Wed Mar 19, 2014 7:42 pm

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

A new change and back to the same error. I feel like something's not getting stored properly in the DB under some circumstances.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error calling MSI API: 1627 Method: MSIDataBaseImport Table: InstallExecuteSequence

Hello,

Can you please send us the .aip (project file) and all of its repository dependencies to support at advancedinstaller dot com so we can investigate its settings?

It will be very useful for us too if you could isolate a test case or a small sample replicating the issue.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”