|
-
May 9th, 2007, 06:04 PM
#1
Thread Starter
Junior Member
[RESOLVED] Deploy existing non dependent dll
Hi All,
I have a deployment question that has really slowed me down for a couple of days. I am using VS 2005 and am attempting to deploy a Class Library that will be used by an existing application.
Let me explain the architecture.
1. Existing Application
2. Calls a VB6 dll that
3. Calls a VB.NET Class Library
I have updated the VB6 dll to call the VB.Net Class Library. This is compiled and working on my development machine.
What I want to acheive is to include the VB6 dll in my deployment project, unregister it on the target machine, copy the updated version (that calls my .NET Class Library) and re-register is on the target machine.
I have created a deployment package, however it is not including the VB6 dll when installing the package. After running setup.exe the existing VB6 dll is still the original version and not the version that I have on my development machine. I have a sickening feeling that I have failed to do something simple.
Any help would be appreciated.
Cheers,
Dave
-
May 9th, 2007, 07:22 PM
#2
Re: Deploy existing non dependent dll
You probably need to manually include it in your setup and do what you need to do.
-
May 9th, 2007, 07:34 PM
#3
Thread Starter
Junior Member
Re: Deploy existing non dependent dll
Thanks Randem,
I have added the Common Files Folder (and the 2 sub folders where the dll should be installed to). C:\Program Files\Common Files\XXX\XXX\VB6.dll should be the destination.
I added this to the File System in the setup package.
There are no conditions to this file. It is registered as vsdrfCOMSelfReg
I will keep trying.
Cheers,
Dave
-
May 9th, 2007, 08:51 PM
#4
Thread Starter
Junior Member
Re: Deploy existing non dependent dll
I should have been more clear about my requirements. The VB6 dll is already on the target machine. I want to update this file with a VB6 dll that I have edited. When I add the VB6 dll to the application folder everything works dandy. When I try to over write the existing dll with my updated one it does not over write the old dll.
-
May 9th, 2007, 08:53 PM
#5
Re: Deploy existing non dependent dll
It should not if the installed version is newer than the one you attempt to install. You need to give very detailed information about the files.
-
May 9th, 2007, 08:59 PM
#6
Thread Starter
Junior Member
Re: Deploy existing non dependent dll
Thanks Randem. I have checked and the updated DLL that I want to install is version 7.1.0.13 whereas the verson on the target machine is 7.50.3.4. I need to go back to VB6 and update the version number on the dll I am trying to distribute.
Thanks again, I hopefully have now stopped swearing profusely at my computer!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|