check for .NET 1.1 and download/install if not present.

  • Thread starter Thread starter Mike W
  • Start date Start date
M

Mike W

Does anybody have any sample code for making this happen.
I have a program that bombs out when 1.1 is not present (of course) but
don't know the best way to implement the above solution.

Thanks,
Mike
 
Mike said:
Does anybody have any sample code for making this happen.
I have a program that bombs out when 1.1 is not present (of course) but
don't know the best way to implement the above solution.

Thanks,
Mike

You realize any solution that does this will have to be written in
something other than a dotnet language right?

Chris
 
I thought the basic Setup Project you make for .NET apps already does this?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/vsredistdeploy1_1.asp

" Installers created using Visual Studio .NET deployment tools include a
default launch condition (MsiNetAssemblySupport) that checks for the .NET
Framework on the target computer. If it is not found, installation is halted
and a dialog box displays the following default message to the user: "This
setup requires the .NET Framework. Please install the .NET Framework and run
this setup again." You should replace this message with a message that is
customized for your application's users."

Greg
 
Greg said:
I thought the basic Setup Project you make for .NET apps already does this?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/vsredistdeploy1_1.asp

" Installers created using Visual Studio .NET deployment tools include a
default launch condition (MsiNetAssemblySupport) that checks for the .NET
Framework on the target computer. If it is not found, installation is halted
and a dialog box displays the following default message to the user: "This
setup requires the .NET Framework. Please install the .NET Framework and run
this setup again." You should replace this message with a message that is
customized for your application's users."

Greg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top