visual studio 2010 - How to enable MSMQ programatically in C#? -
i have server request queue , client responsive queue. want install msmq pragmatically on client on server machine i.e. not manually going server manager/add window's features. please in regard.
you can start
dism.exe /online /enable-feature /featurename:msmq-server /all
as process using:
system.diagnostics.process.start()
if need aditionally msmq features, can find list doing:
dism.exe /online /get-features | find "msmq"
which gives like:
feature name : msmq-container feature name : msmq-server feature name : msmq-triggers feature name : msmq-adintegration feature name : msmq-http feature name : msmq-multicast feature name : msmq-dcomproxy feature name : wcf-msmq-activation45
Comments
Post a Comment