#68 MSM taks <search type=file> does not work

cvs
closed-fixed
Tasks (69)
5
2005-03-10
2005-02-23
John Cole
No

I'm trying to do a search for a file, however nothing
is put in the AppSearch table or the Signatures table.

Here is my search tag

<search>
<key type="file" path="C:\Program Files\Common
Files\ESRI" root="machine" >
<value name="Mo20.ocx" setproperty="MO20PATH" />
</key>
</search>

I have tried the example registry search and the do put
rows in the AppSearch table

Discussion

  • John Cole

    John Cole - 2005-02-23

    Logged In: YES
    user_id=892481

    Looking at LoadApplicationSearch in
    InstallerCreationCommand.cs, it appears that the file type
    was never added.

     
  • John Cole

    John Cole - 2005-02-28

    Logged In: YES
    user_id=892481

    I've been looking at the LoadApplicationSearch command, and
    it appears that the registry and file switch are reversed.
    I swapped them and this did put more entries into the
    correct tables but the search is still not working properly
    (it did not populate the signature table).

    I'm attaching a patch with the fix for the swapped switch.

     
  • James Geurts

    James Geurts - 2005-03-09

    Logged In: YES
    user_id=473974

    the /search/key element will be depreciated. It will be
    replaced by the following elements:

    /search/app
    /search/registry
    /search/ini
    /search/dirfile

     
  • James Geurts

    James Geurts - 2005-03-09
    • assigned_to: nobody --> jgeurts
     
  • James Geurts

    James Geurts - 2005-03-10
    • status: open --> closed-fixed
     
  • James Geurts

    James Geurts - 2005-03-10

    Logged In: YES
    user_id=473974

    Added support for file, ini, and component searches.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks