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!

ucramos
Posts: 16
Joined: Wed Jan 15, 2014 9:57 pm

Long waiting time before ProgressDlg on update

I have a installer with only checklists.
If i ran it on a first install, after the config dialogs, the installer will start to install immediately.

However, if i´m doing a update, after all the config dialogs, the installer will "freeze" for a long time after clicking NEXt on the VerifyReadyDlg.
(Its not really a freeze because i can hear the disk accessing like crazy)

After some time, the installer "unfreezes" and goes to the ProgressDlg and will start the install.

What is the installer doing? is it possible to skip this"freeze"?
The installer is a webinstaller, has about 40 cabs and 45k files. Of these, 44,5k are small PNG files.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Long waiting time before ProgressDlg on update

Hello,

I'm not sure why this happens. Can you replicate this on multiple machines? If so, can you please send us the .AIP (project file) and a verbose log of the updates installation to support at advancedinstaller dot com so we can investigate its settings?

Also, it would be very useful if you can send us a download link for your setup packages (old and new version) and a test case which we can follow in order to replicate the behavior.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ucramos
Posts: 16
Joined: Wed Jan 15, 2014 9:57 pm

Re: Long waiting time before ProgressDlg on update

I have found the problem.
I used the Modern, Nature Rebirth as template.
On the Published Events of "Next" button, on the VerifyReadyDlg i had this:

Display a specific child dialog ; OutOfRbDiskDlg ; OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)
Enable/disable installation rollback ; False ; OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"
Display a specific child dialog ; OutOfDiskDlg ; (OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")
Display a specific child dialog ; WaitingForCostingDlg ; AI_INSTALL
Close the current dialog ; Return ; AI_INSTALL

I deleted the first 3 lines and now i have this
Display a specific child dialog ; WaitingForCostingDlg ; AI_INSTALL
Close the current dialog ; Return ; AI_INSTALL

Now the installer starts immediately. I´m not sure if anything that i deleted is really necessary, but the install runs just fine.
I had no problems with it.

Why are those command causing that 10 minute delay, with constant hard drive activity?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Long waiting time before ProgressDlg on update

Hello,

The above control events are used to execute costing operations (to detect if the required disk space of your setup package is available on target machine) and, based on the result display or not the out of disk space dialogs (on this dialogs the user can pick up another installation path). Indeed, this costing operations can take some time when your setup package contains a large number of files.

If you delete the above control events, then when there is not enough disk space on target machine the installation will fail.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”