473,516 Members | 3,399 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

InstallUtil: custom options

I have 2 questions about custom options in InstallUtil.

The help screen for InstallUtil says this:

--- quote ---
Options take the form /switch=[value]
<...a list of options follows...>
Individual installers used within an assembly may recognize other options.
To learn about these options, run InstallUtil with the paths of the
assemblies
on the command line along with the /? or /help option.
--- end of quote ---

The questions are:
1. How do I get the custom options passed into InstallUtil?
Suppose I type a command line:
installutil /x=a /y=b <assembly_name.dll>
How do I get "x=a" and "y=b" in my class?

2. How do I pass the information about supported custom options to
InstallUtil, so that
it is available from "installutil /? <assembly_name.dll>".

Thank you.

Jul 21 '05 #1
0 2165

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

Similar topics

7
34370
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? ---------------------------------------------- when you fear to fail, you fear something that has not yet happened. *** Sent via Developersdex...
0
2608
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 any method or component to wrote registry) After I used "InstallUtil" to registry Enterprise Library (those DLLs) to the deployment server, the...
5
6192
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 don't get prompted. Here is an example of my script. No matter what I still get prompted. Does anyone have any Ideas? ...
0
326
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 installers used within an assembly may recognize other options. To learn about these options, run InstallUtil with the paths of the assemblies
3
11934
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 far as creating a service with 2003 C# that Installutil works with with then I try to upgrade the 2003 project to 2005 and then I start getting the...
2
1759
by: NickP | last post by:
Hi there, I have a custom installer component which is declared like so... <RunInstaller(True)> _ Public Class LicenseInstaller Inherits System.Configuration.Install.Installer Never had any problems with it in the past but now InstallUtil.exe is saying that there are "no public installers with the
1
11974
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 on Vista Business and I did not see that Framework was installed. I decided that Framework 3 is there and it's not necessary to install Framework 2....
4
3979
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... I've got some perf counters that I install with a PerformanceCounterInstaller. I've got new code I want to test and legacy code installed on the same system. I *thought* that the PerformanceCounterInstaller would fail if the counter category was already installed. It appears, however, that InstallUtil just installs over the old...
2
3115
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 right. My question now, how can I know, in my code in Installer class, if the caller is MSI or installutil ??
0
7273
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7574
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5712
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3265
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3252
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1620
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
487
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.