Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 376785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:37:58+00:00 2026-05-12T14:37:58+00:00

We use Wix to build an installer for our .NET application and are just

  • 0

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.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T14:37:59+00:00Added an answer on May 12, 2026 at 2:37 pm

    I was not aware that NGen provided a feedback mechanism such that progress could be reported file by file (or otherwise). Even if it did, the fact that the Windows Installer commits assemblies to the GAC during InstallFinalize means there is no opportunity for a CustomAction (like the WiX NGen CustomAction) to send progress. Essentially the progress bar is already “100%” (although progress bars in Windows Installer are anything but exact).

    So, ultimately, I think the answer is this is a great feature request for the WiX NGen CustomActions but I’m not sure its possible to fulfill.

    [Update]: Silly, me I suppose I should look at the code first. Progress messages are sent although the file name is not posted via ActionText. That seems like a reasonable thing to request. However, what I said above probably still applies for assemblies that are GAC’d.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to have our WiX installer that is currently building on a build
We just migrated our installer from WiX 2.x to WiX 3.6 and started using
I am just starting to use Wix and would like to use heat to
I've built an installer with WIX and have packaged it with the .NET 4.0
I'm creating an installer for my application using WIX. Everything works fine so far.
I'm using MSBuild to customize the build process of Visual Studio, WiX, SandCastle, ...
I have started to use WIX to deploy a WPF application. I have created
I have a current build process which does a .NET build using MSBuild and
Generally when I use ClickOnce when I build a VB.NET program but it has
This is my first time attempting to use Windows Installer to build a setup

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.