Results 1 to 4 of 4

Thread: help understanding gacutil.exe and the regisetred dll path

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Posts
    589

    help understanding gacutil.exe and the regisetred dll path

    I have this code in a VS2003 setup Project called mySetup.exe that registers the TranslatorHttpHandler.dll in the GAC:

    string strCmdLine;
    strCmdLine = @"/C C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\gacutil.exe -i TranslatorHttpHandler.dll";
    System.Diagnostics.Process.Start("CMD.exe",strCmdLine);


    Is this command going to look for the file TranslatorHttpHandler.dll in the same folder where mySetup.exe is located or where.

    What I don t understand, even if I rename the TranslatorHttpHandler.dll that I have in the setup folder to another name the registration (setup project) runs without a problem.

    Thanks a lot.
    Thanks a lot for your help.

  2. #2
    New Member
    Join Date
    Jan 2007
    Location
    Gurgaon,India
    Posts
    7

    Re: help understanding gacutil.exe and the regisetred dll path

    To understand gacutil.exe ... see this link

    http://moredotnet.googlepages.com/netframework

    cheers

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: help understanding gacutil.exe and the regisetred dll path

    I believe it will look for TranslatorHttpHandler.dll in the same folder from which mySetup.exe is being executed.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Posts
    589

    Re: help understanding gacutil.exe and the regisetred dll path

    yes. i was wrong. it doesn t copy it if it doesn t exist.\Thanks guys
    Thanks a lot for your help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width