Installer that checks the office applications

Add-in Express™ Support Service
That's what is more important than anything else

Installer that checks the office applications


Is it possible to create a VS.Net setup project that will check if a given office application exists on the target machine during the installation process? (and, of course, will refuse to install if not found)

If not, is there a good 3rd party installation package tools that will allow me to build such packs? I heard that .Net is quite problematic about it.

Thanks in advance,
Posted 10 Nov, 2005 15:02:00 Top
Sergey Grischenko

Add-in Express team

Posts: 7224
Joined: 2004-07-05
Hi Serhat.

Yes, it is possible. You just need to create a new 'Search Target Machine' item in the Launch Conditions Editor of the setup project.
Then set the Root, RegKey and Value properties of this item and add it as a Condition parameter to the Launch Conditions folder of the same editor.
E.g. if you want to check the Excel installation you can set the following parameters in the 'Search Target Machine' item:
Root = vsdrrHKCR
RegKey = Excel.Application.11\CLSID
Value = <this value is blank because we check the default value of the key>

You can find more detailed information in Help of VS.
Posted 11 Nov, 2005 06:19:28 Top