We use Wix to build an installer for our .NET application and are just in the process of porting to Wix 3.0.
Our application includes several .NET assemblies (as is the way with .NET applications) and the final installer step is to ngen these. This is important as our application takes about twice as long to startup with non-ngen'ed assemblies.
Unfortunately the ngening step takes several minutes and we would like to give users some visual feedback that the installer is still working (at least one user thought the installer had crashed!). We don't want to just move the ngening into the background as that makes the initial user experience much worse - our application will be very slow to start.
What we would like to do is to ngen the assemblies individually and report to the user in the installer (via a message and the progress bar) as each one completes. Whilst getting Wix to do the ngening is easy, and moving it onto the background would be easy, we can't see a straightforward way to achieve what we want. Any good ideas or techniques?
(Our application is compatible with .NET 2.0 SP1, so we don't want to depend on anything in .NET 3+ to achieve this.)