I’m writing an add-in for an existing program that will already be installed on the user’s computer. How can I configure my Visual Studio setup project so that it checks to see if the existing program is already running and then prompts the user to close it if it is already running? That way it will prevent them from copying over the old version of the program that is already running.
Share
Windows Installer already does this for you. If it determines that that a process should be closed it pops out MsiRMFilesInUse dialog.