title: Automating ClickOnce deployment with security (certificates, etc.) such that client installs the application without any prompt
body: <p>I just read <em><a href="http://msdn.microsoft.com/en-us/library/ms996418.aspx" rel="nofollow noreferrer">Configuring ClickOnce Trusted Publishers</a></em> and got it running at another computer on network. I deployed the application on network itself (that is, <code>\\\abc\something</code>).</p>
  
  <p>Though I could not find certmgr.exe as part of Windows core component, as the article says (..so you will need to use the certificate management console (certmgr.exe) included in Windows..), I instead found it at "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin". It worked fine, but did I miss something? I mean, what if the user did not have Visual Studio installed? </p>
  
  <p>Now, I had to <em>explicitly</em> go and get this thing done (that is, importing the certificate using certmgr.exe) on the user/client's computer on the network. Is there a way to <em>automate</em> it? Where I do nothing explicitly and when the user clicks <code>setup.exe</code> in the deployed application on the network (<code>\\\abc\something</code>), he/she can install the same without getting security-based prompts.</p>
  
  <p>I checked out BOOTSTRAP, but I could not exactly understand how to use it, HERE? I thought of pasting the certificate at its appropriate location (thought that importing the certificate using <code>certmgr.exe</code> pastes it somewhere on the disk? In some "personal" directory)?</p>
  
  <p>In gist, I want to automate the process where user can install the application from network (<code>\\\abc\something</code>) without security/trust prompts. And I as a developer need 
  not <em>explicitly</em> import the certificate in his/her/user/client's computer. </p>