Interop/deploy Questions!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Kris Rudin (krudin_at_nospam.com)
Date: 02/03/04


Date: Tue, 3 Feb 2004 11:19:14 -0800

I have developed a C# application that uses the MS DSO (decision support
objects). I simply added the library as a reference in Visual Studio, and
then said "using DSO". This gives me the ability to create DSO objects and
use methods/properties.

This works fine on my machine.

What I don't understand is how to transfer this to another machine. I see 4
new Interop DLLs in my release directory, but it's apparently not enough to
just copy them over to the target machine, along with the EXE.

We created an installer, using the setup project in VS, and when it installs
it seems
to have the directory path to the DSO source library as the path on my
machine. This is not the path on the target machine (not even the same drive
on the target).

I guess I don't understand:
a) Is adding DSO as a reference the right way to include this?
b) How does one deploy this to a target machine, that may already have the
library installed, but in a different location? Will I have to make a new
copy of the DSO library on the target machine where my application expects
it? If so, what will that do for other applications that are currently using
DSO in its original location?
c) Why does the installer seem to "hard code" the location of the library
(to its location on my machine)? Why isn't it part of the application as a
whole?

I'm obviously missing something, here. I've read several online tutorials,
and looked at examples on MSDN. None of them seem to apply to my situation.

Please help me understand what I need to do to deploy this application.

Thanks!

Kris Rudin



Relevant Pages

  • Re: WW1 Royal Navy DSO medal
    ... We are looking for a reference that will tell her why her relative, who served in the Royal Navy, was awarded a DSO. ... The Distinguished Service Order (DSO) was awarded to commissioned officers for distinguished service, normally in positions of command but also, and much less frequently, for individual acts of gallantry. ...
    (soc.genealogy.britain)
  • Re: WW1 Royal Navy DSO medal
    ... served in the Royal Navy, ... We have had a look in TNA but did not find a reference to help. ... Details of DSO awards certainly can appear, ...
    (soc.genealogy.britain)
  • Re: Windows appears to have missing files
    ... Run Ad-Aware SE, Spybot and HijackThis: ... To avoid the False-Flag for the DSO Exploit, ... >I have recently discovered that windows installer had disappeared ... > disk clean up, defrag... ...
    (microsoft.public.windowsxp.general)
  • creating dsos
    ... ok but in the dso I need to refer to a global var in the main executable: ... I can load the module and reference it if there is no reference to the ... extern "C" volatile int volvar; ... so the dso can reference global variables and fns? ...
    (comp.os.linux.development.apps)
  • RE: Circular conflict using ADOMD in Visual Studio
    ... DSO reference that is causing the dependency to ADODB 2.7.0.0. ... > automatically includes the ADODB interop assemly as well as ADOMD. ... > Project 'ITWOlapControls' cannot be copied to the run directory because it ...
    (microsoft.public.dotnet.framework.interop)