rrbrown7
Posts: 2
Joined: Fri May 25, 2012 6:59 pm

BUILDING ERROR

I am unable to build a solution that had been working prior to v9.2. The error message is:

Building package (en): D:\MIS_Dev\Advanced Installer\Setup Files\ImageView_v4_Setup.exe
Creating LZMA archive... done.
Creating MSI database... error.
Error calling MSI API: 1627 Method: MsiDatabaseImport Table: ControlEvent. Extended Error: 1: 2216 2: D:\MIS_Dev\Advanced Installer\Setup Files\ImageView_v4_Setup.msi 3: ControlEvent.idt 4: 25 .

Build finished because an error was encountered.

I have three other projects that use basically the same files and compile fine. Any ideas?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: BUILDING ERROR

Hi,

Have you tried to build the project with the older version of Advanced Installer? You can have them installed side by side.

Can you please send us the project file by e-mail so we can try to reproduce the problem on our machines?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rrbrown7
Posts: 2
Joined: Fri May 25, 2012 6:59 pm

Re: BUILDING ERROR

Yes, I was able to build it with v9.1 on my desktop system. So I used a backup copy for v9.2 and it built successfully. The only change I had made was the Control Panel icon. Perhaps It corrupted the file. It's fine now.

BTW, the program is perfect for my needs. I am very glad I discovered it!
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: BUILDING ERROR

I'm glad to hear you like the application. If you have any suggestions to improve it please let us know.

Regarding the failed build, from your last post I understand now everything is working in version 9.2, yes?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jezcooke
Posts: 29
Joined: Mon May 28, 2012 4:34 pm

Re: BUILDING ERROR

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.
Build required.
[ 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.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: BUILDING ERROR

Hi and welcome to our forums,

Thank you for the details, we'll start testing a scenario right away, so we can see if the problem can be reproduce in a new project.

However, if possible, we would appreciate if you can send us the aip files for the mentioned version, with and without "ExtRegDlg" added, or some samples ones,
so we can have those as a sure method of reproducing the problem. You can send us to support at advancedinstaller dot com, the projects are used only for debugging purposes, so project confidentiality is not a problem.

UPDATE: I just tested your scenario on a set of new projects, but could not reproduce the problem. It is clearly something that got corrupted in your project, but we are still interested to investigate this so if you can send us the projects it would be great.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jezcooke
Posts: 29
Joined: Mon May 28, 2012 4:34 pm

Re: BUILDING ERROR

Hi,

I sent three AIP files to your support e-mail address. One before ExtRegDlg was added, one after it was added in 9.2 (causing the above error), and one after it was added by reinstalling 9.0.1 (my current working version of the AIP file).

I hope this helps.

Regards

Jez
tallboy
Posts: 6
Joined: Mon Jun 04, 2012 1:38 pm

Re: BUILDING ERROR

I get this same error too. I updated to 9.2 and started getting this. I opened a backup from before I started using serial validation and it builds fine. If I add serial validation I get this error.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: BUILDING ERROR

Can you please send us the original aip file, i.e. the one before activating serial validation? Also, what type of validation have you enabled?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tallboy
Posts: 6
Joined: Mon Jun 04, 2012 1:38 pm

Re: BUILDING ERROR

I have submitted the .aip file to the support email.

I am using Serial Validation with a fixed set of predefined serials.

Thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: BUILDING ERROR

Using the above mentioned aip file I was able to reproduce the problem. We are now investigating it and we'll be back with more details and a fix ASAP.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tallboy
Posts: 6
Joined: Mon Jun 04, 2012 1:38 pm

Re: BUILDING ERROR

Thanks for testing that, I'll be waiting on a fix.
tallboy
Posts: 6
Joined: Mon Jun 04, 2012 1:38 pm

Re: BUILDING ERROR

Any updates on this? I would like to upgrade, but not until this is fixed. Thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: BUILDING ERROR

The fix for this problem will be introduced in the next version, scheduled for release this month. Unfortunately I don't have an exact release date.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: BUILDING ERROR

This was fixed in version 9.3, released on June 26, 2012.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”