UPGRADINGPRODUCTCODE is not being set in the uninstalling setup #7087
Unanswered
maqsoodmushtaq
asked this question in
Questions
Replies: 2 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
-
From the logs, both
|
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.
-
MajorUpgrade element is scheduled after install finalize in our product's MSI:
There are some folders written by app at runtime that we want to keep on upgrade and only remove on uninstall initiated from Add/Remove programs. So we use this condition: (NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL").
I need to change the MajorUpgrade schedule from afterInstallFinalize to afterInstallInitialize for some new requirements. However when I run new MSI with afterInstallInitialize, folders written by runtime are being removed which indicates to me that the condition UPGRADINGPRODUCTCODE is not being set in the uninstalling setup.
Any comments to explain/debug this will be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions