When try installing our package, if old version already exists in the application folder, an error occur. In this case, we uninstall it from Windows and install new package. I want to delete existing package before we install new package. I want to do this from PowerShell script.
I want to do this from the PowerShell Script.
I've looked into the PowerShell Automation document but couldn't figure out how to do in PowerShell script.
I want to remove a file when install package.
This is done from the following GUI like attached the attached image.
However I need powershell script because I make package from Bamboo.
Can anybody let me know how to do this?