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
- :
- InstallShield Prerequisites
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
‎Nov 05, 2009
11:19 AM
InstallShield Prerequisites
I want my Basic MSI installer to check if following softwares exist on target machine, before installation:
1. SQL Server 2008
2. .NET Framework 3.5
3. WSE 3.0
If they exist, setup should continue. It any of these is missing, setup should inform the user showing list of missing components and exit setup. I don't need to install prerequisites as part of the installer.
Please guide me, what is the best way to do this?
Thanks.
Naveed
1. SQL Server 2008
2. .NET Framework 3.5
3. WSE 3.0
If they exist, setup should continue. It any of these is missing, setup should inform the user showing list of missing components and exit setup. I don't need to install prerequisites as part of the installer.
Please guide me, what is the best way to do this?
Thanks.
Naveed
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 05, 2009
12:53 PM
InstallShield provides the prerequisites functionality. You can use this in your MSI project. This would ensure that these prerequisites are only installed if they are not already present in the target machine.
If you do not want to include these components (SQL Server 2008, .NET Framework 3.5, WSE 3.0) into your installer then you can use the redistributable setup installer.
For e.g. .net 3.5 redistributable setup installer is about 3MB and when this is included into the prerequisites of your InstallShiled project then the installer will check if .net 3.5 framework is already installed on the target machine and if not it will prompt the user and download the entire .net 3.5 framework and install it.
I am not sure about Sql Server 2008 and WSE 3.0 but I am guessing they must have redistributable installers like .net 3.5 framework as well.
If you do not want to include these components (SQL Server 2008, .NET Framework 3.5, WSE 3.0) into your installer then you can use the redistributable setup installer.
For e.g. .net 3.5 redistributable setup installer is about 3MB and when this is included into the prerequisites of your InstallShiled project then the installer will check if .net 3.5 framework is already installed on the target machine and if not it will prompt the user and download the entire .net 3.5 framework and install it.
I am not sure about Sql Server 2008 and WSE 3.0 but I am guessing they must have redistributable installers like .net 3.5 framework as well.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 05, 2009
01:26 PM
Thanks for your reply. pavanred!
Actually, I don't have to install prerequisities. I just need to check whether they are present or not? And just show the message to user.
Is there a way to check for this?
Actually, I don't have to install prerequisities. I just need to check whether they are present or not? And just show the message to user.
Is there a way to check for this?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 05, 2009
01:51 PM
You can do this from the "Pre-requisite Editor" dialog. In one tab, you can specify the behavior of your installation if the condition (prerequisite) is not met and one of the options is to abort the installation.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2009
04:09 PM
If you are OK with displaying a message box containing your requirements, you can use the System Search view to set up a search for each application by using a registry or specific file. Then use the properties that you set up with those in some Install Condition(s) in the General Information view. You should be able to enter text in your messages that will appear when any of the required applications is not present.
(If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2009
12:56 AM
the best way to check prerequisites availability is :
1)First install manually the prerequisites you want to check at client machine in testing machine.
2)next find the registry values in registry
3)in installscript check through that registry key and value.
if the registry key is already available give user message
else
ask them to install the prerequisites.
thanks
madhu
1)First install manually the prerequisites you want to check at client machine in testing machine.
2)next find the registry values in registry
3)in installscript check through that registry key and value.
if the registry key is already available give user message
else
ask them to install the prerequisites.
thanks
madhu
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 11, 2009
11:19 AM
Thanks everyone!
I got it. I run system search to find the required software on target system. I get version information in properties and use them in install conditions. I check registry entries to verify the presence of software.
I got it. I run system search to find the required software on target system. I get version information in properties and use them in install conditions. I check registry entries to verify the presence of software.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 29, 2009
10:06 PM
I have the same problem like you. If I did not mess anything; you do not have to do anything to check anything. The setup will check and will tell you (end user) what you need. If you can see my question to the forum, you would see that I was stating that an error message informed the end user's computer that .net framework (v2.0.5075)is needed to be installed.