System Search
Updated: 11 Aug 2010 | 11 comments
Hi
I have gone through the article for system search https://www-secure.symantec.com/connect/articles/appsearch-wise-package-studio
while displaying property on a dialog the result displays "1" i cant able to display the path, so i have done dispalying file extensions
1]explorer--->Tools--->Folder options
2]click view tab
3]Unckeck hide extensions for known file types
but still result display as "1" log file also attached.
any solutions?
Discussion Filed Under:
Comments
Damn crystal ball isn't working!
It's no good...you're just going to have to actually tell us what your AppSearch looks like.
Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.
MSI.CHM
Look up the following topic:
Searching for a File and Creating a Property Holding the File's Path
Then check your tables to see if they comply.
I think that is what you are asking, but I fail to understand the relevance of displaying file extensions.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Hi
In AppSearch Table under property field APP_TEST & under signature field - MyFile.
In signature table under signature filed Myfile & under filename mysearch.
In DrLocator table under signature filed MyFile & under depth field 2.
I am trying to search a txt file which is in C:\program files.
Thanks
Is 'mysearch'...
...the name of the file you're searching for? If not, it should be!
Also, unless you control deployment (and thus the target folder), you need to consider the search's depth. For example, your search currently wouldn't find the file if the user decided to install to C:\Apps\Special\Graphics\Program Files\[etc]. Unlikely, but - as ever - you need to "program" defensively.
Ditto with 'C:\Program Files' as the start location. It would be better to interrogate the registry to get the application's target directory and start from there.
Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.
Which tool you are using?
Which tool you are using? if wise or admin studio then you can use GUI to reduce confusion..... Consideringf its wise, you can see system search option in Instalaltion Expert.....
System Search
HI
I am also facing same problem, in system search the search for file entries are as follows
Property LMN
Operation Search for file: return full file name
search directory Folder
Search depth 4
File name RMS.Doc
I have added the Project\Folder\RMS.Doc file from source to the destination computer.
Is it possible to use if condtion for the property? if file or directory present i will disply the message that RMS.doc found..
In MSI.CHM, conditional statement syntax, i didnt get the condtion for property.
please guide me how can i use the condition for property?
Thnaks
Confused
QUOTE: if file or directory present i will disply the message that RMS.doc found..
Do you mean that you want to display that RMS.DOC was found even if only the directory is present and the file is missing ? This is not going to work.
Secondly, you cannot apply conditions to a property. You can, however, use a property as a condition.
If a condition resolves to TRUE, then the action is executed. Thus you can use the syntax
PROPERTY = value, and if it resolves to TRUE then the action runs.
If I have misunderstood your question, then please provide more detailed information next time you post.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Hi EdTThanks for the
Hi EdT
Thanks for the information.
I want to search directory.
i will use the property as condition. I have entered the details to system search as a
Property LMN
Operation Search for file: return full file name
search directory Folder
Search depth 4
File name RMS
I have created the property in setup editor-->Product tab-->Properties-->New Property Name--LMN & Value --1
Set Property LMN=1
can you suggest me how can i write the condition, if i want to search a sub directory called Folder?
The files from source to destination computer is ABC[InstallDIR]Project\Folder\RMS.doc.
If i want to search a file inside the directory, do i ned to create a one new property for the file search?
I think you are confused about the operation of system search
First of all, it is not necessary to pre-define a property in the property table when using system search, although you can do this if you choose to.
System search, whe configured to look for a file, will return either the first directory found, which contains the file, or will return the full path to the file - this is your choice when setting up the search. The property you specify will hold the RESULT of the system search, which is a file name or directory path as mentioned before.
If you've already defined a new public property (all uppercase) in the Properties icon on the Product tab, then you can select it from the list when setting up System Search; otherwise enter a new property name (all uppercase). If you enter a new property name, and the search fails to find a match, the property value will be null and will be false if used in a condition.
If you use an existing property name and have preset the value to 1 (for example), then the value will remain at 1 if system search finds nothing, or will contain the directory or file information if the search is successful.
The information above is from the context sensitive HELP that is available by pressing F1 when filling in the System Search dialog.
What do you actually want to do with the result of your system search?
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
The easiest way to handle
The easiest way to handle system search in combination as a condition is to NOT predefine the public property. In this way you can use "NOT MY_SYSTEM_SEARCH_PROPERTY" as condition if the file wasn't found or MY_SYSTEM_SEARCH_PROPERTY if the file was found for what ever reason you want.
HiI am doing a project.
Hi
I am doing a project. First i want to check the all installabales directories, before the installation starts, for that i am doing a system search for that. If directory is found then i have to dispaly the message the installable directory is found. Thats it.
I will zip the folder, i have added the zip file from source to the destination computer ABC[INSTALLDIR]Project.zip. If i search the project.zip directory is enough for me.
As you told i pressed F1 in system search page, Searching for files or directories page in that i know how to use the system search page. But how i can use the condition of a property.
As you told PROPERTY=Value
Here PROPERTY is LMN & Value is Project.zip.
If LMN=Project.zip then
Diasplay Message Directory Found.
End
Is that correct?
How i can use MY_SYSTEM_SEARCH_PROPERTY condition?
Thanks
Would you like to reply?
Login or Register to post your comment.