"ESmith" <> wrote ...
> I'm developing an application geared towards the Vista platform and I'd
> like to use MSMQ services through WCF.
> My concern is that by default, MSMQ in not installed and I'm hesitant to
> "hope" that even with simple instructions one can ask a non-technically
> inclined user to install MSMQ services in order to use my application.
Hi Eliana,
It's not programmatic, as such; but you can start a silent installation of
MSMQ from the command line, by using the new "Package Manager" facility in
Vista and Server 2008 (and, yes: this is very reminiscent of BSD Unix and
Solaris!!! :-).Run "pkgmgr /?" at a command prompt, to see the syntax.
To install MSMQ the command would basically be:
C:\>pkgmgr /iu:MSMQ-Container;MSMQ-Server
You could run this is a batch file, script or ShellExec() call in your code.
Be aware that Windows may require Administrator consent to complete the
installation (although, there may be workarounds).
The exact details of package names for various Windows components is
described in the WAIK ("Windows Automated Installer Kit"); see
http://www.microsoft.com/downloads/d...DisplayLang=en
Thank you for using MSMQ - this is one of the most powerful and little-known
features of Windows. I spent several years working with MSMQ applications;
it can reliably sustain very high transaction rates in punishing enterprise
environments.
Good luck with the project.
--
Andrew McLaren
amclar (at) optusnet dot com dot au