Okay so the component is installed.  When I run with the /l*vx
log.logoption on msiexec I see the other properties getting "Added"
and "set" to
the correct value (during AppSearch).

But this property results in the following
AppSearch: Property: SETASSOCIATION, Signature: fileassocsearch
MSI (c) (38:34) [16:19:10:389]: Note: 1: 1314 2:
00:\ACME.File.2\FriendlyTypeName\
Info 1314. The specified path '00:\ACME.File.2\FriendlyTypeName\' is
unavailable.

And the Property is never set.

In the component that I am looking for the Key Path is the creation of a
regValue at Root=HKCR,  Key=ACME.File.2\FriendlyTypeName\

Using WiLogUtl.exe also does NOT show the property.




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

 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]> 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] *On Behalf
Of *Mike Poulson
*Sent:* Thursday, February 22, 2007 4:36 PM
*To:* Rob Mensching
*Cc:* 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]> wrote:

ComponentSearch element?



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Mike Poulson
*Sent:* Thursday, February 22, 2007 1:51 PM
*To:* 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