Hello Ruben,
Is the result property a String, a Number or a Boolean ?
The result of the search is a string.
With non-successful searches, will it be "no value" or an "emty value" and makes that a difference ?
For non successful searches the RESULT_PROPERTY will have no value. In Windows Installer properties case, an empty value is the same thing with a no value.
how to compare the RESULT_PROPERTY
This, as any other Windows Installer property could be compared using the "Comparative operators". Please take a look here :
Comparative operators
Is it right to write something like RESULT_PROPERTY=0
In the case of an unsuccessful search you could write NOT RESULT_PROPERTY
So, is there a documentation of the return value ranges of successful and unsuccessful searches ?
As I previously said, the unsuccessful searches return no result (the value is empty)
The successful searches return the value configured in the "Search" page. For example if you search a registry value, you have the option to select the type of the search. For example in "Retrieve the raw value" case the RESULT_PROPERTY will receive the value contained by the searched key.
If you search for a file, in case of a successful search, the RESULT_PROPERTY will store the full path of the file(including the file name and extension).
We will try to improve our documentation regarding this subject. Thank you for your suggestion.
Best regards,
Sorin
FOLLOW US
Get the latest news in Application Packaging