10/30/2009 2158 views
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


Community Chosen Answer

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
Answered 10/30/2009 by: pjgeutjens
Red Belt

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

thanks it worked like a charm !!!

rated your post
Answered 11/02/2009 by: bob_msi
Orange Belt