Hi,
I'm writing a VB.NET application.
Before to use .NET technology i would like to be sure that .NET
Framework is installed.
I know where should i check in registry for that but i would like to
know if it's possible to do my application in 2 parts.
1st - my app check is the NET Framework is intalled using on api and not
.NET technolology.
2nd - my app use .NET techno.
but i don't want to split my app in 2 exe files.
my 1st part should be done via a splash screen only.
Does anyone have an idea how can i do that ?
thx,
Maileen
Herfried K. Wagner [MVP] - 23 Oct 2004 12:36 GMT
"Maileen" <nospan@email.com> schrieb:
> I'm writing a VB.NET application.
> Before to use .NET technology i would like to be sure that .NET
[quoted text clipped - 8 lines]
> but i don't want to split my app in 2 exe files.
> my 1st part should be done via a splash screen only.
That's not possible without a separate (unmanaged) application.
I suggest to install the .NET Framework as part of your application's setup:
Deploying the .NET Framework in a setup package
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=deployframework>

Signature
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/
OpticTygre - 23 Oct 2004 13:50 GMT
I just mentioned this in her other post, but check out
http://msdn.microsoft.com/vstudio/downloads/tools/bootstrapper/ for the .NET
Bootstrapper plugin. Or, packaging programs such as installshield will
check whether or not the framework has been installed, as Herfried stated
already.
-Jason
> "Maileen" <nospan@email.com> schrieb:
>> I'm writing a VB.NET application.
[quoted text clipped - 17 lines]
> Deploying the .NET Framework in a setup package
> <URL:http://dotnet.mvps.org/dotnet/faqs/?id=deployframework>
Larry Serflaten - 23 Oct 2004 13:48 GMT
"Maileen" <nospan@email.com> wrote
> Hi,
>
> I'm writing a VB.NET application.
> Before to use .NET technology i would like to be sure that .NET
> Framework is installed.
The next question would be; What are you going to do if you
find the .Net framework is not installed?
To expand on that a bit, what would you do in your program,
if a person is not using Windows?
If the user hasn't got the proper software to run the program,
then your program will not run, regardless of what you add to
it. So, I really have to wonder if you should concern yourself
with that problem, in your program. It should be addressed
long before they attempt to run your program, like during
installation.
But as we are now able to XCopy programs, and installation
programs may not always be needed, still, I would think your
program should not even attempt to deal with it, because if
they haven't got the proper software installed to run your
program, it simply will not run!
LFS