[ wix-Bugs-1323521 ] Cann't specify multiple sources for PropertySearch

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ wix-Bugs-1323521 ] Cann't specify multiple sources for PropertySearch

SourceForge.net
Bugs item #1323521, was opened at 2005-10-10 22:36
Message generated for change (Comment added) made by derekc
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1323521&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: candle
>Group: v2.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Lixan (lixan0)
>Assigned to: Derek (derekc)
Summary: Cann't specify multiple sources for PropertySearch

Initial Comment:
Hi
I need do property search (via AppSearch) in multiple
sources registry and directory. In MSI documentation
say what we can do this by using unique Signature_ in
both tables RegLocator and DrLocator. And if search
will be success in RegLocator MSI stop searching.
This really work when i fill tables by "Orka".
Unfortunately in wix i can do this.

Sample:

<Property Id="SOME_FOLDER">
  <RegistrySearch Id="SomeFolder" Root="HKLM"
    Key="SOFTWARE\COMPANY\APPLICATION"
    Name="Folder" Type="directory"
  />
  <DirectorySearch Id="SomeFolder"
    Path="SomeFolder" Depth="2"
  />
</Property>

  For this sample "light" generate error

fatal error LGHT0003: primary key 'SOME_FOLDER' in
column 'Property' and primary key 'SomeFolder' in
column 'Signature_' are duplicated in table 'AppSearch'

I am think really problem in candle (compiler.cs).
Candle must consider MSI documentation and don't
generate multiple tuples for repeated Signatures in
Property element.

Then I am manually remove duplicate from .wixobj this
linked and pretty work.


----------------------------------------------------------------------

>Comment By: Derek (derekc)
Date: 2005-10-11 08:36

Message:
Logged In: YES
user_id=518766

Please try this:
    <Property Id="SOME_FOLDER">
      <RegistrySearch Id="SomeFolder" Root="HKLM"
Key="SOFTWARE\COMPANY\APPLICATION" Name="Folder"
Type="directory">
          <DirectorySearch Id="SomeFolder" Path="SomeFolder"
Depth="2" />
      </RegistrySearch>
    </Property>

If that's acceptable, please close the bug.  Note: I'm
tracking all these AppSearch-related questions and I'd like
to add frequently-used AppSearch authoring examples to
WiX.chm sometime in the future.  I'll open a feature request
for this now and then ask people to submit their favorite
AppSearch authoring for inclusion.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1323521&group_id=105970


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
WiX-devs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-devs