Migrating aip from rev 13.4 to 13.8.1: DirectoryCombo and DirectoriList disappear - Advanced Installer Community
scambias
Posts: 29
Joined: Tue Nov 19, 2019 3:26 pm

Migrating aip from rev 13.4 to 13.8.1: DirectoryCombo and DirectoriList disappear

Hi all,

I am sorry I am asking help about an old release but we're kind of old here...
I am upgrading my aip project from rev. 13.4 to 13.8.1 and DirectoryCombo and DirectoryList, contained in a dialog, are not shown during setup run.
I could not test with more versions but something may got broken between these two.
I did a test with the 16.9 and it still fails.

Just to give an example, please have a look to the picture I attached, to see how I design the dialog and how I see it during the run.


Is this a know bug or do I need to make some modifications?

Thank you very much in advance,
Silvio
Attachments
DirectoryList&DirectoryComboExample.png
DirectoryList&DirectoryComboExample.png (21.62 KiB) Viewed 3562 times
scambias
Posts: 29
Joined: Tue Nov 19, 2019 3:26 pm

Re: Migrating aip from rev 13.4 to 13.8.1: DirectoryCombo and DirectoriList disappear

Hi all

as you can see, the dialog is a custom one where we added some controls (the same ones from the browseDlg).
I also tested a sample aip which has the browse folder dialog (https://www.advancedinstaller.com/user- ... older.html) and it works fine with the latest version so I don't understand what's happening on my aip.
This issue just started after upgrading.

I will try to simplify my aip (it's a quite complex setup...) and see to isolate the issue but some hints are welcome.
Thanks,
Silvio
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Migrating aip from rev 13.4 to 13.8.1: DirectoryCombo and DirectoriList disappear

Hello Silvio,

Most likely, you changed the package type to EXE in the "Builds" page.

These two controls (DirectoryList and DirectoryCombo) are not supported by our EXE Bootstrapper.

I have forwarded this to our development team and hopefully this will be available in a future version of Advanced Installer.

However, if you want to use the BrowseDlg feature while using EXE package, please have a look on the following article: How to browse for a folder at install time

There is also a sample project and it works as expected with EXE package type.

Or, you can simply change the package type back to MSI.

Hope this helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
scambias
Posts: 29
Joined: Tue Nov 19, 2019 3:26 pm

Re: Migrating aip from rev 13.4 to 13.8.1: DirectoryCombo and DirectoriList disappear

Hello,

thanks for your reply.
I actually did not change the aip file and it was .exe before upgrading from 13.4 to 13.8.1.
Anyway ,I changed it to MSI and now the controls are visible. I lost thepossibility to have an icon associated to the setup.

I don't understand though why the setup of the sample you suggested me works fine and shows the controls even if I turn it from .msi to .exe.

Thanks
Silvio
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Migrating aip from rev 13.4 to 13.8.1: DirectoryCombo and DirectoriList disappear

Hello Silvio,

Sorry about that, I forgot to mention the Enhanced User Interface (EUI) in the previous post.

These controls never work when the EUI is enabled (thus the package type is EXE).

Can you please check In the version 13.4 to see if the EUI is off in the "Themes" page --> "Settings" tab?
EUI.png
EUI.png (23.47 KiB) Viewed 3506 times

Basically, these controls are not rendered when EUI is on and that functionality was never supported.

Also, the EUI is off in the sample project attached in the article linked in my previous post.

Hope this helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
scambias
Posts: 29
Joined: Tue Nov 19, 2019 3:26 pm

Re: Migrating aip from rev 13.4 to 13.8.1: DirectoryCombo and DirectoriList disappear

Hello,

I confirm that in my aip project the option EUI is off too.

Thanks a lot.
I keep investigating meanwhile... ;)
Please let me know if you have a sample aip where you create a custom dialog using those two controls and it works fine too.
It would help me understanding.

Kind regards,
Silvio
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Migrating aip from rev 13.4 to 13.8.1: DirectoryCombo and DirectoriList disappear

Hi Silvio,

These two controls are rendered correctly on any project which has the Enhanced User Interface disabled.

Please find attached a sample project created with Advanced Installer 19.2 which displays the controls as expected when the EUI is off.

However, as I can see, starting with Advanced Installer 13.8 version the option to disable the Enhanced UI was no longer available when you build an EXE setup package. That option was added back starting with version 14.3.
Can you please try to update to that version and see if it helps? Otherwise, if your maintenance plan has expired and you cannot upgrade to that version, please write us an email to support at advancedinstaller dot com and we will try to help you in this regard.

Best regards,
Liviu
Attachments
sample.aip
(14.85 KiB) Downloaded 208 times
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”