Replies: 11 comments 21 replies
-
I think you'd have to set Permanent="yes" attribute on your MsiPackage in your bundle. This would prevent it being uninstalled in an upgrade and uninstall scenario though. |
Beta Was this translation helpful? Give feedback.
-
Logs will likely be instructive. |
Beta Was this translation helpful? Give feedback.
-
I'm going to guess that this is somehow related to the change in the default package dependency key (where v3 burn appears to be uninstalling packages even though v4 burn registered dependencies on them). |
Beta Was this translation helpful? Give feedback.
-
quick update about the extra confusion, turns out I was a dum dum |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
It might have looked me in the eyes all along now my question is. How do I make it drop the "_v24.1.000"? I have looked at the Provides element but I dont know how I can bind it to the ProductCode of the msi package |
Beta Was this translation helpful? Give feedback.
-
I managed to drop the "_v24.1.000" by temporarily writing the key to a Provides element, but it still did not change anything. Does anyone know what changed between v3 and v4? I am seriously at wits end |
Beta Was this translation helpful? Give feedback.
-
What we really need to see are the logs that would (might?) have been generated by the wix3 bundle that was being uninstalled. Especially comparing it to the previous wix3 bundle that was uninstalled by that wix3 bundle. Not to say that the bug is in wix3, but to see why it's responding differently. I honestly don't know if those logs were generated or not, but if they were, they were probably placed either in the same directory as the logs you shared or in/under %TMP%. |
Beta Was this translation helpful? Give feedback.
-
Hello again |
Beta Was this translation helpful? Give feedback.
-
@tm-nti , @BMurri What does happen is:
Now what is very strange:
It looks to be the issue only during the Wix3 -> Wix5 (and I assume Wix4) upgrade. |
Beta Was this translation helpful? Give feedback.
-
The problem sound very much like this issue: #7778 |
Beta Was this translation helpful? Give feedback.
-
I am very unsure about this question as I have no idea what is happening
The problem is upgrading from wix v3 created bundle to wix v4 created bundle
When trying to upgrade a bundle "2024.0.000" (made with wix v3) with bundle "2024.0.001" (made with wix4) all the unchanged msi packages are uninstalled (during the BA Previous Versions stage thing)
Now some of these msi packages are third party so we cannot change their version
The problem only happens on upgrade. Running "Repair" afterwards does install the msi correctly or "uninstall/reinstall" also works correctly
Our Product Owner requires upgrade to work, otherwise I have to go back to wix 3 (I wanna stay, dont make me go back)
Has anyone had any similar experience and/or fixes to this problem?
Now to make it more confusingI have tested this problem and can only make it happen on our "2024" major version. "2023" works fine, but they use the same wix bundle project, the only difference is the version and upgrade codeOther people on the team have had this issue happen on the "2023" versionLogs:
First install, wix v3: out000.log,
First upgrade, also wix v3: out002.log
Second Upgrade, wix v4: out003.log
Beta Was this translation helpful? Give feedback.
All reactions