dynamically setting installdir based on the value of an appsearch

hi all,
i have the following requirement:-
do an xml app search and based on the value returned set the installdir.
therefore if the value returned for the appsearch is "Server" then i dont need to do anything and the files all get installed to D:\DATA\RCORE

If the value is "NOTFOUND" then i need to change the value of installdir to C:\Program Files\RCORE.

any ideas how to let the msi know how to dynamically change the installdir based on an app search?

all ideas welcome!

0 Comments   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 13 years ago
Red Belt
I can't see why you couldn't do this with conditioned Custom Actions...
Posted by: jmcfadyen 13 years ago
5th Degree Black Belt
set the app search to INSTALLDIR2

Create a Set Directory CA which has a condition that matches the VALUE of INSTALLDIR2
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


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