I want to run a powershell script prior to the running the installer, so that it can uninstall the previous version of the application IF it was installed with ClickOnce. If the ClickOnce uninstall was unsuccessful, I want to cancel the install of the MSI. Reading your documentation, and forum posts...