PC Review


Reply
Thread Tools Rate Thread

How do I install a class library using a Windows MSI file?

 
 
Rico
Guest
Posts: n/a
 
      26th Aug 2009
Hello,

I'm new to VB.net and I have developed a COM visible class library / dll
that I want to install on the target machine. I'm using an MSI file to
install another program that needs to use this COM visible DLL (older
version of Access) and can't seem to find a good google link to figure out
how to include this dll installation without having to be sitting in front
of the computer myself. This will be a remote installation, and all the
search hits I've found have to do with C# or using REGASM.EXE and I can't
find anything that even tells me how to create a "Set Up and Deployment"
(which I'm also new to) package for a single DLL. If all else fails, that
would even be acceptable (creating the separate setup file).

Any help or direction at all would be very helpful.

Thank You.

Rick


 
Reply With Quote
 
 
 
 
Joe Cool
Guest
Posts: n/a
 
      26th Aug 2009
On Aug 26, 11:53*am, "Rico" <m...@you.com> wrote:
> Hello,
>
> I'm new to VB.net and I have developed a COM visible class library / dll
> that I want to install on the target machine. *I'm using an MSI file to
> install another program that needs to use this COM visible DLL (older
> version of Access) and can't seem to find a good google link to figure out
> how to include this dll installation without having to be sitting in front
> of the computer myself. *This will be a remote installation, and all the
> search hits I've found have to do with C# or using REGASM.EXE and I can't
> find anything that even tells me how to create a "Set Up and Deployment"
> (which I'm also new to) package for a single DLL. *If all else fails, that
> would even be acceptable (creating the separate setup file).
>
> Any help or direction at all would be very helpful.
>


Any project can have a Setup project added to it. If it is a class
library, it is my impression that the MSI to install it will register
it. So any subsequent app that is installed that needs it can find it.

But if you build an MSI with a setup project for an app that uses the
DLL, and the main project references the DLL (not late bound), then
the MSI should include the DLL.
 
Reply With Quote
 
Wilson, Phil
Guest
Posts: n/a
 
      27th Aug 2009

What tool are you using to create the MSI file? Most of them (VS setup
projects included) have a Register property on the Dll that you set to (for
setup projects) vsdraCOM that just does the necessary.
--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"Rico" <(E-Mail Removed)> wrote in message news:UTclm.42707$PH1.20457@edtnps82...
> Hello,
>
> I'm new to VB.net and I have developed a COM visible class library / dll
> that I want to install on the target machine. I'm using an MSI file to
> install another program that needs to use this COM visible DLL (older
> version of Access) and can't seem to find a good google link to figure out
> how to include this dll installation without having to be sitting in front
> of the computer myself. This will be a remote installation, and all the
> search hits I've found have to do with C# or using REGASM.EXE and I can't
> find anything that even tells me how to create a "Set Up and Deployment"
> (which I'm also new to) package for a single DLL. If all else fails, that
> would even be acceptable (creating the separate setup file).
>
> Any help or direction at all would be very helpful.
>
> Thank You.
>
> Rick
>
>


 
Reply With Quote
 
Rico
Guest
Posts: n/a
 
      9th Sep 2009
Hi Phil,

Thanks for your response. I'm using the SageKey MSI Wizard. With the old
self registering COM dlls, it would handle this fine, but I haven't had
success with the COM visible .NET class library.

Rick



"Wilson, Phil" <(E-Mail Removed)> wrote in message
news:AB691A1B-62A3-49B0-AE7E-(E-Mail Removed)...
>
> What tool are you using to create the MSI file? Most of them (VS setup
> projects included) have a Register property on the Dll that you set to
> (for setup projects) vsdraCOM that just does the necessary.
> --
> Phil Wilson
> The Definitive Guide to Windows Installer
> http://www.apress.com/book/view/1590592972
>
>
> "Rico" <(E-Mail Removed)> wrote in message
> news:UTclm.42707$PH1.20457@edtnps82...
>> Hello,
>>
>> I'm new to VB.net and I have developed a COM visible class library / dll
>> that I want to install on the target machine. I'm using an MSI file to
>> install another program that needs to use this COM visible DLL (older
>> version of Access) and can't seem to find a good google link to figure
>> out how to include this dll installation without having to be sitting in
>> front of the computer myself. This will be a remote installation, and
>> all the search hits I've found have to do with C# or using REGASM.EXE and
>> I can't find anything that even tells me how to create a "Set Up and
>> Deployment" (which I'm also new to) package for a single DLL. If all
>> else fails, that would even be acceptable (creating the separate setup
>> file).
>>
>> Any help or direction at all would be very helpful.
>>
>> Thank You.
>>
>> Rick
>>
>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install a class library using a Windows MSI file? Rico Microsoft VB .NET 3 9th Sep 2009 03:20 PM
Basic How To Question: Class Library or Windows Control Library eBob.com Microsoft VB .NET 3 20th Feb 2006 08:12 PM
Class Library in CF vs Windows Class Library TechGladiator Microsoft Dot NET Compact Framework 3 27th Jan 2006 12:55 AM
looking for vb.net library class CHM file amy Microsoft Dot NET 0 8th Jan 2004 05:20 AM
how to install Windows service and class library shiv Microsoft Dot NET Framework Forms 3 19th Dec 2003 06:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:10 AM.