emrexdx
Posts: 7
Joined: Thu Dec 05, 2019 9:31 am

Insert delay while installing files

Thu Dec 05, 2019 9:35 am

Hello,
I want to insert delay while setup installing. I want to see gif file 30 seconds. I can see gif file but setup install is very quick. I want to see 30 seconds gif file.
Thanks.

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Insert delay while installing files

Thu Dec 05, 2019 10:54 am

Hello and welcome to our forums,

From what I understand, you have a .GIF file on your "ProgressDlg" dialog and you want to stop the installation for few seconds so the gif can be seen.

This can be done through a custom action. For instance, you can have a script which will delay the installation.

You can, for example, create a PowerShell script which will do that and add it in your project as a "Run Inlinle PowerShell script" custom action.

The PowerShell script that will stop your installation can look like this:

Code: Select all

Start-Sleep -Seconds 30
The custom action should be added with sequence (by pressing the "Add custom action with sequence" button which is placed to the right side of the custom action's name) and should be scheduled in the "Install Execution Stage", before the "Searches" action group.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

emrexdx
Posts: 7
Joined: Thu Dec 05, 2019 9:31 am

Re: Insert delay while installing files

Thu Dec 05, 2019 8:51 pm

Thank you very much. Works fine!

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Insert delay while installing files

Fri Dec 06, 2019 9:42 am

You are always welcome!

Glad I could help.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”