I second looking in the log for the FindRelatedProducts action.

I had a similar problem recently and it came down to the ALLUSERS
property not being set correctly prior to the call to
FindRelatedProducts. The search found the previous per-machine install
but didn't do anything with it because it was looking for a per-user
version.

I was setting ALLUSERS to 1 (per-machine) in a dialog [based on code
dark'ed from a Visual Studio created installer] which was called long
after FindRelatedProducts was executed. Since ALLUSERS was not set,
FindRelatedProducts was looking for per-user versions of the product.
The log noted that a per-machine version had been found, but that it was
being ignored. Since all of my installations are per-machine, adding a
<Property> element setting ALLUSERS fixed my problem.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil
Wilson
Sent: Monday, June 12, 2006 8:28 AM
To: [email protected]
Subject: Re: [WiX-users] Why doesn't Windows Installer remove the
oldversion in an upgrade?

Have you looked the log entries for FindRelatedProducts? They should say
something about whether it found the previous version. 
Phil Wilson 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Sunday, June 11, 2006 8:19 PM
To: dangle123 ...
Cc: [email protected]
Subject: Re: [WiX-users] Why doesn't Windows Installer remove the old
version in an upgrade?

dangle123 ... wrote:
> Action ended 15:21:09: InstallFinalize. Return value 1.
> MSI (s) (38:1C) [15:21:09:832]: Doing action: RemoveExistingProducts 
> Action start 15:21:09: RemoveExistingProducts.
> Action ended 15:21:09: RemoveExistingProducts. Return value 1.
> Action ended 15:21:09: INSTALL. Return value 1.
>   
I'd expect to see more details in a verbose log. What you're looking for
is the details around InstallValidate that indicate the action states
for the product's components. What happens if you move
RemoveExistingProducts to between InstallValidate and InstallInitialize?

--
sig://boB
http://bobs.org



_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users



_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users


_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to