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
- :
- Re: How to find where MS Office is installed?
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
‎Feb 06, 2008
12:48 AM
How to find where MS Office is installed?
I need to install an Excel VBA macro into the XLSTART directory of an existing MS Office 2003 or 2007 installation.
How can I find out in an InstallScript MSI project where the base install directory of MS Office is?
How can I find out in an InstallScript MSI project where the base install directory of MS Office is?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 06, 2008
09:38 AM
You need to read value from registry. This is HKLM root and you will want to get "Path" key from "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\OUTLOOK.EXE".
How you will do that doesn't matter. You may want to use VBScript in CA or InstallScript.
Hope this is what you looking for 🙂
How you will do that doesn't matter. You may want to use VBScript in CA or InstallScript.
Hope this is what you looking for 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 07, 2008
12:45 AM
Thank you, that was exactly what I was looking for.
I think I will define an additional property by using the system search feature.
I think I will define an additional property by using the system search feature.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)