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: Setting .Net2.0 Framework as mandatory prerequisite.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Dec 30, 2008
04:57 AM
Setting .Net2.0 Framework as mandatory prerequisite.
Am using Basic MSI project of the Installshield 2008 professional.
I want to set .Net2.0 Framework as mandatory prerequisite for the product installation.
In the release wizard i have set to include .Net2.0 Framework, and the settings are as shown in the image below.
But when i try to install in test machine which does not have .Net2.0 Framework.. i get a dialog asking to install .net2.0 Framework.
Issue # 1
The dialog shows it as optional, but i need it to be as mandatory .?? how to change that as mandatory
Issue # 2
When i click on the "No Button " option, the installer continues to install the product, how do i restrict this.. i want the end user to install the framework and proceed for the installation of the product.
If the user selects not to install the .netFramework, then the installation process should abort... How to do this..?
Please Help me ...!
Any help in this regard will be highly appreciated.
I want to set .Net2.0 Framework as mandatory prerequisite for the product installation.
In the release wizard i have set to include .Net2.0 Framework, and the settings are as shown in the image below.
But when i try to install in test machine which does not have .Net2.0 Framework.. i get a dialog asking to install .net2.0 Framework.
Issue # 1
The dialog shows it as optional, but i need it to be as mandatory .?? how to change that as mandatory
Issue # 2
When i click on the "No Button " option, the installer continues to install the product, how do i restrict this.. i want the end user to install the framework and proceed for the installation of the product.
If the user selects not to install the .netFramework, then the installation process should abort... How to do this..?
Please Help me ...!
Any help in this regard will be highly appreciated.
(6) Replies
‎Dec 30, 2008
06:24 AM
You can give it by the Setup Prerequisite option of Install Shield.
From Tools- Setup Prerequisite, add a new one,
The condition to be checked is, search registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727
value -> Install =1
File to include -> path to dotnetfx20.exe
Application to run -> dotnetfx20.exe
save this.
And from redistributable, add this to your project.
From Tools- Setup Prerequisite, add a new one,
The condition to be checked is, search registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727
value -> Install =1
File to include -> path to dotnetfx20.exe
Application to run -> dotnetfx20.exe
save this.
And from redistributable, add this to your project.
‎Dec 30, 2008
07:13 AM
I tried this way, but when i save it as .prq file it does not list in the "Redistributables" List.
It was saved to "SetupPrerequisites" folder only.
I could see it as a file. but not in the list of "Redistributables"
Is there any specific way to save.. ?
It was saved to "SetupPrerequisites" folder only.
I could see it as a file. but not in the list of "Redistributables"
Is there any specific way to save.. ?
‎Dec 30, 2008
10:03 AM
You should set your "Display .NET Option Dialog" to "No" (instead of "Yes").
You will not get FW .NET 2.0 in the prerequisite setup list but information will be displayed when fw installation will proceed (at the of button of installation window).
Bernard.
You will not get FW .NET 2.0 in the prerequisite setup list but information will be displayed when fw installation will proceed (at the of button of installation window).
Bernard.
‎Dec 31, 2008
12:12 AM
manumanimala wrote:
You can give it by the Setup Prerequisite option of Install Shield.
From Tools- Setup Prerequisite, add a new one,
The condition to be checked is, search registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727
value -> Install =1
File to include -> path to dotnetfx20.exe
Application to run -> dotnetfx20.exe
save this.
And from redistributable, add this to your project.
I got this working.. but there is another problem in it..
Even after complete successfull installation of .net2.0Framework, it says.. installing... and moreover, everytime it tries to download from the web url given.
‎Dec 31, 2008
12:14 AM
BernardC wrote:
You should set your "Display .NET Option Dialog" to "No" (instead of "Yes").
You will not get FW .NET 2.0 in the prerequisite setup list but information will be displayed when fw installation will proceed (at the of button of installation window).
Bernard.
This seems fine, the installer goes with the installation of .Net2.0Framework, but is there any way.. that i need to intimate the enduser about the .net2.0Framework installation.
Let me try this with different scenarios.
‎Jul 15, 2009
07:06 AM
Hi,
Is there any way to display the Prerequisite dialog after 'InstallWelcome dialog' ? can we reoder it?
Is there any way to display the Prerequisite dialog after 'InstallWelcome dialog' ? can we reoder it?