Importing a Certificate and Admin user - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Sandeep.Mohan
Posts: 4
Joined: Tue Apr 13, 2010 8:49 pm

Importing a Certificate and Admin user

As part of the installation I want to distribute a *.pfx file which needs to be imported into the certificate manager store. I want to use this to sign the xml requests. How can I do that using Advanced Installer.

My application has full trust. As part of the pre-requisites I want .NET Framework to be installed. If the user has restricted privilleges on the PC, will we be able run the advance installer built package with elevated permissions?

Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Importing a Certificate and Admin user

Hello,

You can use the certmgr tool as a Launch file or Open URL custom action in your installer.
My application has full trust. As part of the pre-requisites I want .NET Framework to be installed. If the user has restricted privilleges on the PC, will we be able run the advance installer built package with elevated permissions?
Perhaps I am understanding this incorrectly, but your statement does seem a bit contradictory, in the sense that having a user with restricted privileges implies that user not being able to run applications that require elevation. That's what privileges are for.

If you are targeting an installer for limited accounts, you should make a per-user installer, which does not require administrator privileges.

Let me know if this helped or if there are any questions and I will be glad to answer them.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Sandeep.Mohan
Posts: 4
Joined: Tue Apr 13, 2010 8:49 pm

Re: Importing a Certificate and Admin user

I know, but thats how our clients are setup as. User based does not work too because it will prompt every user of the PC to install the app again and again. And in my case there can be many users for a PC.
This was just a question tho. I was not exactly looking for a solution on this one.

I had one other question in the post, regarding importing certificates. Can you please answer that? I want to be able to install a certificate as part of the installation. Can we do that using Advance Installer?


thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Importing a Certificate and Admin user

Hello,
I had one other question in the post, regarding importing certificates. Can you please answer that? I want to be able to install a certificate as part of the installation. Can we do that using Advance Installer?
You can use the certmgr tool as a Launch file or Open URL custom action in your installer.
However I believe the process of importing the certificate will require administrator privileges, so I hope that is not an issue.

Let me know if I can be of any further assistance.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”