Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

NET Framework and ServicePacks


4 replies to this topic

Torben

Torben
  • Full Members
  • 68 posts

Posted 09 December 2008 - 16:55

Hi,

how is the best way to find out which NET frameworks AND servicepacks from the frameworks are installed, without checking each possible registry key? We are searching for a performant and easy way.

We are using WISE 7.0.

Thank you very much,
Torben


VBScab

VBScab
  • Full Members
  • 436 posts

Posted 10 December 2008 - 09:44

Off the top of my head...a script which uses the Windows.Installer object to interrogate .ProductState for a list of Product Codes? Or perhaps WMI to enum Win32_Products? In either case, check the product name for ".Net Framework"?
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.

akerl

akerl
  • Full Members
  • 104 posts

Posted 10 December 2008 - 14:57

The other option is to use WIX. WiX has an implementation to get all information in a simple way (http://wix.sourceforge.net/).

Andreas Kerl

Inside Windows Installer 4.5
ISBN 3-86645-431-7


Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 10 December 2008 - 19:16

Aaron Stebner covers this kind of issues in his blog, for instance an article about detecting the presence of .NET 2.0 sp 2:
http://blogs.msdn.co...11/9061169.aspx

Torben

Torben
  • Full Members
  • 68 posts

Posted 11 December 2008 - 13:32

Thank all of you very much for your replies :-)

Best wishes,
Torben