I experienced a similar error with Advanced Installer 9.2 today. I don't know if it is related to the one the other user described but it certainly looks the same:
- Code: Select all
Checking builds status... done.
[ DefaultBuild ]
Building package (en_GB): [filename].exe
Reusing archives from cache... done.
Creating MSI database... error.
Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216 2: [filename].msi 3: ControlEvent.idt 4: 127 .
Build finished because an error was encountered.
In my case I found it occurred when I added the ExtRegDlg dialog to my setup (a mixed 32/64 bit package). I restored a backup from yesterday and it built OK, I added the dialog again and it failed with the above error, I repeated this several times it was perfectly repeatable. I then re-installed 9.0.1 and added the dialog in that instead, it built fine. I then opened this updated aip file (with ExtRegDlg already added) in 9.2 and it now builds fine in that too.
In summary the problem I saw occurs if I add the ExtRegDlg using 9.2, by adding it in 9.0.1 I can now use 9.2 without issue, therefore I no longer have a problem but as I had already found this thread while searching for a solution earlier I thought adding my experience may be helpful in tracking down the cause.