I have been trying to find a solution to run the whole Uninstall phase before the Installation even begins. To be used for software which with new updates don’t update existing installations but instead create new ones.
I was trying to run the Deploy-Application.exe or invoke command deploy-application.ps1 but there doesn’t seem to be any variable for where Deploy-Application.exe is located.
Obviously my workaround is to copy everything from Uninstall Phase, but I wouldn’t say it looks pretty.
Thanks for any help.