Property Table
PRIMARYFOLDER TARGETDIR
CUSTOM ACTION TABLE
DIR_CA_TARGETDIR 51 TARGETDIR [FSDIR][WindowsVolume]
MYPATH\XXXX
NOW the problem is the property [FSDIR] is set by App
Search, first look in registry then scan hard disk for a
file, i want to if the [FSDIR] find nothing it sets the
root dir like [WindowsVolume], if [FSDIR] is found then
exclude [WindowsVolume], how to manage that?
As in example above the problem is if [FSDIR] is found
then there is a messed up with [WindowsVolume]. And this
error appear Error 1606. Could not access network
location MYPATH\XXXX
Please help!
"Davide" <cut...@tin.it> wrote in message
news:2ba101c25ff2$c2bbd810$37ef2ecf@TKMSFTNGXA13...
>.
>
That's it!
I admit it may be a little confusing at first, but once you get the hang of
it....
Basically Here is what happens
1. FSDIR is set to "C:\" (WindowsVolume)
2. AppSearch runs and tries to locate your file.
If it is found, it sets FSDIR_1 to the fullpath of the file.
If it is not found the property FSDIR_1 is = "".
3. The second AppSearch sets FSDIR to the parent folder of FSDIR_1
(Unless FSDIR_1 is empty, in which case FSDIR is left unchanged...)
4. TARGETDIR is the set to the value of FSDIR.
Note that you could elimnate FSDIR and use TARGETDIR in it's place directly,
thus simplifying the process a little...
"Davide" <cut...@tin.it> wrote in message
news:39a401c260a8$9a3063f0$36ef2ecf@tkmsftngxa12...
Now the problem is that the two search will start one
after the other, how i can separate this two to look in
Regloc and if the FSDIR property is set then don't
execute the second search.
Bye and tnx for your help.
>.
>
If an entry with the same signature exists if the RegLocator table, then the
registry will be searched first and processing will stop if a match is made.
If not it continues on down the line. So, make AppFolder and AppReg have
the same name.
"Davide" <cut...@tin.it> wrote in message
news:4d7f01c26157$803cc330$35ef2ecf@TKMSFTNGXA11...