473,382 Members | 1,557 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,382 software developers and data experts.

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
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 2156

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

Similar topics

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? ...
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...
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...
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...
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...
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...
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...
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...
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...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.