Is there a way to skip base package repair or uninstall for a bundle? #7415
Unanswered
RoyZhang2022
asked this question in
Questions
Replies: 2 comments 2 replies
-
Look in the Bundle log file. It'll show you exactly what is being planned. Also, ensure your |
Beta Was this translation helpful? Give feedback.
0 replies
-
I got this from the bundle log. After our application package was uninstalled at 16:37:05, I selected "Close" for C++ redistributed package. Seems the "Close" returns an error value which triggers the rollback. Is there a way that "Close" returns success?
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have an installer which is made by Wix bundle. That is the installer is a composition of two packages. Our application package A and the base package Windows C++ redistributed package, VC_redist.x64.exe. It has no problem for installation. But for uninstallation it is not perfect. The problem is when we start uninstallation, the GUI is like this. We could select "Repair", "Uninstall" or "Close". After "Uninstall" is clicked, our package A is uninstalled firstly.
Then we see this GUI for the based C++ redistributed package as the following snapshot. It provides 3 options, "Repair", "Uninstall" or "Close". If "Repair" is selected, the C++ redistributed package will be reinstalled. If "Uninstall" is selected, the C++ redistributed package will be removed. If "Close" is selected, the whole uninstallation process will be rolled back. So there is no way to only uninstallation of our application package A and keeping the C++ redistributed package untouched without reinstallation.
Our code is like this. Currently we could not figure out a way to keep the based C++ redistributed package untouched without reinstallation. Is this a Wix limitation or there is a way that we do not know? Anyone could help? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions