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: Prerequisites / search conditions
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 25, 2010
10:18 AM
Prerequisites / search conditions
Hello,
I'm looking to add a couple of prerequisites / search conditions to my MSI Basic project.
The requested conditions are:
- if MS WinWord is installed
- If MS WinWord 2007 or 2010 is installed
- If MS WinWord 2007 is installed
- 2007 Office system hotfix package 976477 is installed
It's some very usual stuff (MS Office / Word and hotfix) and I was hoping to have some already build in IS, but I cannot find it.
So I hope somebody knows already how to set these up.
Thanks,
John
I'm looking to add a couple of prerequisites / search conditions to my MSI Basic project.
The requested conditions are:
- if MS WinWord is installed
- If MS WinWord 2007 or 2010 is installed
- If MS WinWord 2007 is installed
- 2007 Office system hotfix package 976477 is installed
It's some very usual stuff (MS Office / Word and hotfix) and I was hoping to have some already build in IS, but I cannot find it.
So I hope somebody knows already how to set these up.
Thanks,
John
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2010
12:41 AM
Hi,
Try querying registry keys using InstallScript functions.
An example would be querying registry using RegDBKeyExist to find:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\Winword.exe]
If the above key exists, it would show that the user has Office Word installed.
Try querying registry keys using InstallScript functions.
An example would be querying registry using RegDBKeyExist to find:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\Winword.exe]
If the above key exists, it would show that the user has Office Word installed.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2010
08:04 AM
Or set up your own searches on the registry keys using the AppSearch table, which shows up in the System Search view.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2010
12:27 PM
System search would be the best and easiest option to look in for.
Can query for registry entry or look for specific folders/files related to Winword
Can query for registry entry or look for specific folders/files related to Winword
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2010
01:39 PM
Thank you all for the suggestions, but...
I know I have to look for some registry keys using system search, I know how to do it.
I was looking for some specific keys. I was hoping that somebody knows exactly what to look for in the given cases.
The first suggestion for WinWord application is not enough. I need more details, like the version.
For example, to check if Word 2007 is installed I search for:
HKLM\SOFTWARE\Microsoft\Office\12.0\Word\InstallRoot
I still don't know how to find out if a specific Microsoft Office hotfix was installed...
I know I have to look for some registry keys using system search, I know how to do it.
I was looking for some specific keys. I was hoping that somebody knows exactly what to look for in the given cases.
The first suggestion for WinWord application is not enough. I need more details, like the version.
For example, to check if Word 2007 is installed I search for:
HKLM\SOFTWARE\Microsoft\Office\12.0\Word\InstallRoot
I still don't know how to find out if a specific Microsoft Office hotfix was installed...