Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Question re .NET DLL Deployment

Reply
 
Old 03-12-2009   #1 (permalink)
Joseph Geretz


 
 

Question re .NET DLL Deployment

I am under the impression that .NET DLL's are 'registry free'; simply drop
them onto the target box and that's all that's required. That's the way
we've been deploying these DLL's internally, and no problem - everything
works as expected.

We're getting ready to release and I'm working on an MSI installer; it's a
little more involved than just copying the files onto the box; a web
application directory needs to be created, a database needs to be created,
etc.

Anyway, I look into Wise Installer, and I see that it's generating these
registry entries for all of these .NET DLL's. For example, see below:

So what gives, what's this all about?

Thanks for your advice!

Joseph Geretz

[HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}]
@="Altova.Xml.XsValidation+FacetCheck_string_enumeration"

[HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\Implemented
Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}]
@=""

[HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\InprocServer32]
@="mscoree.dll"
"Assembly"="AltovaXML, Version=1.0.3321.34974, Culture=neutral,
PublicKeyToken=null"
"Class"="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
"CodeBase"="[#AltovaXML.dll]"
"RuntimeVersion"="v2.0.50727"
"ThreadingModel"="Both"

[HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\InprocServer32\1.0.3321.34974]
"Assembly"="AltovaXML, Version=1.0.3321.34974, Culture=neutral,
PublicKeyToken=null"
"Class"="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
"CodeBase"="[#AltovaXML.dll]"
"RuntimeVersion"="v2.0.50727"

[HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\ProgID]
@="Altova.Xml.XsValidation+FacetCheck_string_enumeration"



My System SpecsSystem Spec
Old 03-12-2009   #2 (permalink)
Family Tree Mike


 
 

Re: Question re .NET DLL Deployment

"Joseph Geretz" <jgeretz@xxxxxx> wrote in message
news:utXUaM2oJHA.1248@xxxxxx
Quote:

>I am under the impression that .NET DLL's are 'registry free'; simply drop
>them onto the target box and that's all that's required. That's the way
>we've been deploying these DLL's internally, and no problem - everything
>works as expected.
>
> We're getting ready to release and I'm working on an MSI installer; it's a
> little more involved than just copying the files onto the box; a web
> application directory needs to be created, a database needs to be created,
> etc.
>
> Anyway, I look into Wise Installer, and I see that it's generating these
> registry entries for all of these .NET DLL's. For example, see below:
>
> So what gives, what's this all about?
>
> Thanks for your advice!
>
> Joseph Geretz
>
> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}]
> @="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
>
> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\Implemented
> Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}]
> @=""
>
> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\InprocServer32]
> @="mscoree.dll"
> "Assembly"="AltovaXML, Version=1.0.3321.34974, Culture=neutral,
> PublicKeyToken=null"
> "Class"="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
> "CodeBase"="[#AltovaXML.dll]"
> "RuntimeVersion"="v2.0.50727"
> "ThreadingModel"="Both"
>
> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\InprocServer32\1.0.3321.34974]
> "Assembly"="AltovaXML, Version=1.0.3321.34974, Culture=neutral,
> PublicKeyToken=null"
> "Class"="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
> "CodeBase"="[#AltovaXML.dll]"
> "RuntimeVersion"="v2.0.50727"
>
> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\ProgID]
> @="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
>

I think you have a dependency (reference) to AltovaXML.dll that is a COM
dll.

http://www.altova.com/manual2009/Alt...tinterface.htm

--
Mike

My System SpecsSystem Spec
Old 03-12-2009   #3 (permalink)
Joseph Geretz


 
 

Re: Question re .NET DLL Deployment

OK, thanks Mike.

You are right! I don't know why this is the default, but Wise had checked
'Generate COM Interop Registry Keys' for each .NET DLL which I had imported
to the installer project.

I'm cleaning this up right now.

Thanks!

Joseph Geretz

"Family Tree Mike" <FamilyTreeMike@xxxxxx> wrote in message
news:1F869186-971A-4E2C-894A-FEA19CCD9949@xxxxxx
Quote:

> "Joseph Geretz" <jgeretz@xxxxxx> wrote in message
> news:utXUaM2oJHA.1248@xxxxxx
Quote:

