SYSTEM SEARCH HELL
ok hope that headline woke you up
I have 2 features C and D conditioned on the system search
each of these features contain the components ie files for C and D
I have done a system search to look at 2 reg keys on any workstation
hklm\software\to be installed on c value c
hklm\software\to be installed on d value d
if the search finds c it installs all files in a folder to c drive only [feature c enabled, feature d disabled]
if the search finds d it installs all files in a folder to d drive only [feature d enabled feature c disabled]
there a 2 set directory custom actions conditioned for property find c and property find d to redirect the folders to c and d respectively
this is all working fine
now here is my problem
I want to add another condition based on a search if a folder on the c drive say c:\foldername does not exist then I only want to install certain files into c:\foldername
I have done another sytem search to look for that folder
property for the system search is called STFIND
if the folder does not exist on the workstation then I only want to install files A and B and not C AND D
if it exists then I only want to install C and D
where have I gone wrong on conditioning the components
I have 2 features C and D conditioned on the system search
each of these features contain the components ie files for C and D
I have done a system search to look at 2 reg keys on any workstation
hklm\software\to be installed on c value c
hklm\software\to be installed on d value d
if the search finds c it installs all files in a folder to c drive only [feature c enabled, feature d disabled]
if the search finds d it installs all files in a folder to d drive only [feature d enabled feature c disabled]
there a 2 set directory custom actions conditioned for property find c and property find d to redirect the folders to c and d respectively
this is all working fine
now here is my problem
I want to add another condition based on a search if a folder on the c drive say c:\foldername does not exist then I only want to install certain files into c:\foldername
I have done another sytem search to look for that folder
property for the system search is called STFIND
if the folder does not exist on the workstation then I only want to install files A and B and not C AND D
if it exists then I only want to install C and D
where have I gone wrong on conditioning the components
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
pjgeutjens
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.