That means it didn't find the previous version for some reason otherwise it 
would mention the ProductCode guid of the discovered product. What's actually 
in the Upgrade table in the MSI file? I'm wondering if the version range is 
really correct. 

That location for REP is more efficient because the file replacement rules are 
such that you have many files that aren't going to be updated. If a lot are 
going to be updated anyway the efficiency decreases. However it's not a safe 
location because of the rollback issue. There is a similar efficient location 
(assuming efficiency is valued more than safety ;=) ) which is directly before 
InstallFinalize using  [InstallExecute, RemovePreviousVersions, InstallFinalize 
], which is what the 3rd bullet is saying - the rollback of the new install 
means the new product won't be installed, and the older product uninstall is 
rolled back leaving it installed, so you're back where you started. 

Phil Wilson 


-----Original Message-----
From: Chuck [mailto:electroch...@att.net] 
Sent: Wednesday, May 13, 2009 12:37 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Two Entries in Add or Remove Programs

Wilson, Phil wrote:
> Get an MSI log to see what's going on. Look at all instances of
> FindRelatedProducts to see if it's detecting your older product.

There are two sections of FindRelatedProducts in the log for the 1.1 version 
upgrade installation.

MSI (c) (28:8C) [18:56:27:953]: Doing action: FindRelatedProducts
MSI (c) (28:8C) [18:56:27:968]: Note: 1: 2205 2:  3: ActionText
Action 18:56:27: FindRelatedProducts. Searching for related applications
Action start 18:56:27: FindRelatedProducts.
Action ended 18:56:27: FindRelatedProducts. Return value 1.

and

MSI (s) (C8:34) [18:56:32:968]: Doing action: FindRelatedProducts
MSI (s) (C8:34) [18:56:32:984]: Note: 1: 2205 2:  3: ActionText
Action 18:56:32: FindRelatedProducts. Searching for related applications
Action start 18:56:32: FindRelatedProducts.
MSI (s) (C8:34) [18:56:32:984]: Skipping FindRelatedProducts action: already 
done on client side
Action ended 18:56:32: FindRelatedProducts. Return value 0.

Does that look right?

> Why is REP after InstallFinalize?

I was following the recommendation in the fourth bullet point of the 
Sequence Restrictions section of 
http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx. I've tried the 
other possibilities too. I still end up with two entries in the Add or 
Remove Programs table.

-- 
Charles


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to