473,320 Members | 1,881 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

detection of the installation of a runtime


hi,

I work on a windows application. It uses component of a runtime. The runtime
is a cartographic runtime developpped in .net.
The problem is that some user doesn't have the runtime installed. Is it
possible to detect it during the execution of my program?

Benoit.
Jan 20 '06 #1
3 1126
Hi,

if you create an installer for your application, you can add components that
your application depends upon. you can add these as merge modules. When your
application is installed, the installer will check if those components (like
for example the .NET framework itself) are installed, and only install them
if they aren't.

you can create a merge module for that runtime you mentioned, and add that
to your installer.

kind regards,
Bruno.
"benoit laude" <be*********@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...

hi,

I work on a windows application. It uses component of a runtime. The
runtime
is a cartographic runtime developpped in .net.
The problem is that some user doesn't have the runtime installed. Is it
possible to detect it during the execution of my program?

Benoit.

Jan 20 '06 #2
it was not what I want.

some user doesn't have the runtime installed and doesn't want it.
so I must customised my application to
- detect if the runtime is installed => How can I detect it?
- use or not the functions of the runtime.

Benoit.

"Bruno van Dooren" wrote:
Hi,

if you create an installer for your application, you can add components that
your application depends upon. you can add these as merge modules. When your
application is installed, the installer will check if those components (like
for example the .NET framework itself) are installed, and only install them
if they aren't.

you can create a merge module for that runtime you mentioned, and add that
to your installer.

kind regards,
Bruno.
"benoit laude" <be*********@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...

hi,

I work on a windows application. It uses component of a runtime. The
runtime
is a cartographic runtime developpped in .net.
The problem is that some user doesn't have the runtime installed. Is it
possible to detect it during the execution of my program?

Benoit.


Jan 20 '06 #3
Assuming that the run-time exports public classes that you would use if it
is installed, you can dynamiclly try to load the assembly (see
Assembly.Load).
Then you could use reflection (see System.Reflection and reflection) to work
with the public classes in that assembly.

if the assembly.Load method fails, you know that the run-time is not
installed.

this article covers what you want for C#, but you can use the same
techniques for managed C++
http://www.codeproject.com/csharp/introreflection.asp

kind regards,
Bruno.
"benoit laude" <be*********@discussions.microsoft.com> wrote in message
news:41**********************************@microsof t.com...
it was not what I want.

some user doesn't have the runtime installed and doesn't want it.
so I must customised my application to
- detect if the runtime is installed => How can I detect it?
- use or not the functions of the runtime.

Benoit.

"Bruno van Dooren" wrote:
Hi,

if you create an installer for your application, you can add components
that
your application depends upon. you can add these as merge modules. When
your
application is installed, the installer will check if those components
(like
for example the .NET framework itself) are installed, and only install
them
if they aren't.

you can create a merge module for that runtime you mentioned, and add
that
to your installer.

kind regards,
Bruno.
"benoit laude" <be*********@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
>
> hi,
>
> I work on a windows application. It uses component of a runtime. The
> runtime
> is a cartographic runtime developpped in .net.
> The problem is that some user doesn't have the runtime installed. Is it
> possible to detect it during the execution of my program?
>
> Benoit.


Jan 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

60
by: Fotios | last post by:
Hi guys, I have put together a flexible client-side user agent detector (written in js). I thought that some of you may find it useful. Code is here: http://fotios.cc/software/ua_detect.htm ...
1
by: jdisco | last post by:
Please help, I am trying to install MSDE 2000 so that Backup exec will run on this server. I have gotten so far as to find an entry in my SQLSTP.TXT file that says that c:\mssql7 was detected so...
0
by: Tom Williams | last post by:
I'm posting this to the newsgroup for archival purposes. :) In this thread: ...
2
by: Philippe PERON | last post by:
Hello, An ACCESS application (mde) is installed on a computer looking at an mdb file on the same machine. As far as I know the application is installed thru a Wise Installer script. The...
1
by: Ro* | last post by:
I need, for testing purpose, to create an installation of the run-time of Ms Access using Office Suite, without the Developer version. I've downloaded "Dependecy Walker"...
0
by: Hernan Garber | last post by:
Hi, Attached, the installation log. Win 2k Server SP3 IE6SP1/SQL Server Installed Thanks Setup.exe: Setup.exe: ========== Logging started ==========
8
by: kk_oop | last post by:
Hi. Any recommendations for memory leak detection tools for C++ running on Linux or Solaris? I'm interested in static (compile time) and runtime detection. It's for a large project. Thanks! ...
2
by: salad | last post by:
Hi. I have some questions regarding the distribution and installation of an application. My current application is written in A97. I figure its time the application is upgraded to A2003 to...
0
by: origami.takarana | last post by:
Intrusion Detection Strategies ----------------------------------- Until now, we’ve primarily discussed monitoring in how it relates to intrusion detection, but there’s more to an overall...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.