<p>I have a application deployed through clickonce, but How can I modify the config file on the deployment server?.  I mean, once the product is tested, it should be deployed in our production server, but need to modify some of the config parameters to consume production resources?. I heard we should use MageUI.exe, but still not sure. </p>

<p>I appreciate for your help.</p>

<p>Thank</p>

Yes, the best way to do it would probably be MageUI.  Just open your manifests with MageUI, click
Save
and it should prompt you to resign the manifests.
You have two options when signing manifests.  You can use a self-certificate or purchase a certificate.  Self certificates are easy to use but when the app is installed the publisher will appear as
Unknown
.  If you purchase a certificate, use these instructions to create the files needed to sign ClickOnce manifests -
http://www.softinsight.com/bnoyes/CommentView.aspx?guid=78d107d1-3937-4d8d-81d9-73cb6ae18eee
.