>>I am under the impression that .NET DLL's are 'registry free'; simply drop
>>them onto the target box and that's all that's required. That's the way
>>we've been deploying these DLL's internally, and no problem - everything
>>works as expected.
>>
>> We're getting ready to release and I'm working on an MSI installer; it's
>> a little more involved than just copying the files onto the box; a web
>> application directory needs to be created, a database needs to be
>> created, etc.
>>
>> Anyway, I look into Wise Installer, and I see that it's generating these
>> registry entries for all of these .NET DLL's. For example, see below:
>>
>> So what gives, what's this all about?
>>
>> Thanks for your advice!
>>
>> Joseph Geretz
>>
>> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}]
>> @="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
>>
>> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\Implemented
>> Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}]
>> @=""
>>
>> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\InprocServer32]
>> @="mscoree.dll"
>> "Assembly"="AltovaXML, Version=1.0.3321.34974, Culture=neutral,
>> PublicKeyToken=null"
>> "Class"="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
>> "CodeBase"="[#AltovaXML.dll]"
>> "RuntimeVersion"="v2.0.50727"
>> "ThreadingModel"="Both"
>>
>> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\InprocServer32\1.0.3321.34974]
>> "Assembly"="AltovaXML, Version=1.0.3321.34974, Culture=neutral,
>> PublicKeyToken=null"
>> "Class"="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
>> "CodeBase"="[#AltovaXML.dll]"
>> "RuntimeVersion"="v2.0.50727"
>>
>> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\ProgID]
>> @="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
>>
>
>
> I think you have a dependency (reference) to AltovaXML.dll that is a COM
> dll.
>
> http://www.altova.com/manual2009/Alt...tinterface.htm
>
> --
> Mike

My System SpecsSystem Spec
Old 03-12-2009   #4 (permalink)
Joseph Geretz


 
 

Re: Question re .NET DLL Deployment

> I don't know why this is the default, but Wise had checked 'Generate COM
Quote:

> Interop Registry Keys' ...
Actually, it seems that Wise is kind of intelligent about this. If the DLL
exposes classes which are engineered to support Interop access (i.e.
decorated with the requisite attributes), then it will, by default, generate
the necessary registry keys.

- Joseph Geretz -

"Joseph Geretz" <jgeretz@xxxxxx> wrote in message
news:efOAgb2oJHA.5360@xxxxxx
Quote:

> OK, thanks Mike.
>
> You are right! I don't know why this is the default, but Wise had checked
> 'Generate COM Interop Registry Keys' for each .NET DLL which I had
> imported to the installer project.
>
> I'm cleaning this up right now.
>
> Thanks!
>
> Joseph Geretz
>
> "Family Tree Mike" <FamilyTreeMike@xxxxxx> wrote in message
> news:1F869186-971A-4E2C-894A-FEA19CCD9949@xxxxxx
Quote:

>> "Joseph Geretz" <jgeretz@xxxxxx> wrote in message
>> news:utXUaM2oJHA.1248@xxxxxx
Quote:

>>>I am under the impression that .NET DLL's are 'registry free'; simply
>>>drop them onto the target box and that's all that's required. That's the
>>>way we've been deploying these DLL's internally, and no problem -
>>>everything works as expected.
>>>
>>> We're getting ready to release and I'm working on an MSI installer; it's
>>> a little more involved than just copying the files onto the box; a web
>>> application directory needs to be created, a database needs to be
>>> created, etc.
>>>
>>> Anyway, I look into Wise Installer, and I see that it's generating these
>>> registry entries for all of these .NET DLL's. For example, see below:
>>>
>>> So what gives, what's this all about?
>>>
>>> Thanks for your advice!
>>>
>>> Joseph Geretz
>>>
>>> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}]
>>> @="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
>>>
>>> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\Implemented
>>> Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}]
>>> @=""
>>>
>>> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\InprocServer32]
>>> @="mscoree.dll"
>>> "Assembly"="AltovaXML, Version=1.0.3321.34974, Culture=neutral,
>>> PublicKeyToken=null"
>>> "Class"="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
>>> "CodeBase"="[#AltovaXML.dll]"
>>> "RuntimeVersion"="v2.0.50727"
>>> "ThreadingModel"="Both"
>>>
>>> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\InprocServer32\1.0.3321.34974]
>>> "Assembly"="AltovaXML, Version=1.0.3321.34974, Culture=neutral,
>>> PublicKeyToken=null"
>>> "Class"="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
>>> "CodeBase"="[#AltovaXML.dll]"
>>> "RuntimeVersion"="v2.0.50727"
>>>
>>> [HKEY_CLASSES_ROOT\CLSID\{04F4DB06-79CC-3A63-B07D-9402B241C4EC}\ProgID]
>>> @="Altova.Xml.XsValidation+FacetCheck_string_enumeration"
>>>
>>
>>
>> I think you have a dependency (reference) to AltovaXML.dll that is a COM
>> dll.
>>
>> http://www.altova.com/manual2009/Alt...tinterface.htm
>>
>> --
>> Mike
>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Deployment Question .NET General
Deployment Question .NET General
Crystal Reports Deployment Question .NET General
Micrsoft Deployment and Vista image deployment.... Vista installation & setup
Windows Deployment Services Question Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46