I'm creating a set up poject using VS 2010. One of the third party exe should be installed through the custom action. I have done this and works fine. But requirement is to
1) First time when MSI is installed this exe should also be installed in target machine.(Added custom action under Install)
2) When the project is uninstalled this third party exe should not be uninstalled.(So basically no uninstall custom is needed for this exe)
3) If user uninstall the application and re-install again there should be a custom actionto check if the thirt party exe is alredy installed. if not, install else dont.
How can i do this ?