wix msi install: registry is removed on upgrade if removeexistingproducts is scheduled after installFinalize -


hi trying incremental upgrade ( modified files updated) meaning scheduling removeexistingproducts after installfinalize goes fine till end when registry keys gone. clueless might cause registry wiped out? if removeexistingproducts scheduled before installinitialize registry keys there.

thank time,

regards

konstantin

this can happen if there violation of windows installer component rules. might happening that, registry keys being created in same place have different component guids in both of base upgraded installer. in such case, components not reference counted correctly , hence, registry keys removed when older product uninstalled part of major upgrade using removeexisintproducts.

do components create registry entries have different component guid's between both versions of installers (i.e base version upgraded version). if so, have make sure have same component guid's associated them.

open both of msi packages using orca , observe component guid's these registry keys. if different, make sure make them consistent in both packages.

hope helps.

there article give better understanding of have told.

take at:

http://blogs.msdn.com/b/heaths/archive/2010/04/09/major-upgrades-with-shared-components.aspx


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -