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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -