Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on upgrade install of reg-free com interop DLL
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01521483
Message ID:
01521638
Views:
44
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform