Arno
Posts: 16
Joined: Mon Sep 17, 2007 9:19 am

Problem with Control Events editor

See the image below:
Image

I can not move down the default button event! This prohibits me from responding to the validation custom action. It would be appreciated if system/default dialog events could be moved.

Thank you.

A.v.harskamp
Kraan Bouwcomputing B.V.
http://www.kraan.com
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

You cannot move that NewDialog control event, but you should be able to move up the DoAction control events.

If you cannot move up the DoAction control events send us the .aip file (if it doesn't contain confidential information) or a small test case reproducing this behavior to support at advancedinstaller dot com so we can take a look.

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Arno
Posts: 16
Joined: Mon Sep 17, 2007 9:19 am

Hello,

Took a while for me to respond since I got quite busy with all kinds of other stuff. But, the steps I did to get this behavior is this:

Create a custom dialog into the install mode of the installer. There indeed the events can be moved upwards just fine. Add the dialog to the repository.

Then add this dialog from the repository to the maintenance mode of the installer. This is where added events can't be moved up in front of the default event.

I can send you the project file, there's nothing special in it just yet.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

This is a bug of Advanced Installer and will be fixed in the next version which is scheduled for release in the near future.

Thank you for bringing this to our attention.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Arno
Posts: 16
Joined: Mon Sep 17, 2007 9:19 am

Dear cosmin,

Recently we have purchased Advanced Installer based on my recommendations. I've also noted the release of version 6. Unfortunately, the described bug in this post is still present in this new version. Even worse, the problem now exists with the "First Installation" path as well ;)

Otherwise the upgrade is great, no more custom dialog crashes when removing them!

A.v.Harskamp
Kraan Bouwcomputing B.V.
http://www.kraan.com
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Thank you for registering Advanced Installer.
Unfortunately, the described bug in this post is still present in this new version.
I cannot reproduce the bug in the 6.0 version. If you can reproduce it then please give more details about the steps you are taking.
Even worse, the problem now exists with the "First Installation" path as well
I'm not sure I understand what you mean. Can you please give more details about this?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Arno
Posts: 16
Joined: Mon Sep 17, 2007 9:19 am

The problem first existed in the "Maintenance/repair" path of the install, after re-using the custom dialog there. Now it appeared in the "First install" path as well in the original dialog.

However, this is an old project made with 5.2.2 so perhaps the faultyness is inherited to version 6. I will try and create a blank project with a new custom dialog and see if the issue still exists. If not, I'll have to rework the project and possibly the dialog too. I'll keep you up to date.

Thanks,

A.v.harskamp
Kraan Bouwcomputing B.V.
http://www.kraan.com
Arno
Posts: 16
Joined: Mon Sep 17, 2007 9:19 am

Okay, I've been playing around some with it and found the following:

New actions are always inserted before the Next button default event which makes it go to the next dialog. This means my old projectfile can't be fixed; it still has events past the default dialog and I can't move them before the default event.

Another breaking issue I found: Dialogs added to the repository can not be added anywhere in the "Maintenance" or "First Install" install path. When adding a dialog and chosing it from the repository, simply nothing happens.

A final breaking issue: After each upgrade (have had two now, to 5.2.2 and to 6.0) the dialog repository gets wiped! I don't think that's intentional...

A.v.harskamp
Kraan Bouwcomputing B.V.
http://www.kraan.com
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
This means my old projectfile can't be fixed;
Since the bug has been fixed in the 6.0 version you need to recreate your control events using Advanced Installer 6.0.
Dialogs added to the repository can not be added anywhere in the "Maintenance" or "First Install" install path.
Note that you cannot add custom dialogs anywhere in the dialog sequence directly. However, you can use the default "NewDialog" control events of the "Next" and "Back" buttons to create your own dialog sequence.

There is similar discussion on the forum, please take a look:
http://www.advancedinstaller.com/forums ... php?t=4218
After each upgrade (have had two now, to 5.2.2 and to 6.0) the dialog repository gets wiped! I don't think that's intentional...
I cannot reproduce this behavior on my test machine. Note that the Repository folder is not modified during an upgrade.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Arno
Posts: 16
Joined: Mon Sep 17, 2007 9:19 am

Thank you for your reply, I think I can fix my project file that way.

I will also try to insert my custom dialog the way its described in the topic you linked - by changing the next button events. However, in 5.2.2 I used to be able to directly add dialogs from the repository, hence it led me to believe this was a bug :)

Whenever a new update appears, I will back up the folder with the custom dialogs (if I can find it that is) before updating and see if they get wiped again when updating. If so, I'll let you know.

Thanks for your support meanwhile!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
I will back up the folder with the custom dialogs (if I can find it that is) before updating and see if they get wiped again when updating.
The Repository folder has this path:

Code: Select all

C:\Documents and Settings\All Users\Application Data\Caphyon\Advanced Installer\Repository
Let me know if you can reproduce this behavior (you can also try on a clean machine). If you need older versions of Advanced Installer you can download them from this page:
http://www.advancedinstaller.com/forums ... php?t=1354

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”