RE: KB suggestion - install script

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Thielen (thielen_at_nospam.nospam)
Date: 11/04/04


Date: Thu, 4 Nov 2004 06:04:02 -0800

Hi;

Ok, I give up on this one. (But with no KB article you are going to continue
to get lots of questions from people asking for help each time they hit
problems - and most will hit these problems.)

So, no you didn't answer this question - but I don't think you can.

- dave

""Peter Huang"" wrote:

> Hi
>
> Comments in line.
>
>
> Best regards,
>
> Peter Huang
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no rights.
> --------------------
> >Thread-Topic: KB suggestion - install script
> >thread-index: AcTBurElG3vhm0GjTRu1eQZRBj7nYQ==
> >X-WBNR-Posting-Host: 199.45.247.98
> >From: "=?Utf-8?B?RGF2aWQgVGhpZWxlbg==?=" <thielen@nospam.nospam>
> >References: <A1671F39-CDF8-4A68-BB20-8D91A9E65BED@microsoft.com>
> <1FP4PC#vEHA.3388@cpmsftngxa10.phx.gbl>
> <B470DEEC-A6DB-47DF-831E-F59C12D2CD5E@microsoft.com>
> <ghk1cGLwEHA.3028@cpmsftngxa10.phx.gbl>
> >Subject: RE: KB suggestion - install script
> >Date: Wed, 3 Nov 2004 07:35:05 -0800
> >Lines: 40
> >Message-ID: <0E22DE58-D3E4-45B1-87E3-71AB08A90DAB@microsoft.com>
> >MIME-Version: 1.0
> >Content-Type: text/plain;
> > charset="Utf-8"
> >Content-Transfer-Encoding: 7bit
> >X-Newsreader: Microsoft CDO for Windows 2000
> >Content-Class: urn:content-classes:message
> >Importance: normal
> >Priority: normal
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> >Newsgroups: microsoft.public.office.developer.com.add_ins
> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
> >Xref: cpmsftngxa10.phx.gbl
> microsoft.public.office.developer.com.add_ins:7070
> >X-Tomcat-NG: microsoft.public.office.developer.com.add_ins
> >
> >Hi;
> >
> >Yes, I've read that a ton (and implemented it). But it doesn't answer
> things
> >like:
> >
> >1) If the shim doesn't work, why isn't it working (bad registry setting,
> not
> >strongly named managed assemblies, mismatched GUIDs, etc.)
>
> This may need troubleshooting.
> e.g. use the regmon to monitor the registry, COM will load the com dll
> based on the registry. We can monitor to see which steps failed.
> After than we can use filemon to monitor the file, because after the COM
> located the dll, he needs to load the com dll file, we can troubleshooting
> if the load is successful.
> If that still did not work, we need to set breakpoint in the code to do the
> debug.
>
> >2) It does not explain the registry settings. And if you just follow the
> >article you end up with a) too much in the registry, and b) no way to let
> the
> >install select install for all vs just me.
>
> The shim wizard will generate a standard ATL project for us, you may read
> the .rgs file to see what it happen in the registry.
> Also you may try to generate two atl projects, one for all user and one for
> current user, so that you will know the difference
>
>
> >3) What reference files are needed in the installer.
> Commonly the shim dll and the managed dll is needed. But to work the code
> we need another basic service.
> e.g. we must need .net framework to host the managed dll.
>
> >4) etc.
> >
> >The bottom line is that there is a lot of info you need to make sure you
> are
> >coding and installing an add-in correctly that just does not exist.
> >
> >thanks - dave
> >
> >
> >""Peter Huang"" wrote:
> >
> >> Hi Dave,
> >>
> >> Here is an article about how to use and deploy managed addin with shim.
> >> Using the COM Add-in Shim Solution to Deploy Managed COM Add-ins in
> Office
> >> XP
> >>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/htm
> >> l/odc_comshim.asp
> >>
> >> You may have a try and let me know the result.
> >>
> >> Best regards,
> >>
> >> Peter Huang
> >> Microsoft Online Partner Support
> >>
> >> Get Secure! - www.microsoft.com/security
> >> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> >>
> >>
> >
>
>



Relevant Pages

  • Re: Ask Windows XP Expert Walter Clayton About Spyware
    ... > may use the AppInit_DLLs registry value to load their DLLs. ... your .dll can call the RegisterClassEx function to ... register a window class that defines a custom control as an application ...
    (microsoft.public.windowsxp.basics)
  • RE: How an add-in starts - I think I have it
    ... >my case and gets the CLSID subkey value. ... the addin will load the version that is specified in the ... then the mscoree to load the managed dll. ... Windows Registry Editor Version 5.00 ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: "No .rel file found for module "
    ... about your dll, assuming it has gotten far enough to attempt to load it. ... I thought maybe it was the registry data too, ... The driver is straight from freescale and is supposedly good, ...
    (microsoft.public.windowsce.app.development)
  • Re: ADODB.ConnectionClass on Windows 2003
    ... but tinkering with the registry is ... try a full MDAC install if you can. ... >> windows 2003 servers, but on this particular 2003 server, it fails to ... or does that DLL depend on other DLLs. ...
    (microsoft.public.data.ado)
  • Trying to install DBD::MySQL on raq3 - Failed 17/18 test scripts, 5.56% okay. 727/730 subtests faile
    ... I'm trying to install DBD-mysql-2.9004. ... Perhaps a required shared library or dll isn't installed where expected ... FAILED tests 4-5 ... t/20createdrop.....install_driverfailed: Can't load ...
    (perl.dbi.users)