/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (2)

Posted by: pjgeutjens 14 years ago
Red Belt
2
Assuming I've gotten my head wrapped around this.

I suppose you've defined the STFIND property in your property table and set it to be empty by default...
Then I think your component condition should look like

component condition
A STFIND=""
B STFIND=""
C STFIND<>""
D STFIND<>""
Posted by: bob_msi 14 years ago
Orange Belt
0
thanks it worked like a charm !!!

rated your post
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