• 0

[C#] How to detect if wic is installed


Question

I need to look for a registry key or file to check to see if the windows imaging component is installed b/c for some reason the .net framework 4 fails to install if people don't have this.

I can't seem to find a registry key or file that ties to it. Does anyone know what it might be?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

It is not. If it's not there, no WIC.

XP SP3 and up have WIC bundled (except FLP/POS/XP x64) though, and .NET 4 requires SP3, so the question seems a bit strange.

Link to comment
Share on other sites

  • 0

I wasn't sure if anyone ever got the answer for this, and it's something I've run up against recently, so I thought I'd offer a solution, at least for Windows 2003.  The key for Windows Imaging Component is "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Imaging Component."  The value is "InstalledVersion."  You should have a version number there, like 3.0.0.0.  I hope this helps someone that may be stuck in a similar situation.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.