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 check prerequisites installed on the target system
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
‎Aug 07, 2008
09:06 AM
How to check prerequisites installed on the target system
I want to check whether the prerequsites (MSXML4 , SQLXML3) required for my application to run properly are already installed on the target machine.
If it is not installed I want to tell the user that the Prerequisites is not installed. Please download from the following link.
Can somebody please help me in achiving this ?
Thanks in advance!!!
If it is not installed I want to tell the user that the Prerequisites is not installed. Please download from the following link.
Can somebody please help me in achiving this ?
Thanks in advance!!!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2008
05:35 PM
To start, what kind of project (MSI or InstallScript) are you using?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 08, 2008
02:28 AM
I am using a Web Project
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 08, 2008
08:11 AM
I just resolved my issue. I have used the "System Search" under "Behavior and logic" to achieve this
Steps for resolution are as follows
Step 1: Open "System Search"
Step 2: Right Click on one of the rows and click "Add" or press "Insert" button on the keyboard.
Step 3: Click next on the "System Search Wizard"
Step 4: Select "Registry Entry" from the dropdown and click next
Step 5: Select the "Registry root".
Step 6: Provide the appropriate path for the Registry Key. For example: SOFTWARE\Microsoft\SQLXML 3.0\Setup
Step 7: Select Registry value. Here add the name of the registry key you want to compare. For example: patchLevel
Step 8: Click next. Now select the property which will store the registry key value. For this make sure you have already created one property for holding registry key value. In our case let us assume the property name is IS_SQLXML_INSTALLED. In additional option, select store the value in property and use property in install condition. This option will automatically search for the registry key at the installation.
Step 9: Click on the finish button. As soon as you click finish button a dialog box will condition builder pop-up will appear. Provide the appropriate condition. For example for checking if the SQLXML component is installed, condition will be IS_SQLXML_INSTALLED = "3.0"
Build your installer and run.
If in case your want to play with different conditions. Make sure you delete the condition from the launch condition table.
Deleting a "System Search" row will not delete the entry from Launch Condition table. (Additional Tools -> Direct Editor -> launch Condition)
Steps for resolution are as follows
Step 1: Open "System Search"
Step 2: Right Click on one of the rows and click "Add" or press "Insert" button on the keyboard.
Step 3: Click next on the "System Search Wizard"
Step 4: Select "Registry Entry" from the dropdown and click next
Step 5: Select the "Registry root".
Step 6: Provide the appropriate path for the Registry Key. For example: SOFTWARE\Microsoft\SQLXML 3.0\Setup
Step 7: Select Registry value. Here add the name of the registry key you want to compare. For example: patchLevel
Step 8: Click next. Now select the property which will store the registry key value. For this make sure you have already created one property for holding registry key value. In our case let us assume the property name is IS_SQLXML_INSTALLED. In additional option, select store the value in property and use property in install condition. This option will automatically search for the registry key at the installation.
Step 9: Click on the finish button. As soon as you click finish button a dialog box will condition builder pop-up will appear. Provide the appropriate condition. For example for checking if the SQLXML component is installed, condition will be IS_SQLXML_INSTALLED = "3.0"
Build your installer and run.
If in case your want to play with different conditions. Make sure you delete the condition from the launch condition table.
Deleting a "System Search" row will not delete the entry from Launch Condition table. (Additional Tools -> Direct Editor -> launch Condition)