Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to complete uninstall and Reinstall for .MSI Updates #625

Open
fsbflavio opened this issue Jun 24, 2023 · 3 comments
Open

Ability to complete uninstall and Reinstall for .MSI Updates #625

fsbflavio opened this issue Jun 24, 2023 · 3 comments

Comments

@fsbflavio
Copy link

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.

@ravibpatel
Copy link
Owner

You can add args element to XML to provide arguments to your MSI installer for this.

<args>Your installer command line arguments</args>

@fsbflavio
Copy link
Author

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.

@foxi69
Copy link

foxi69 commented Dec 18, 2023

Yes, it would be very good if it remove the existing version before updating, if this is possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants