I've tried following the advice on the msdn documentation that states there are 3 different scenarios where you can schedule RemoveExistingProducts. However, my new product gets installed, and the old one remains.
I'll start with the relevant log snip. I'm not sure what I'm missing in this case... Note 1) I’m changing the INSTALLDIR to something different, but the old product should still be removed regardless from my understanding. Note 2) I’m noticing 1 sub-folder from the MSI1 INSTALLDIR is being removed, but nothing else. Note 3) The Product/@UpgradeCode is present in MSI1 MSI1 ProductCode: D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx MSI2 New ProductCode: A809C863-xxxx-xxxx-xxxx-xxxxxxxxxxxx UpgradeCode: 8EEF7548-xxxx-xxxx-xxxx-xxxxxxxxxxxx MSI2 Upgrade Tag: <!-- Upgrade Tag --> <Upgrade Id="8EEF7548-xxxx-xxxx-xxxx-xxxxxxxxxxxx"> <UpgradeVersion IgnoreRemoveFailure="no" OnlyDetect="no" Maximum="$(var.MajorVersion).$(var.MinorVersion).$(var.PointRelease)" IncludeMaximum="no" Minimum="1.0.0" IncludeMinimum="yes" Property="SECURECUSTOMPROPERTIES"/> </Upgrade> UI Sequence… MSI (c) (E4:C8) [11:50:26:020]: Doing action: FindRelatedProducts Action 11:50:26: FindRelatedProducts. Searching for related applications Action start 11:50:26: FindRelatedProducts. FindRelatedProducts: Found application: {D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx} MSI (c) (E4:C8) [11:50:26:036]: PROPERTY CHANGE: Adding SECURECUSTOMPROPERTIES property. Its value is '{D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx}'. Action ended 11:50:26: FindRelatedProducts. Return value 1. Execute Sequence… MSI (s) (B8:9C) [11:53:06:208]: Doing action: FindRelatedProducts Action 11:53:06: FindRelatedProducts. Searching for related applications Action start 11:53:06: FindRelatedProducts. MSI (s) (B8:9C) [11:53:06:208]: Skipping FindRelatedProducts action: already done on client side Action ended 11:53:06: FindRelatedProducts. Return value 0. Execute Sequence… MSI (s) (B8:9C) [11:53:09:645]: Doing action: RemoveExistingProducts Action 11:53:09: RemoveExistingProducts. Removing applications Action start 11:53:09: RemoveExistingProducts. RemoveExistingProducts: Application: {D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx}, Command line: UPGRADINGPRODUCTCODE={A809C863-xxxx-xxxx-xxxx-xxxxxxxxxxxx} CLIENTUILEVEL=0 REMOVE=ALL MSI (s) (B8:20) [11:53:09:676]: Resetting cached policy values MSI (s) (B8:20) [11:53:09:676]: Machine policy value 'Debug' is 0 MSI (s) (B8:20) [11:53:09:692]: ******* RunEngine: ******* Product: {D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx} ******* Action: ******* CommandLine: ********** MSI (s) (B8:20) [11:53:10:114]: End dialog not enabled MSI (s) (B8:20) [11:53:10:114]: Original package ==> C:\WINDOWS\Installer\c9372.msi MSI (s) (B8:20) [11:53:10:114]: Package we're running from ==> C:\WINDOWS\Installer\c9372.msi MSI (s) (B8:20) [11:53:10:145]: APPCOMPAT: looking for appcompat database entry with ProductCode '{D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx}'. MSI (s) (B8:20) [11:53:10:145]: APPCOMPAT: no matching ProductCode found in database. MSI (s) (B8:20) [11:53:10:145]: Machine policy value 'DisablePatch' is 0 MSI (s) (B8:20) [11:53:10:145]: Machine policy value 'AllowLockdownPatch' is 0 MSI (s) (B8:20) [11:53:10:145]: Machine policy value 'DisableLUAPatching' is 0 MSI (s) (B8:20) [11:53:10:145]: Machine policy value 'DisableFlyWeightPatching' is 0 MSI (s) (B8:20) [11:53:10:145]: APPCOMPAT: looking for appcompat database entry with ProductCode '{D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx}'. MSI (s) (B8:20) [11:53:10:145]: APPCOMPAT: no matching ProductCode found in database. MSI (s) (B8:20) [11:53:10:145]: Transforms are not secure. MSI (s) (B8:20) [11:53:10:145]: Command Line: UPGRADINGPRODUCTCODE={A809C863-xxxx-xxxx-xxxx-xxxxxxxxxxxx} CLIENTUILEVEL=0 REMOVE=ALL MSI (s) (B8:20) [11:53:10:145]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{DA31D4A9-xxxx-xxxx-xxxx-xxxxxxxxxxxx}'. MSI (s) (B8:20) [11:53:10:145]: Product Code passed to Engine.Initialize: '{D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx}' MSI (s) (B8:20) [11:53:10:145]: Product Code from property table before transforms: '{D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx}' MSI (s) (B8:20) [11:53:10:145]: Product Code from property table after transforms: '{D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx}' MSI (s) (B8:20) [11:53:10:145]: Product registered: entering maintenance mode MSI (s) (B8:20) [11:53:10:145]: PROPERTY CHANGE: Adding ProductState property. Its value is '5'. MSI (s) (B8:20) [11:53:10:145]: PROPERTY CHANGE: Adding ProductToBeRegistered property. Its value is '1'. MSI (s) (B8:20) [11:53:10:161]: Package name retrieved from configuration data: 'MyProduct.msi' MSI (s) (B8:20) [11:53:10:161]: Determined that existing product (either this product or the product being upgraded with a patch) is installed per-machine. MSI (s) (B8:20) [11:53:10:208]: Note: 1: 2262 2: AdminProperties 3: -2147287038 MSI (s) (B8:20) [11:53:10:208]: PROPERTY CHANGE: Modifying ALLUSERS property. Its current value is '2'. Its new value: '1'. MSI (s) (B8:20) [11:53:10:208]: Machine policy value 'DisableMsi' is 1 MSI (s) (B8:20) [11:53:10:208]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (s) (B8:20) [11:53:10:208]: User policy value 'AlwaysInstallElevated' is 0 MSI (s) (B8:20) [11:53:10:223]: Product {D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx} is admin assigned: LocalSystem owns the publish key. MSI (s) (B8:20) [11:53:10:223]: Product {D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx} is managed. MSI (s) (B8:20) [11:53:10:223]: Running product '{D6942ED5-xxxx-xxxx-xxxx-xxxxxxxxxxxx}' with elevated privileges: Product is assigned. MSI (s) (B8:20) [11:53:10:223]: PROPERTY CHANGE: Adding UPGRADINGPRODUCTCODE property. Its value is '{A809C863-xxxx-xxxx-xxxx-xxxxxxxxxxxx}}'. MSI (s) (B8:20) [11:53:10:223]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'. MSI (s) (B8:20) [11:53:10:223]: PROPERTY CHANGE: Adding REMOVE property. Its value is 'ALL'. Thanks. -- View this message in context: http://n2.nabble.com/RemoveExistingProducts-detects-previous-version%2C-but-does-not-remove-tp3459570p3459570.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users