InstallUtil

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Owe Armandt

    #1

    InstallUtil

    Having a problem to install a C# service on my server. The service installs
    fine on other machines but not on this server. I have installed other
    services previously though.

    The error message from InstallUtil is:
    "No public installers with the RunInstallerAtt ribute.Yes attribute could be
    found"

    Any clue to what is missing??


    Owe


  • Ben Solomon

    #2
    RE: InstallUtil

    There's a .NET security issue for public installers - "member can't
    be used by partially trusted code"

    In addition - the fact that it only occurs on one particular server points
    at security as well.

    InstallUtil can be run "manually" for a particular assembly with a log file
    switch (you'd need to define which assembly fails first).


    "Owe Armandt" wrote:
    [color=blue]
    > Having a problem to install a C# service on my server. The service installs
    > fine on other machines but not on this server. I have installed other
    > services previously though.
    >
    > The error message from InstallUtil is:
    > "No public installers with the RunInstallerAtt ribute.Yes attribute could be
    > found"
    >
    > Any clue to what is missing??
    >
    >
    > Owe
    >
    >[/color]

    Comment

    • Owe Armandt

      #3
      RE: InstallUtil

      So what change should I make to security for this to work??
      What do you mean by partially trusted??


      Owe

      "Ben Solomon" wrote:
      [color=blue]
      > There's a .NET security issue for public installers - "member can't
      > be used by partially trusted code"
      >
      > In addition - the fact that it only occurs on one particular server points
      > at security as well.
      >
      > InstallUtil can be run "manually" for a particular assembly with a log file
      > switch (you'd need to define which assembly fails first).
      >
      >
      > "Owe Armandt" wrote:
      >[color=green]
      > > Having a problem to install a C# service on my server. The service installs
      > > fine on other machines but not on this server. I have installed other
      > > services previously though.
      > >
      > > The error message from InstallUtil is:
      > > "No public installers with the RunInstallerAtt ribute.Yes attribute could be
      > > found"
      > >
      > > Any clue to what is missing??
      > >
      > >
      > > Owe
      > >
      > >[/color][/color]

      Comment

      Working...