BUILDING ERROR

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

BUILDING ERROR

Postby rrbrown7 » Fri May 25, 2012 7:06 pm

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?
rrbrown7
 
Posts: 2
Joined: Fri May 25, 2012 6:59 pm

Re: BUILDING ERROR

Postby Bogdan » Mon May 28, 2012 7:30 am

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
http://www.advancedinstaller.com/
Bogdan
 
Posts: 2403
Joined: Tue Jul 07, 2009 7:34 am

Re: BUILDING ERROR

Postby rrbrown7 » Mon May 28, 2012 7:55 am

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!
rrbrown7
 
Posts: 2
Joined: Fri May 25, 2012 6:59 pm

Re: BUILDING ERROR

Postby Bogdan » Mon May 28, 2012 9:55 am

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
http://www.advancedinstaller.com/
Bogdan
 
Posts: 2403
Joined: Tue Jul 07, 2009 7:34 am

Re: BUILDING ERROR

Postby jezcooke » Mon May 28, 2012 4:54 pm

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.
jezcooke
 
Posts: 9
Joined: Mon May 28, 2012 4:34 pm

Re: BUILDING ERROR

Postby Bogdan » Wed May 30, 2012 2:41 pm

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
http://www.advancedinstaller.com/
Bogdan
 
Posts: 2403
Joined: Tue Jul 07, 2009 7:34 am

Re: BUILDING ERROR

Postby jezcooke » Wed May 30, 2012 4:51 pm

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
jezcooke
 
Posts: 9
Joined: Mon May 28, 2012 4:34 pm

Re: BUILDING ERROR

Postby tallboy » Mon Jun 04, 2012 1:53 pm

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.
tallboy
 
Posts: 6
Joined: Mon Jun 04, 2012 1:38 pm

Re: BUILDING ERROR

Postby Bogdan » Tue Jun 05, 2012 3:50 pm

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
http://www.advancedinstaller.com/
Bogdan
 
Posts: 2403
Joined: Tue Jul 07, 2009 7:34 am

Re: BUILDING ERROR

Postby tallboy » Wed Jun 06, 2012 1:02 pm

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

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

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

Re: BUILDING ERROR

Postby Bogdan » Wed Jun 06, 2012 3:20 pm

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
http://www.advancedinstaller.com/
Bogdan
 
Posts: 2403
Joined: Tue Jul 07, 2009 7:34 am

Re: BUILDING ERROR

Postby tallboy » Fri Jun 08, 2012 2:57 pm

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

Postby tallboy » Tue Jun 12, 2012 1:44 pm

Any updates on this? I would like to upgrade, but not until this is fixed. Thanks.
tallboy
 
Posts: 6
Joined: Mon Jun 04, 2012 1:38 pm

Re: BUILDING ERROR

Postby Bogdan » Tue Jun 12, 2012 1:51 pm

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
http://www.advancedinstaller.com/
Bogdan
 
Posts: 2403
Joined: Tue Jul 07, 2009 7:34 am

Re: BUILDING ERROR

Postby Bogdan » Wed Jun 27, 2012 10:33 am

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

Regards,
Bogdan
Bogdan Mitrache
Advanced Installer Team
http://www.advancedinstaller.com/
Bogdan
 
Posts: 2403
Joined: Tue Jul 07, 2009 7:34 am

Next

Return to Common Problems

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests