![]() ![]() HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4R (32-bit, VSTO installed from redistributable).HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4 (32-bit, VSTO installed from Office 2010 installation).Unfortunately, the VSTO runtime version can appear in any one of 4 registry locations: So going by the registry is probably the only option left. However I'd say this directory is not guaranteed - the actual directory appears to be specified in the registry, but obviously this solution is now no better than just getting the version from the registry directly. This suggests that Microsoft isn't necessarily keeping them stable, so I'd suggest this is not a good option.Īnother option may be to check for the presence / version of the VSTO assemblies themselves, which may typically be in %PROGRAM FILES%\Common Files\Microsoft Shared\VSTO\10.0. ![]() Though the product code is in theory only supposed to change for major version increments, the version of VSTO on my machine - 3 - has a product code of. This does not appear to be reliable - we're looking for a minimum version, not a specific version. ![]() Unfortunately the answers here so far do not quite cover all the bases. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |