RE: KB suggestion - install script
From: David Thielen (thielen_at_nospam.nospam)
Date: 11/04/04
- Next message: David Thielen: "RE: Word in Outlook moves caret to message body"
- Previous message: David Thielen: "RE: CommandBarControl - keeping them tied to the menu item"
- In reply to: Peter Huang: "RE: KB suggestion - install script"
- Next in thread: Yan-Hong Huang[MSFT]: "RE: KB suggestion - install script"
- Reply: Yan-Hong Huang[MSFT]: "RE: KB suggestion - install script"
- Messages sorted by: [ date ] [ thread ]
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.
> >>
> >>
> >
>
>
- Next message: David Thielen: "RE: Word in Outlook moves caret to message body"
- Previous message: David Thielen: "RE: CommandBarControl - keeping them tied to the menu item"
- In reply to: Peter Huang: "RE: KB suggestion - install script"
- Next in thread: Yan-Hong Huang[MSFT]: "RE: KB suggestion - install script"
- Reply: Yan-Hong Huang[MSFT]: "RE: KB suggestion - install script"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|