Hi,

We have a WiX installer that ngens dlls using priority 0 (immediate 
ngen). We use priority 0 because the start-up time of our product 
increases with non-ngened assemblies and we'd like to make a good first 
impression. When the installer does the ngenning, it stops with the 
message "Removing backup files". We'd like to change the message to 
something like "Optimizing performance. This may take a few minutes". We 
have tried including the following in our UI:
<ProgressText 
Action="NetFxExecuteNativeImageCommitInstall">NetFxExecuteNativeImageCommitInstall</ProgressText>
<ProgressText 
Action="NetFxExecuteNativeImageInstall">NetFxExecuteNativeImageInstall</ProgressText>
<ProgressText 
Action="NetFxScheduleNativeImage">NetFxScheduleNativeImage</ProgressText>
<ProgressText Action="NetFxNativeImage">NetFxNativeImage</ProgressText>
<ProgressText 
Action="NetFxExecuteNativeImageCommitUninstall">NetFxExecuteNativeImageCommitUninstall</ProgressText>
<ProgressText 
Action="NetFxExecuteNativeImageUninstall">NetFxExecuteNativeImageUninstall</ProgressText>

and we do see some of these flash by, but the long pause at the end of 
"Removing backup files" remains. We can see that this is because of ngen 
because TaskManager shows ngen doing a lot of work during this period.

Is there any way that we can do this?

Thanks
Glenn

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to