Easily reproducable Access Violation - Advanced Installer Community
Arno
Posts: 16
Joined: Mon Sep 17, 2007 9:19 am

Easily reproducable Access Violation

Hello all,

I'm still evaluting the product, but wanted to give a heads-up on a bug present in the latest version.

Steps to generate the AV:

-Go to the dialogs section.
-Chose New Dialog. A new empty dialog appears.
-Then rightclick the dialog in the dialogs treeview.
-Select Delete from the menu
-Now, one of the other dialogs shows up in the editor. Click it in the editor -> boom!

Furthermore, the product corrupts the project file when working with the dialog repository:

-Create a custom dialog.
-Send it to the repository.
-Modify the created custom dialog, do not change the name
-Send it to the repository. You're forced to rename the dialog.
-Accept the default with a number appended.
-Delete the custom dialog from the treeview.
-Attempt to add the first version from the repository. This should fail with a "duplicate key" database error.
-When saving the project renders it corrupted. It can not be opened anymore from this point on. Close down AI and attempt to open the project.

[Edit:]If interested, I can provide you with the corrupted .aip file.

Talking about the dialog repository, as far as I can tell AI is missing a way to maintain the dialog repository. I can't delete or edit dialogs in the repository. So in my opinion, it needs a repository editor. But I know, this is more of a feature request. I have a few requests so I'll post it in the appropriate forum :)

Other than this I'm pretty pleased with AI. It's nice 'n slick and there seems to be a good support. Say.. wouldn't these finds entitle me to an enterprise license reward? ;)

A.v.Harskamp
Kraan Bouwcomputing B.V.
http://www.kraan.com
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Arno,

1. We are ware of this bug and the fix will be available in the next version of Advanced Installer. Thank you for bringing this to our attention.

2. The dialog repository does not allow modifying dialogs in the repository. We shall improve this part. I have added this on our TODO list. Thank you for your suggestion.

Regarding the crash you have mentioned in the dialog repository, we cannot reproduce this.

Best Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
jusher
Posts: 195
Joined: Thu Dec 22, 2011 12:00 pm

Re: Easily reproducable Access Violation

I am still getting the problem mentioned in point 2 on 9.2!!

If I save a dialogue with a current name of BTSCustomDlg_0_1 to SAW_BTSCustomDlg it does it and builds it. Then when I close and try to reopen project I get an error that means the aip is unusable. Comes up with pointer errors etc. When I look at the aip file it still has details about old and saved dialogs!

John
Last edited by jusher on Thu May 31, 2012 10:19 am, edited 1 time in total.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Easily reproducable Access Violation

Hi John,

Improving the repository functionality this way has very delicate implementation and this was the only request so far. Since the priority was low, our development team didn't invest much time on this issue.
I just increased its priority with your request. However, two requests and the delicate implementation process means it will take a while longer before its release.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jusher
Posts: 195
Joined: Thu Dec 22, 2011 12:00 pm

Re: Easily reproducable Access Violation

Hi Mihai,

Any news on these changes?

Regards,
John
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Easily reproducable Access Violation

Hi John,

As I mentioned in my previous post you shouldn't expect the fix anytime soon. After later discussions with the development team, the most accurate estimate we can assume is by the end of this year.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mcseforsale
Posts: 57
Joined: Wed Mar 27, 2013 10:53 pm

Re: Easily reproducable Access Violation

I am still having this issue (9.2). It's creating some bad issues for me in my CI build process right now. I'm also seeing several instances of the same row in the CheckBox table and I cannot delete them. Any help would be appreciated.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Easily reproducable Access Violation

Hello,

First of all we apologize for this inconvenient. I've increased the priority for this issue and we'll try to implement a fix for it as soon as possible. Until then, I'm afraid there's no workaround you can use.

Thank you for your patience and understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Easily reproducable Access Violation

Hello,

This was fixed in version 10.7 of Advanced Installer released on November 11, 2013.

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

Return to “Common Problems”