Ability to complete uninstall and Reinstall for .MSI Updates
Feature Add support for complete uninstallation and reinstallation using .MSI files. Currently, the package only updates DLLs, which can lead to issues with outdated files.
Problem The current approach requires changing all .dll file versions for a proper update, leading to issues with outdated DLL files.
Suggested Implementation: Include update mode configurations in the xml file, such as 'Reinstall' and 'Remove and Install,' to provide options for performing a complete uninstallation and reinstallation.
You can add args element to XML to provide arguments to your MSI installer for this.
<args>Your installer command line arguments</args>
There is no single command that accomplishes that. You will need to use separate commands to achieve the desired outcome. Here is an example:
msiexec.exe /x {ProductCode} /qn msiexec.exe /i "C:\NewVersion.msi" /qn
To remove all the program and then install the new version.
Yes, it would be very good if it remove the existing version before updating, if this is possible