473,396 Members | 2,121 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 RunInstallerAttribute.Yes attribute could be
found"

Any clue to what is missing??
Owe
Jul 21 '05 #1
2 5472
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:
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 RunInstallerAttribute.Yes attribute could be
found"

Any clue to what is missing??
Owe

Jul 21 '05 #2
So what change should I make to security for this to work??
What do you mean by partially trusted??
Owe

"Ben Solomon" wrote:
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:
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 RunInstallerAttribute.Yes attribute could be
found"

Any clue to what is missing??
Owe

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike R | last post by:
I have 2 questions about custom options in InstallUtil. The help screen for InstallUtil says this: --- quote --- Options take the form /switch= <...a list of options follows...> Individual...
0
by: TT (Tom Tempelaere) | last post by:
Hi there The following is a description to reproduce the problem. I do not know if this is a bug in the .NET environment/framework (I suspect it is), or if there is something that I am doing...
7
by: scarred wind | last post by:
when i run my program, an error message prompt me that i should add the installutil.exe. How do i checked for the installutil.exe? How can i add it to my Timer program? ...
9
by: shaddock | last post by:
Hello, When trying to run the InstallUtil.exe, I get the error below. Any insights? 'installutil' is not recognized as an internal or external command, operable program or batch file. ...
0
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't...
5
by: Jamin Mace | last post by:
I'm trying to create a batch script that will allow me to use the .Net installutil.exe to install a windows service. I want to be able to specify the username and pasword in my script so that I...
3
by: Installutil System.BadImageFormatExcepti | last post by:
I've tried to make a Windows Service using the 2005 C# and when I go to use Installutil it returns with an System.BadImageFormatException error while intializing the installation. I've even gone as...
1
by: vovan | last post by:
My VB 6 program uses Windows Service I developed with VB 2005. Setup for VB 6 project, created in InstallShield 12, installs Framework 2 if it is not presented on the client machine. I ran setup...
0
by: meo45 | last post by:
All i want to do is add a service line to the SCM. I searched the net to do this in code with C# but found no decent way to do this. The only workable way was to use the .net utility...
2
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi all people, everybody I create several windows services in VS 2005. The services can be installed by MSI, and too using installutil command. If the service has Installer class, all is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.