Interop/deploy Questions!
From: Kris Rudin (krudin_at_nospam.com)
Date: 02/03/04
- Next message: david: "why my C# component COM is not listed"
- Previous message: Jay B. Harlow [MVP - Outlook]: "Re: Slow opening of outlook"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: david: "why my C# component COM is not listed"
- Previous message: Jay B. Harlow [MVP - Outlook]: "Re: Slow opening of outlook"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|