how to skip the SetupTypeDlg and always show the CustomizeDl - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ChrisGue
Posts: 116
Joined: Tue Feb 03, 2009 7:26 pm

how to skip the SetupTypeDlg and always show the CustomizeDl

I use the enterprise edition of AI to modify the dialogs.
I have several features, so the user can select them in the Customize Dialog.
But before that always the SetupType Dialog is shown, (which I find not user friendly)

I want that the SetupType Dialog is not show but always the Customize Dialog.
Is there a way to do that?

Thank you,
Chris
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: how to skip the SetupTypeDlg and always show the CustomizeDl

Hello,

What you need is to skip the SetupType dialog and jump directly on the CustomizeDlg. Perhaps our comprehensive tutorial on "Conditionally displaying an install dialog" might help you understand how to achieve this. The tutorial illustrates the same basic principle.
You can also check out the WhiteWizTheme sample project

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
ChrisGue
Posts: 116
Joined: Tue Feb 03, 2009 7:26 pm

Re: how to skip the SetupTypeDlg and always show the CustomizeDl

thanks for you answer.

So, it seems I must modify the argument of the 'publish event' for the 'Next' button in the dialog 'license agreement' from 'SetupTypeDlg' to 'CustomizeDlg'.
But I cannot modify that (predefined) publish event'.
I can add a new 'publish event' with 'NewDialog' and 'CustomizeDlg' as argument, but then I have 2 'NewDialog' events what makes no sense and might cause conflicts.

How to solve this?

Thank you
Chris
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: how to skip the SetupTypeDlg and always show the CustomizeDl

Hi,

You can simply set the condition for the predefined event to 0 so it will never execute, then add your NewDialog event.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”