This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Connect
- :
- FlexNet Connect Forum
- :
- Re: UPGRADINGPRODUCTCODE or Not UPGRADINGPRODUCTCODE
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 11, 2005
03:10 PM
UPGRADINGPRODUCTCODE or Not UPGRADINGPRODUCTCODE
I am doing a Major Upgrade and I am trying to stop services before InstallValidate in the ExecuteSequence. I successfully stopped the services using the "Not UPGRADINGPRODUCTCODE" condition.
According the the msdn web site (link bleow) "UPGRADINGPRODUCTCODE" should be used and I should not use negation.
Yea; yea; - I know I should be satified that it's working but this condition seems to be backwards. Any thoughts?
(link)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/upgradingproductcode.asp
kr
According the the msdn web site (link bleow) "UPGRADINGPRODUCTCODE" should be used and I should not use negation.
Yea; yea; - I know I should be satified that it's working but this condition seems to be backwards. Any thoughts?
(link)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/upgradingproductcode.asp
kr
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 14, 2005
06:01 AM
UPGRADINGPRODUCTCODE is set when your package is being uninstall as part of a Major Upgrade. It is not set in any other case. So if you want to stop a service only in case of Major Upgrade the condition should be UPGRADINGPRODUCTCODE (without Not).
Note that all of this applies to the OLD version of your setup which is being uninstalled, in other words: the new version passes UPGRADINGPRODUCTCODE to the old version when it launches it to uninstall it.
Note that all of this applies to the OLD version of your setup which is being uninstalled, in other words: the new version passes UPGRADINGPRODUCTCODE to the old version when it launches it to uninstall it.
Stefan Krueger
InstallSite.org
InstallSite.org