<ExePackage Id="VSTO2010Runtime" SourceFile="vstor_redist.exe" Compressed="yes" Permanent="yes" Vital="yes" InstallCondition="NOT VSTOR2010Installed" DetectCondition="VSTOR2010Installed" /> And define the detect condition:
It is a required to run managed code solutions (VSTO Add-ins and Document-Level customizations) built for the Microsoft Office system (2007, 2010, 2013, 2016, 2019, Office 365). visual studio tools 2010 for office runtime
This guide covers what it is, why it exists, how it works under the hood, deployment strategies, and common troubleshooting. Official Name: Microsoft Visual Studio 2010 Tools for Office Runtime Common Aliases: VSTO 4.0 Runtime, VSTO Runtime <ExePackage Id="VSTO2010Runtime" SourceFile="vstor_redist
vstor_redist.exe /q /norestart Add this package to your product.xml : why it exists