views:

190

answers:

1

Hi,

I just read this --> Configuring ClickOnce Trusted Publishers and got it running at another computer on network. I deployed the application on network itself (i.e. \\abc\something ).

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.. ), 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 USER DID NOT HAD VISUAL STUDIO INSTALLED?

Now, I had to EXPLICITLY go and get this thing done(i.e. importing the certificate using certmgr.exe) on user/client's computer on network. Is there a way to AUTOMATE it? where I do nothing explicitly and when user clicks setup.exe in the deployed application on network ( \\abc\something ), he/she can install the same with out getting security based prompts.

I checked out BOOTSTRAP, but could not exactly understand how to use it, HERE? I thought of pasting the certificate at it's appropriate location ( thought that importing the certificate using certmgr.exe pastes it somewhere on disk? in some "personal" directory ) ?

In gist, I want to automate the process where user can install the application from network (\\abc\something) without security/trust prompts. And I as a developer need not EXPLICITLY import the certificate in his/her/user/client's computer.

Please help, will greatly appreciate it. Thanks.

+1  A: 

CERTMGR is an MMC snapin, not an EXE. Run it as CERTMGR.MSC.

Alternatively, you can use CERTUTIL.EXE from the command line, which is available in C:\Windows\System32 on recent versions of Windows.

Roger Lipscombe