Need to check for .NET 4.8 and VSTO installation in a deploy package

I am trying to push out an Excel Add-in .msi, but it has a prereq of .NET 4.8 and VSTO. How can I check to see if they are already installed  and just skip that step if they are? I am seeing registry settings but can't pinpoint one I am looking for?

0

Comments

2 comments
Date Votes
  • For .Net, you can see this through PDQ Inventory via the collection: Collection Library > Runtimes > Microsoft .NET > Microsoft .NET (Latest). This will show you all computers that have .NET 4.8 or higher.

    I believe you can also look at these registry key properties for Version. Although not sure what the difference between them is:
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\1033
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client\1033

    You can also look to see if the Windows feature ".NET Framework 4.8 Advanced Services" is enabled. You can do this via Inventory as well or PowerShell.

     

    Not sure about VTSO.

    0
  • Thank you. That solved the .Net issue.

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post