I am using inno setup to create a setup for my .net Application for windows . I have to install a .pfx file in Trusted Root Certification authorities . How can i do this ?
I have tried the following line in Run section
[Run]
Filename: "certutil.exe"; Parameters: "-enterprise -addstore ""Root"" {app}\Application\rootCert.cer"; Flags: runhidden; StatusMsg: "Adding trusted publisher..."
This is .cer file and it install in user Trusted Root certification but i want in Local Computer and alternative for .pfx file
Thanks