KorksKill
Posts: 9
Joined: Sat Jul 28, 2012 11:42 am

Disable PrepareDlg

is possible disable the "PrepareDlg"?

I created the Splash Screen in another program, but when it starts, PrepareDlg is behind it, is possible disable it? or make a splash screen before starting?
Note: The Splash Screen is in exe format
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Disable PrepareDlg

Hi,

You cannot disable "PrepareDlg" when running with full UI. What you can try is to schedule your custom action, i.e the splash screen, as "Synchrounous execution, wait for return code" and the first one in th e sequence of actions from Custom Actions page. This way the installer should wait for your EXE to close before continuing.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
KorksKill
Posts: 9
Joined: Sat Jul 28, 2012 11:42 am

Re: Disable PrepareDlg

the program has no "Synchrounous execution, wait for return code" it has "Asynchronous execution, wait for return code at the end of sequence"
But now I'm confused.
I would like you to explain to me again, and more detail if possible.
Thanks.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Disable PrepareDlg

Hello,
I would like you to explain to me again, and more detail if possible.
The difference between "Synchronous execution, wait for return code" and "Asynchronous execution, wait for return code at the end of sequence" is described in the following article:
Custom Action Properties

You have a couple of solutions regarding this you can try with full UI:
1.
- add your splash screen custom action and set it with "Synchronous execution, wait for return code"
- condition PrepareDlg from the Custom Actions page so it can be skipped

2.
- add your splash screen custom action and set it with "Asynchronous execution, wait for return code at the end of sequence"
- add another custom action that stops the splash screen before WelcomeDlg standard action set with "Synchronous execution, wait for return code"
The second custom action avoids showing the splash screen during WelcomeDlg.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Athcb
Posts: 1
Joined: Mon Oct 28, 2013 3:20 pm

Re: Disable PrepareDlg

Hello,

From Table Editor in the left panel, in the table dialog deletes the dialog that you want to disable.

Sorry for my bad English.

Redgas.

Guillermo
Attachments
1.jpg
1.jpg (116.67 KiB) Viewed 5090 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Disable PrepareDlg

Hi Guillermo and welcome to Advanced Installer forums,

I don't understand what you mean, if this is a bug report, please give me a step by step test case leading to the behavior.

To delete a dialog you can do so from the Dialogs page. However, PrepareDlg cannot be deleted, it is a mandatory dialog.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”