Message Queue Installation


Message queues can be created with the MessageQueue.Create() method. However, the user running an application usually doesn't have the administrative privileges that are required to create message queues.

Usually message queues are created with an installation program. For installation programs, the class MessageQueueInstaller can be used. If an installer class is part of an application, the command- line utility installutil.exe (or a Windows Installation Package) invokes the Install() method of the installer.

Visual Studio 2005 has a special support for using the MessageQueueInstaller with Windows Forms applications. If a MessageQueue component is dropped from the toolbox onto the form, the smart tag of the component allows you to add an installer with the menu entry Add Installer. The MessageQueueInstaller object can be configured with the properties editor to define transactional queues, journal queues, the type of the formatter, the base priority, and so on.

Note

Installers are discussed in Chapter 36, "Windows Services."




Professional C# 2005
Pro Visual C++ 2005 for C# Developers
ISBN: 1590596080
EAN: 2147483647
Year: 2005
Pages: 351
Authors: Dean C. Wills

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net