The installer only needs to show the license dialog? - Advanced Installer Community
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

The installer only needs to show the license dialog?

Hello,

Is there way to only show the license agreement dialog and make the rest silent? I mean when the installer is opened, it only needs to show the license agreement dialog. Once the user agrees, it should start the installation without showing anymore dialogs. Is that possible?

:?:
K
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: The installer only needs to show the license dialog?

Hello,

Since a silent installation is performed that means there is no user interaction, so you cannot display the LicenseAgreementDlg predefined dialog.

In order to display a dialog like that you can create you own dialog and launch it through a custom action in the Custom Actions page.
Please note that when a silent installation is performed, only the actions from the Install Execution Stage are executed.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: The installer only needs to show the license dialog?

Hello,

Thanks for your reply. I figured out a way to do this. But need more help from you. What I did was create a new installer project which does not get registered (option unchecked at Product Details). This will run the silent installer as a custom action. This installer shows the LicenseAgreementDlg dialog. I have made it to only show that dialog instead of Welcome dialog, etc using the information on another post which in this link.

It shows the LicenseAgreementDlg dialog as the first dialog and when the user clicks the Next button it runs the custom action which will run the silent installer. I removed the event which goes to the Progress dialog by using the control event Close the current dialog > Exit. However, this goes to the Finish dialog even thought it is running the silent installer via the custom action executed.

What I want to know is when the user clicks the Next button in the LicenseAgreementDlg dialog it needs to close the installer and run the silent installer. I mean this installer does not needs to wait until the silent installer to be closed and it also needs to close this installer instead of going to the Finish dialog.

:?:
K
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: The installer only needs to show the license dialog?

Hello,
What I want to know is when the user clicks the Next button in the LicenseAgreementDlg dialog it needs to close the installer and run the silent installer.
Can you please try to go in the InstallUISequence table from the Table Editor page and set a false condition in the Condition field for the ExitDialog and ProgressDlg actions (e.g. 1 = 2)?

Let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: The installer only needs to show the license dialog?

Hello,
Can you please try to go in the InstallUISequence table from the Table Editor page and set a false condition in the Condition field for the ExitDialog and ProgressDlg actions (e.g. 1 = 2)
Thanks it worked. I also had to make the UserExit to 1 = 2.

:D
K
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: The installer only needs to show the license dialog?

You're welcome,

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”