Setup is more than 20 seconds not visible. - 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!

phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Setup is more than 20 seconds not visible.

Hello,
i have a setup with an exe-bootstrapper and a msi-filesize of 340MB. When i call the setup.exe it takes up to 20 seconds until the "PrepareDlg" appears. I have a strong PC (Core i7, 8GB RAM...). I have no CustomActions in the "Begin"-Sequence.

An other point are some (1 or 2) little windows at the beginning of the setup which are shortly shown before "PrepareDlg" appears. For me and my collegues it looks like the setup crashes. If one of our customers is not so patient and does not wait 20 seconds, he starts the setup again. Could it be possible to have such a splashscreen or something else, that the user is notified, that the setup is starting up and not crashes?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup is more than 20 seconds not visible.

Hello,

Does the setup contain global prerequisites? This could take time on Advanced Installer's side.

Can you please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

Meanwhile, you can also test it on other machines as well and see the behavior.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Setup is more than 20 seconds not visible.

Hi,

As Mihai suspected the setup takes that long to start because it checks for the two global prerequisites you have in it.

If the user tries to launch it again it will receive a message from us telling him the package is already running.

If you look at the long sent to us you can see that the MSI has not delay, once it is launched. However, before the MSI is launched the setup checks the global prerequisites.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Setup is more than 20 seconds not visible.

Thanks for your fast answer.
This could be a reason. But in an other setup, with the same prerequisites, it takes less time. Could it also be possible that the time depends on the msi-size?

Could you also say something about the "flashing" small dialogs on the startup ofthe setup?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup is more than 20 seconds not visible.

Hello,
This could be a reason. But in an other setup, with the same prerequisites, it takes less time. Could it also be possible that the time depends on the msi-size?
The size of the package shouldn't matter except in the case you have the "Include files in EXE" option enabled from the Bootstrapper tab in Media page.
Could you also say something about the "flashing" small dialogs on the startup ofthe setup?
I am not sure what you are referring to, can you please give us more details? Are you referring to the behavior debated in this thread?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Setup is more than 20 seconds not visible.

Hello,
I don't have a "Include files in EXE" package.

But I'm not sure if you understand the dialogs I mean. I added them as a attachment.

Let me tell you the installsequence.

--> start "setup.exe"
-->
first.png
first.png (4.94 KiB) Viewed 16165 times
appears (for less than a half second)
-->
second.png
second.png (4.6 KiB) Viewed 16165 times
appears (for less than a half second)
--> up to 20 or more seconds nothing (this is a dangerous part, because user thinks setup crashes)
--> the prepare dialog appears

My wish is:
--> start "setup.exe"
--> show immediate PrepareDlg (max. 2 seconds nothing) or a splash screen which shows the user that something happens!

Is this possible? Thank you.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup is more than 20 seconds not visible.

Hello,

The delay is from the Windows Installer process and there is nothing we can do on Advanced Installer side regarding this. The screenshot behavior is from the setup and it's a single dialog which text changes.

You can try to reinstall/repair Windows Installer on that machine and test the package on other machines. If the problem persists, please send us the package so we can replicate the behavior.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Setup is more than 20 seconds not visible.

Hello,
I tried to reinstall WindowsInstaller, but without success.

The setup-package is about 330MB big. I don't know how to send it to you. Is there a possibility?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup is more than 20 seconds not visible.

Hello,

You can upload it to an online location or use other tools like Dropbox.

If these options don't work for you, please contact us via e-mail so we can provide the ftp details to one of our servers.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup is more than 20 seconds not visible.

Hello,

After further investigation on this issue it seems the delay is caused by the time taken to check the package's digital signature. Unfortunately, there is nothing we can do to prevent this delay.

As far as the splash screen feature is concerned, I have discussed the issue with the development team and it would be very difficult to implement for this scenario.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Setup is more than 20 seconds not visible.

Hello,
thanks for the tip, but without the signatures it takes more than 8 seconds without displaying anything on the screen. Any ideas?
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Setup is more than 20 seconds not visible.

Hi,
I'm currently sending an other file to you via WeTransfer. Hope you see something. Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Setup is more than 20 seconds not visible.

Hi,

Just because the files are not digitally signed doesn't mean Windows Installer doesn't check them for a digital signature. That check takes some time. This is a Windows Installer limitation, so there's not much we can do about it.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Setup is more than 20 seconds not visible.

Hello,
Checking the prerequisites (.Net-Framework, WindowsInstaller) is also a timing problem? True?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Setup is more than 20 seconds not visible.

Hello,

This is true as I mentioned in my first reply on this thread, that time is taken before the bootstrapper starts. However, that part of the installation is executed normally in your case. The part taking a long time occurs after the global prerequisite bootstrapper dialog is closed.

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

Return to “Common Problems”