cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
_Peter_
Level 4

problem with detecting Office

Hi,

In my setup (InstallScript MSI Project) I have two .dll files (two components in Setup Design), that should be installed and registered only if user has installed MS Office. Can someone suggest me how to do that?
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

I don't know if there's a general way, apart from, say, looking in the registry (HKLM\Software\Microsoft\Office\version or an Office application's App Paths entry, perhaps?). Depending on your requirements, you could also probably perform a system search for a particular version of one or more of the office components (winword.exe, excel.exe, etc.).
0 Kudos
_Peter_
Level 4

can you help me a little bit more with this? How and where can I create condition for installing and registering those two dll files? I'm new with InstallShield..
0 Kudos
RobertDickau
Flexera Alumni

You might look up "System Search Wizard" in the InstallShield 2008 help for information about setting up the search for appropriate file versions or registry data, and look up "Conditionally Installing Components" for information about using the results.
0 Kudos