Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on upgrade install of reg-free com interop DLL
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01521483
Message ID:
01521638
Vues:
42
>Are you incrementing the version number in the COM DLL? I would think that that's crucial in order for the installer to detect the changes?
>
>Another option: Skip the Interop assembly and go with dynamic typing in .NET 4.0. This removes the interop assembly and provides direct access (w/o strong typing however) for the COM DLL. One additional benefit is that dynamic will work with nested FoxPro types where Interop assembly imports will only give you top level properties and returned nested objects as 'object'.
>


Yes, I was incrementing the version in the COM DLL. However, the interop DLL would remain at version 1.0.0.0. Since we're using a VS setup project to create the MSI, what I've decided to do was add a post-build event to hack the MSI itself and record a higher version number for the interop, which effectively forces the installer to copy the file down. This solution seems to do the trick.
Jon Rosenbaum
Devcon Drummer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform