This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Installing files in another application's installdir
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 27, 2011
02:09 PM
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.
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 27, 2011
04:58 PM
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?
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?
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)