Hey Friedrich, been a while! I'm working on an installer for an open source project I'm involved in and have a few questions on how to accomplish a few things.

1) I need to check the availability of ports prior to actual install, and if they are NOT available (already in use) I want to pop up a dialog to inform the end user and have them choose to continue or abort. Is this doable?

2) When uninstalling I need to run a specific batch file BEFORE the actual uninstall process starts, to make sure all services for the software are shut down before uninstall to make sure there are no issues. I'm not sure how/where to run this script before the uninstall happens, so if the user clicks "uninstall app xxx" it launches the script first, waits for it to exit, and then runs the actual uninstall.exe


Kevin Bednar