determining whether VC8 C/C++ SxS assemblies are installed.

  • Thread starter Thread starter RossettoeCioccolato
  • Start date Start date
R

RossettoeCioccolato

How do I determine programmatically whether or not the
VC8 C/C++ SxS assemblies currently are installed on a system?

Regards,

Rossetoecioccolato.
 
Bruno,

The problem is that I also need to make this determination remotely so that
I can decide whether or not I need to deploy the full package or not.

Regards,

George.
 
The problem is that I also need to make this determination remotely so
that I can decide whether or not I need to deploy the full package or not.

What do you mean with 'remotely'? how does your setup procedure work?
Do you use an MSI file?
Because in that case you could add the expected .NET assemblies to the
prerequisites so that the installer makes this check for you.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 
Bruno,
What do you mean with 'remotely'? how does your setup procedure work? <

One of the deployment scenarios requires me to deploy the software to the
Admin$ share on the corporate intranet. When I am deploying locally I can
use loadlibrary as you suggest. However, I also need to make the
determination from a remote management station.
Do you use an MSI file?<

No, sorry. For this application that is not possible.

Regards,

George.
 
One of the deployment scenarios requires me to deploy the software to the
Admin$ share on the corporate intranet. When I am deploying locally I can
use loadlibrary as you suggest. However, I also need to make the
determination from a remote management station.

Since you have admin privileges on that machine, I can see at least a couple
of options:
- find out if there is a specific registry value that indicates if the
assembly is installed, then connect to the remote registry and look for this
key.
- write a tool to try to load that assembly from the remote location. might
be more work.
- invoke gacutil remotely via e.g. a batch file, and look for the specific
assembly you need.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 
Back
Top