HighTechTalks DotNet Forums  

Impact of InprocServer32\RuntimeVersion ?

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss Impact of InprocServer32\RuntimeVersion ? in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Mark
 
Posts: n/a

Default Impact of InprocServer32\RuntimeVersion ? - 12-21-2007 , 09:23 AM






Hi...

Just out of curiousity, I was wondering if the InprocServer32\RuntimeVersion
registry setting of a .Net COM interop object had any effect?

I happened to notice the other day that our Wix msi projects errorneous
install all our .Net COM interop with this set to v1.1.4322 even though all
the assemblies are built v2.0.50727.

Having this registry key set wrong doesn't appear to have any ill effect, so
I was wondering if it had any effect at all?

Thanks
Mark


Reply With Quote
  #2  
Old   
Phil Wilson
 
Posts: n/a

Default Re: Impact of InprocServer32\RuntimeVersion ? - 12-21-2007 , 04:02 PM






I've not seen it have any effect at all. I think it's just info. I think WiX
used a 1.1 regasm equivalent to create the registry entries because WiX has
been a 1.1 framework app until literally this week.
--
Phil Wilson
[MVP Windows Installer]

"Mark" <mmodrall (AT) nospam (DOT) nospam> wrote

Quote:
Hi...

Just out of curiousity, I was wondering if the
InprocServer32\RuntimeVersion
registry setting of a .Net COM interop object had any effect?

I happened to notice the other day that our Wix msi projects errorneous
install all our .Net COM interop with this set to v1.1.4322 even though
all
the assemblies are built v2.0.50727.

Having this registry key set wrong doesn't appear to have any ill effect,
so
I was wondering if it had any effect at all?

Thanks
Mark




Reply With Quote
  #3  
Old   
Walter Wang [MSFT]
 
Posts: n/a

Default Re: Impact of InprocServer32\RuntimeVersion ? - 12-23-2007 , 11:18 PM



The "RuntimeVersion" key is there to enforce that the component can only be
run on a CLR version equal to or higher than the version specified in this
key. This key may get ignored in versions of the CLR < 2.0. I haven't
found any further information about this key and it seems undocumented and
unsupported.


Regards,
Walter Wang (wawang (AT) online (DOT) microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.