deploying .NET/ActiveX via cab
-
I am currently working on deploying a .NET component (Windows Form - UserControl) for use [embedded] in Internet Explorer. The actual delivery system is this: I have a deployment project that packages everything as an *.msi This *.msi + an *.inf are packaged in a CAB file, which is referenced in the CODEBASE attribute of the object tag in the markup. This part is great - it is deployed, installed, & works fine. What I am dealing with now is the upgrade process.. From all of my research & trials, which can more or less be neatly summed up on this page.. http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1536629&SiteID=1[^] Since mscoree.dll is what has to instantiate the object for IE to host it, when msiexec installs my component, everything is installed referencing the .NET2.0 version, 2.0.50727.1433. So, for IE to be able to hook into the code base & install it properly, I have to append the version information (to the codebase attribute) as 2.0.50728. This is obviously sub-optimal, and presents the need for a potentially ugly workaround. Per some of the articles/posts I have read, I have fiddled with registry values in the following keys, but to no avail. HKEY_CLASSES_ROOT\CLSID\{...}\InprocServer32 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{...} If anyone has had to deal with a similar case, or has any ideas on what to try, I would definitely appreciate the help! Thanks -