RE: InstallUtilLib & EIF

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Patrice T. (PatriceT_at_discussions.microsoft.com)
Date: 08/26/04


Date: Wed, 25 Aug 2004 19:03:06 -0700

Mike,

Could you please repost the sample project that you're talking about - I
have the exact same problem and the message has timed-out from the server.

Thanks.

"Mike Hayton [MS]" wrote:

> Yes there are known issues with installutil running from an MSI and EIF.
>
> The main problem is in EIF - The current working directory (CWD) that
> installutil runs in needs to be the one containing the installed assembly.
> However under msiexec, its typically running in the CWD of
> C:\windows\system32.
>
> There's a workaround - a simple app that flips over the CWD, runs
> installutil and then flips back the CWD. This simple app can be called as
> a custom command in the msi.
>
> I've attached the work around (includes a sample VS Deployment & Setup
> project) showing its use.
> Note: most of the web base browsers dont show the attachments. If you cant
> see this attachment maybe use some other newgroup reader. Alternatively,
> reply with your email address (add some spaces or DELETETHISBIT into the
> email address, so the spam bots dont pick it up) and I'll email it to you.
>
> Cheers
>
> Mike
>
> --------------------
> | Hi,
> | I am trying to install an instrumented dll using msi. I am using the
> InstallUtilLib.dll based custom actions to do this. But eh install is
> failing..The log file prints
> | "Creating an EnterpriseInstrumentation configuration file for this
> assembly and its referenced assemblies..."
> | and then outputs the rollback statements..
> | However f I use installutil.exe to do the same install, I do not get any
> errors..
> | The log file in that case contains statements like
> | Scanning ProviderProprietor...
> | Scanning Microsoft.EnterpriseInstrumentation...
> | Microsoft.EnterpriseInstrumentation.EventSource.applicationEventSource
> | Microsoft.EnterpriseInstrumentation.EventSource.Application
> | and so on.
> | Are there any known issues with Installutillib.dll & EIF. Any other
> pointers/refrences would be helpful too..
> | Thanks,
> | --------------------------------
> | From: subir t
> |
> | --------------------------------
> | From: subir t
> |
> | -----------------------
> | Posted by a user from .NET 247 (http://www.dotnet247.com/)
> |
> | <Id>MZtcNNuM6UurmAYn6Iz8gQ==</Id>
> |
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright



Relevant Pages

  • Re: Express Components/Delphi6 problem
    ... >When doing a new Delphi install, ... Install Delphi. ... Compile a project (any sample project will do). ...
    (comp.lang.pascal.delphi.misc)
  • Re: Express Components/Delphi6 problem
    ... When doing a new Delphi install, ... Compile a project (any sample project will do). ...
    (comp.lang.pascal.delphi.misc)
  • Re: Express Components/Delphi6 problem
    ... On Wed, 18 Feb 2004 18:02:08 GMT, Scot Shepherd ... Compile a project (any sample project will do). ... Install the service packs. ...
    (comp.lang.pascal.delphi.misc)
  • XML Reporting Wizard
    ... I installed a new copy of Project Professional 2003 with a full install ... When I open a sample project and try to use the XML Reporting Wizard I only ... error messageas it is dying, then the cursor has a stroke. ...
    (microsoft.public.project)
  • Re: recursive module dependencies
    ... > complains that it needs Cwd. ... Cwd is part of PathTools. ... PathTools won't install because I'm ...
    (comp.lang.perl.misc)