I don't quite parse that first sentence but if the Component wasn't installed 
then I wouldn't expect to see the Property set.  Thus the behavior you are 
seeing may be expected sense.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Poulson
Sent: Thursday, February 22, 2007 4:56 PM
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Detecting previously installed compoents on major 
upgrade

It appears that because the keypath is a reg value and cannot be found it is 
not creating the key.

All other properties in the log show something like
PROPERTY CHANGE: Adding ASSOCIATION property. Its value is ...

But the property I want for the ComponentSearch does not have such a line in 
the log.


On 2/22/07, Rob Mensching <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:

ComponentSearch returns the KeyPath of the Component if it was installed.  
Otherwise, IIRC, the Property will be left blank.



From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Mike Poulson
Sent: Thursday, February 22, 2007 4:36 PM
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>
Subject: Re: [WiX-users] Detecting previously installed compoents on major 
upgrade



The issue I found with that is it is returning the key path of a HKCR value 
that I set in this component.  Then msiexec is returning

Info 1314. The specified path '00:\<REG VALUE>' is unavailable.  Then the 
property seems to be created.



My component ONLY set file association keys

So my goal is to determine if the association is already set or not.



Thoughts?



On 2/22/07, Rob Mensching <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:

ComponentSearch element?



From: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> [mailto:[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Mike Poulson
Sent: Thursday, February 22, 2007 1:51 PM
To: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>
Subject: [WiX-users] Detecting previously installed compoents on major upgrade



Is there a way to detect what components were installed on a previous install?



I am doing a major upgrade and want to detect if a specific component was 
installed before.



Thanks





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to