471,339 Members | 1,239 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,339 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
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 2024

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by scarred wind | last post: by
5 posts views Thread by Jamin Mace | last post: by
reply views Thread by Mike R | last post: by
3 posts views Thread by Installutil System.BadImageFormatExcepti | last post: by
2 posts views Thread by NickP | last post: by
1 post views Thread by vovan | last post: by
4 posts views Thread by =?Utf-8?B?TWFyaw==?= | last post: by
2 posts views Thread by =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post: by
reply views Thread by rosydwin | last post: by

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.