How to detect if a program is already installed

Got a problem you cannot solve? Try here.
Post Reply
CF900
Posts: 11
Joined: Wed Feb 18, 2009 3:54 pm

How to detect if a program is already installed

Post by CF900 »

Hello,

I have addtional msi files tied to my installer that are set to launch sometime during the installation process. I would like to be able to detect if these extra programs are already installed on a user's computer before they are launched and if they are to skip execution of the addtional msi files. What is the best way to determine if these addtional programs already present on a user's computer through InstallAware?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

You can look at how this is done using the uninstall code that is generated as part of most InstallAware setups. Look at the functions Is MSI Setup Installed and (Un)Install MSI Setup.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply