nickelnext
Posts: 4
Joined: Sun May 28, 2023 9:34 pm

Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error:

I am getting the same error as many are in this forum


Creating MSI database (en)
Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error:
Write Table IDT: 1: 2216 2: C:\Users\<<user>>\AppData\Local\Temp\BUIF97E.tmp\AITD843.tmp 3: ControlEvent.idt 4: 138 .
Error details

Build finished because an error was encountered.

I was trying to put up a custom dialog with two checkboxes where the user should check them if he wants to install some additional software.

Looks like i got something done wrong and now it does not compile anymore

Can you please help me?
Attachments
ObiScannerFrameworkInstaller203.aip
(201.94 KiB) Downloaded 100 times
Liviu
Posts: 1042
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error:

Hello and welcome to our forums,

Unfortunately, I cannot open your attached project due to its repository dependencies.
repository.png
repository.png (29.76 KiB) Viewed 5311 times
"C:\ProgramData\Caphyon\Advanced Installer\Repository\Dialogs\"

Therefore, in order for us to further investigate this, can you please forward to us all the necessary dialogs from the Repository so we can open your project? You can upload them here or you can send the files by email to support at advancedinstaller dot com.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nickelnext
Posts: 4
Joined: Sun May 28, 2023 9:34 pm

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error:

Hi

Here it is
Attachments
Repository.zip
(278.44 KiB) Downloaded 104 times
nickelnext
Posts: 4
Joined: Sun May 28, 2023 9:34 pm

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error:

By the way i did not want to put naything on the repository but i did it by mistake and i guess thereìs no going back via the editor.

We can remove the dialog from the repository if it fixes everything
nickelnext
Posts: 4
Joined: Sun May 28, 2023 9:34 pm

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error:

Code: Select all

Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 
Write Table IDT: 1: 2216 2: C:\Users\nicke\AppData\Local\Temp\BUI6FCF.tmp\AIT6FD0.tmp 3: ControlEvent.idt 4: 138 .

Advanced Installer 20.7 build 173382f5
*** Stack Trace (x86) ***

[0x75998412]  RaiseException()
[0x02277b4a]  -----
[0x00f88e2d]  -----
[0x00f83f56]  -----
[0x00f9bba2]  -----
[0x00f9bf64]  -----
[0x00ed0da2]  -----
[0x00ed921c]  -----
[0x00d856c3]  -----
[0x00d85591]  -----
[0x00ece46b]  -----
[0x0107916b]  -----
[0x00b30944]  -----
[0x0095288f]  -----
[0x00794ac4]  -----
[0x018bd858]  -----
[0x76f42eae]  RtlFlsSetValue()
[0x7596e94b]  FlsGetValue()
[0x0227a34d]  -----
[0x02277030]  -----
[0x007acebe]  -----
[0x76657d59]  BaseThreadInitThunk()
[0x76f4b74b]  RtlInitializeExceptionChain()
[0x76f4b6cf]  RtlClearBits()
[0x002d0000]  MODULE_BASE_ADDRESS
Liviu
Posts: 1042
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error:

Hello,

The error occurs because there are duplicate actions on the Next button of the PrereqDialog dialog:
prereqDialog.png
prereqDialog.png (108.57 KiB) Viewed 5036 times

If you delete three "Execute custom action" events everything should work as expected.

You can find attached the fixed project.
ObiScannerFrameworkInstaller203.aip
(202.22 KiB) Downloaded 106 times

Let us know if you have any questions.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”