Mastering Online Queries: The Ultimate Guide to Understanding and Utilizing Search Engines

Mastering Online Queries: The Ultimate Guide to Understanding and Utilizing Search Engines

Michael Lv8

Mastering Online Queries: The Ultimate Guide to Understanding and Utilizing Search Engines

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

Search Page

The Search Page allows you to set up system-wide searches. The object of your search can be either a component, registry key, folder, INI key or a file whose location can be found from a component key, registry key, folder or INI key.

Search page

The result of your search will be a string placed in a newly created Windows Installer Property which you can subsequently select using the Property Picker Dialog and use in a field of Formatted Type . This property will be displayed in the first level of the tree from the left-side pane and it will represent your search. On the tree’s second level, under each defined Search, you can add one or more locations to search.

NoteIn the case of a successful search, the property associated with the search will contain a string. If the search fails the result property will be empty. The following conditions can be used if you need to identify if the search was successful or it failed:: RESULT_PROPERTY is always true for a successful search; NOT RESULT_PROPERTY is always true for an unsuccessful search, where RESULT_PROPERTY is the property associated with the search operation.

Caution!Windows Installer does not guarantee the searches order, so a new search should not use the result of another search.

NoteIf the installation package is run with full UI, the searches will be performed only once during AppSearch standard action from the Wizard Dialogs Stage .

https://techidaily.com

Creating a new search using a wizard

New Search WizardUse the [New Search Wizard ] toolbar button, to quickly and easily set up a new search, following step-by-step directions.

https://techidaily.com

New SearchUse the [New Search ] toolbar button, the “New Search” context menu item or press the Insert key while the tree control is focused. The result property will be added in the left-side tree and you can edit it in order to change it.

New File Search Use the [New File Search ] toolbar button, the “New File Search” context menu item or press the + key while the tree control is focused. The result property will be added in the left-side tree with a default name and you can edit it in order to change it. You can edit the File To Search Properties in the right-side panel.

https://techidaily.com

New XML Search Use the [New XML Search ] toolbar button or the “New XML Search” context menu item. The resulted search operation will be added in the left-side tree with its name displaying the search path and the XML filename. It can not be renamed as it will always display the search path and the XML file on which the search operation is performed. You can edit the XML Search Properties in the right-side panel.

Use the “New Extended Search” context menu item. The result property will be added in the left-side tree with a default name and you can edit it in order to change it. You can edit the Extended Search Properties in the right-side panel.

https://techidaily.com

Adding a Search Location

Add LocationUse the [Add Location ] toolbar button or the “Add Location” context submenu. The location will be added in the left-side tree under the selected search. You can edit the location properties in the right-side panel. There are four types of locations you can search in:

https://techidaily.com
  • Components
  • Registry
  • INI files
  • Folders

Use the “Add Predefined Search” context menu to add an already configured search. These searches are ready for use right after creation (they don’t require additional settings).

Use the “Builds” context menu item. This option will be available only if more that one build is defined.

Testing Searches

Test searchUse the[Test ] toolbar button or the “Test” context menu item while the “Searches” tree root (Target Computer) or a search property is selected. A MSI will be launched to test your searches and the results will be displayed in the Search Results . The searches are tested as following:

  • If the tree root is selected (Target Computer) is selected all the searches will be tested.
  • If a search is selected it will be tested along with all its locators.
  • If a locator is selected it will be tested along with its associated search.

Renaming Searches

Use the “Rename” tree context menu item or press the F2 key while a search is selected.

Removing Searches and Locations

Remove Use the [Delete ] toolbar button, the “Delete” tree context menu item or press the Delete key while an element from the “Searches” panel is selected.

https://techidaily.com

Topics

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: Mastering Online Queries: The Ultimate Guide to Understanding and Utilizing Search Engines
  • Author: Michael
  • Created at : 2024-10-03 18:15:21
  • Updated at : 2024-10-11 03:40:04
  • Link: https://fox-making.techidaily.com/mastering-online-queries-the-ultimate-guide-to-understanding-and-utilizing-search-engines/
  • License: This work is licensed under CC BY-NC-SA 4.0.