d79ima
Posts: 24
Joined: Fri Feb 08, 2013 10:28 pm

How to hide installation folder tab in ConfigureDlg

Hello,

Hi can I hide the installation folder tab in CofigureDlg, but keep the Features selection dialog?

Thanks,
Dmitry
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to hide installation folder tab in ConfigureDlg

Hi Dmitry,

In order to achieve this you can double-click on the "Tab Host" control from the "CofigureDlg" dialog and in the newly appeared dialog remove or edit the tab you want to hide.

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
d79ima
Posts: 24
Joined: Fri Feb 08, 2013 10:28 pm

Re: How to hide installation folder tab in ConfigureDlg

I am not able to double-click on the "Tab Host" control from within the AdvancedInstaller dialogs tab.
I am using the Professional version. Is this something that is only available in the Enterprise version?
Is there any other way to do this?
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to hide installation folder tab in ConfigureDlg

Hello,
I am using the Professional version. Is this something that is only available in the Enterprise version?
Yes, in order to achieve this you should use an "Enterprise" or higher project type.
Is there any other way to do this?
No, unfortunately this can be achieved only in an "Enterprise" or higher project type.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
d79ima
Posts: 24
Joined: Fri Feb 08, 2013 10:28 pm

Re: How to hide installation folder tab in ConfigureDlg

Ok thanks.

I really think you should add a configuration option even for Professional version because there is really no reason to couple feature selection to installation folder selection.
Like I really don't want my customers to modify the installation folder, but do want them to be able to select different features to install, and I would hate to be forced to pay extra for the enterprise version just for this one reason.

Dmitry
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to hide installation folder tab in ConfigureDlg

Hello Dmitry,

In order to achieve what you want, using a Professional project type, you can use the following workaround:
- Go to "Dialogs" page and add "ConfigureDlg" dialog.
- Save your project.
- Close Advanced Installer.
- Open your .aip (project file) with a text editor (e.g. Notepad) and edit the following line

Code: Select all

<ROW Dialog_="ConfigureDlg" Control_="Tab" Event="SpawnDialog" Argument="FolderPage" Condition="( AiTabPage ) AND ( NOT Installed )" Ordering="1"/>
from <COMPONENT cid="caphyon.advinst.msicomp.MsiControlEventComponent"> element to something like this:

Code: Select all

<ROW Dialog_="ConfigureDlg" Control_="Tab" Event="SpawnDialog" Argument="FolderPage" Condition="( AiTabPage ) AND ( NOT Installed ) AND 1=2" Ordering="1"/>
- Start Advanced Installer, reopen your project and build it.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
d79ima
Posts: 24
Joined: Fri Feb 08, 2013 10:28 pm

Re: How to hide installation folder tab in ConfigureDlg

Thanks Daniel,

That works. Although it isn't very elegant as on the install wizard you can kind of see the folder tab flashing for a split second before it disappears.
aho
Posts: 58
Joined: Thu Jul 21, 2016 4:38 pm

Re: How to hide installation folder tab in ConfigureDlg

Daniel wrote:Hello Dmitry,

In order to achieve what you want, using a Professional project type, you can use the following workaround:
- Go to "Dialogs" page and add "ConfigureDlg" dialog.
- Save your project.
- Close Advanced Installer.
- Open your .aip (project file) with a text editor (e.g. Notepad) and edit the following line

Code: Select all

<ROW Dialog_="ConfigureDlg" Control_="Tab" Event="SpawnDialog" Argument="FolderPage" Condition="( AiTabPage ) AND ( NOT Installed )" Ordering="1"/>
from <COMPONENT cid="caphyon.advinst.msicomp.MsiControlEventComponent"> element to something like this:

Code: Select all

<ROW Dialog_="ConfigureDlg" Control_="Tab" Event="SpawnDialog" Argument="FolderPage" Condition="( AiTabPage ) AND ( NOT Installed ) AND 1=2" Ordering="1"/>
- Start Advanced Installer, reopen your project and build it.

If you have any questions let us know.

All the best,
Daniel

This works good so far, but is it possilbe to disable the white boarder of the tab? Also the tab-header "Features" is not needed.

Maybe I'm on a wrong way, but I have not found any other feature-selection dialog, which is showing child-features
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to hide installation folder tab in ConfigureDlg

Hello,

I'm afraid this is not supported. Thank you for your understanding.

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

Return to “Building Installers”