Answered by:
.net 2.0 prerequisite

Question
-
Hi,
I created a setup for our application a while ago with a .net framework 2.0 SP1 prerequisite there is no problem with Windows XP. But it didn't work on Vista and Windows 7.
Because there is a .Net Framework 2.0 SP1 prerequisite it tries to install it and as I have a .net framework 2 sp2 included in the setup it doesn't work since 2.0 SP2 is only for XP. On Vista there is a .net framework 3.5 installed, why does installer still try to install .net 2.0.
How do I check The Operating System of customer, and install prerequisite for .net framework 2.0 only if the OS is Windows XP?
Thanks,Tejashri
- Moved by Alexander Sun Monday, August 8, 2011 9:54 AM (From:.NET Framework Setup)
Saturday, August 6, 2011 6:32 AM
Answers
-
The answers in these threads may help you.
BTW, are you using a conditional step in your installer to first check for .NET Framework 2.0 SP1? It should find it already present in Vista and Win 7.
FWIW, .NET 3.5 does not come with Vista. Win 7 includes .NET 2.0, 3.0 and 3.5 through 3.5 SP1. Vista comes with 2.0 and 3.0.
Saturday, August 6, 2011 1:38 PM
All replies
-
The answers in these threads may help you.
BTW, are you using a conditional step in your installer to first check for .NET Framework 2.0 SP1? It should find it already present in Vista and Win 7.
FWIW, .NET 3.5 does not come with Vista. Win 7 includes .NET 2.0, 3.0 and 3.5 through 3.5 SP1. Vista comes with 2.0 and 3.0.
Saturday, August 6, 2011 1:38 PM -
Hi Tejashri,
Welcome to the MSDN forum.
I am sorry that this queue is about .NET Framework Setup. In my opinion, your problem is related to setup and deployment projects, so I will move your thread to ClickOnce forum for better support.
Thanks.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Monday, August 8, 2011 9:53 AM