Hello, While doing a major upgrade, one of my components get removed when it's not supposed to. It is the same component as the version before, nothing has changed for that. I schedule the major upgrade at "afterInstallExecuteAgain" I'm wondering why the component gets removed when the installer is finished. The following are snips of the log since i have verbose on.
It detects it's a upgrade MSI (c) (D0:3C) [08:15:28:166]: PROPERTY CHANGE: Adding WIX_UPGRADE_DETECTED property. Then at the InstallValidate stage ... MSI (s) (58:3C) [08:15:54:725]: Component: cmpC7D2E654D5BE488B8BEB81FCC87F8638; Installed: Absent; Request: Local; Action: Local; Client State: Unknown ... MSI (s) (58:3C) [08:15:54:725]: Component: __cmpC7D2E654D5BE488B8BEB81FCC87F863865; Installed: Null; Request: Local; Action: Local; Client State: Null InstallExecuteAgain stage ProcessComponents. Updating component registration MSI (s) (58:3C) [08:16:15:598]: Executing op: ComponentRegister(ComponentId={C7D2E654-D5BE-488B-8BEB-81FCC87F8638},KeyPath=02:\Software\Microsoft\Windows\CurrentVersion\Run\ProductX,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0) 1: {19A2103A-A588-421C-B4CD-30E02FA401A3} 2: {C7D2E654-D5BE-488B-8BEB-81FCC87F8638} 3: 02:\Software\Microsoft\Windows\CurrentVersion\Run\ProductX At the CostFinalize stage MSI (s) (58:04) [08:16:21:432]: Disallowing uninstallation of component: {C7D2E654-D5BE-488B-8BEB-81FCC87F8638} since another client exists InstallInitialize stage Action 8:16:21: ProcessComponents. Updating component registration MSI (s) (58:04) [08:16:21:885]: Executing op: UnregisterSharedComponentProvider(Component={C7D2E654-D5BE-488B-8BEB-81FCC87F8638},ProductCode={BC682D66-153E-44E2-BEF5-9E0DC3D652DB}) MSI (s) (58:04) [08:16:21:885]: Executing op: ComponentUnregister(ComponentId={C7D2E654-D5BE-488B-8BEB-81FCC87F8638},,BinaryType=0,PreviouslyPinned=1) 1: {BC682D66-153E-44E2-BEF5-9E0DC3D652DB} 2: {C7D2E654-D5BE-488B-8BEB-81FCC87F8638} So this is the end of the related logs, and I didn't see any return value 2 or 3 in the log. Thank you in advance. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Component-being-removed-on-upgrade-while-log-says-disallowing-uninstallation-tp7580005.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users