cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
EKallen
Level 3

Installing files in another application's installdir

I have a set of files that need to be installed in another application's installation directory if that other application is installed. I can detect if that application is installed but I'm not sure how best to direct those files to the other application's installation directory. I'm using InstallScript now in the Feature_Installing function to detect the other application by reading the system registry and that is working well.

Thanks.
Labels (1)
0 Kudos
(1) Reply
EKallen
Level 3

I set the files in their own special directory, then used MsiSetTargetPath to set the directory to the desired application directory. The files now install to the correct directory and automagically uninstall without me having to do anything. 🙂

The only question left now is how to keep the files from installing to their default directory (under INSTALLDIR) if the other application is not installed at all?
0 Kudos