/build/static/layout/Breadcrumb_cap_w.png

Can I Handle This Feature/Component Situation Better?

Hi all,

I'm back with another situation!

I have some components that I need to install into another app's file system. That's easily enough achieved with a registry search and Set Directory Custom Action. Here is the issue, however. These files will support two different applications, Third Party App 1 and Third Party App 2.

What I'm currently doing is using two features that are conditioned by the population of the registry search property. If a Third Party App 1 install directory is found that feature gets installed. Same for Thirdy Party App 2. The files are the same for both.

I was wondering if there was a better way to handle this to cut the overhead in the install in half with regard to these files instead of having two sets of the same files packaged.

My first thought was to simply install the single set of files in our file system. Then, install a dummy file into the Third Party App directories if found. Then, I could use the DuplicateFile table tied to the dummy component. Using this method has the potential for a footprint of 3 sets of files as opposed to the possibility of having two sets from the current setup. However, the actual overhead in the install is cut in half.

I guess it comes down to the question of how can I install a single set of files to two areas from the same installation?

Let me know if anything is murkey or if you have any suggestions or agree with my current approach!

Thanks much in advance!


0 Comments   [ + ] Show comments

Answers (2)

Posted by: jagadeish 11 years ago
Red Belt
0

Why don't you conditionalize your SetProperty custom action by the population of the registry search property

Posted by: Superfreak3 11 years ago
2nd Degree Black Belt
0

The Set Prop CAs are already conditioned as such.  My issue is having two features instead of one in our install to reduce overhead.

I think what I am going to do is just install once from our install to our files system and install dummy components if the apps are found during search.  Then I'll use DuplicateFile to get the files where they need to go.

I don't even know that I need to install the dummy files under the third party file system.  If the directory table entries exist in my install I should be OK.

Don't be a Stranger!

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

Sign up! or login

Share

 
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