NGen Status - 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!

tpatke
Posts: 24
Joined: Tue Nov 23, 2010 7:04 am

NGen Status

Hi,

I would like to NGen my .Net files before the installation completes. Because of this, I have set the Ngen priority to "Wait for this native image generation to continue". Everything is working fine, except...

When the user runs the install the process is stuck for several minutes on the "ProgressDlg". The dialog shows the status as 100% complete even though lots of processing remains. This is a bad user experience and I worry that some users will see it as a bug and cancel the installation.

How should I proceed? I would prefer another dialog step which details the NGen process. Short of this, even just resetting the status on the "ProgressDlg" back to 0 and starting again with the number of files to ngen / number completed.

Thanks in advance - still loving the product!

Toby
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: NGen Status

Hi Toby,

Unfortunately this action cannot be estimated nor can it return any progress bits, this is why you are getting this behavior.

As an alternative, you can try to enable the Enhanced UI from the Themes page, Settings tab and set the "Indeterminate" attribute of the ProgressBar control to "True" from the Dialogs page, ProgressDlg. This way the entire installation progress will be indeterminate.

Another solution would be to display an incomplete progress( 90 % ) during the generation of native image. In this case you should a custom action to your project. Please let us know if you are interested.

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

Return to “Common Problems”