Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / August 2004

Tip: Looking for answers? Try searching our database.

MSI isn't updating an existing VB6 DLL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Oliver Uhrig - 26 Aug 2004 21:35 GMT
A setup project includes C# assemblies and a VB6 DLL (vendor supplied com
object).   It's updating the assemblies just fine, but isn't replacing the
VB6 DLL.  The file does get laid down if I run the MSI again to repair.

In the setup project, the Register attribute is set to vsdrfCOMSelfReg.  The
version of the updated file hasn't changed - it's still 1.0.0.0.

Any ideas?  Thanks.

Oliver
Phil Wilson - 26 Aug 2004 22:23 GMT
MSI won't replace a file on disk if the incoming file version is the same as
the installed version. Repair shouldn't make a difference to that. If the
file versions are the same, surely the file is the same? That's the
assumption that installation programs make. Here's the MSI doc.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/both_
files_have_a_version.asp

On the other hand, if it's not really a replacement (for example because
you're using RemoveExistingVersions to remove the prior version of the
entire product) it is supposed to be replaced.
Signature

Phil Wilson [MVP Windows Installer]
----

> A setup project includes C# assemblies and a VB6 DLL (vendor supplied com
> object).   It's updating the assemblies just fine, but isn't replacing the
[quoted text clipped - 6 lines]
>
> Oliver

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.