install certificate with administrator rights
Hi I'm command "runas /env /user:administrator "certutil -addstore root myrootca.cer" When I use this command in command prompt it is asking for the administrator password but when integrating it in NSI script the pop up for running command 开发者_如何学JAVAcome and disappears but doesn't ask for the password hence the command fails and could not install the certificate. Please provide the solution Thanks in advance
You should run the whole installer as admin, not just a single command. And what if there is no user named administrator on the system?
精彩评论