Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6124877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:11:00+00:00 2026-05-23T16:11:00+00:00

I looked at this answer: Install a pfx certificate in a users store in

  • 0

I looked at this answer:
Install a pfx certificate in a users store in Windows using WiX
to install the certificate through wix and seemed to work fine, the certificates (i need two) were installed in the correct location stores and had the correct values for issues to and issued by.

However, when i tried to use them in my installed application, i get keyset does not exist exception.

When i manually install the pfx file using MMC->import from exactly the defined location in wix, it works fine.

The permissions are slightly different in the sense that wix has added owner rights and msiserver permissions and removes the temporary S-1-5-5-0-XXXXX read permission that i cannot manually add.

Does anyone have any idea what would be causing this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:11:00+00:00Added an answer on May 23, 2026 at 4:11 pm

    This is not a permissions issue but a problem with the way msi’s are installed.

    To get the required permissions to install a cert, this action has to be run as a deferred action, which runs under the system account.

    The system account has no profile which I believe is required to install the cert with the private key (I reckon the private key is temporarily written to the profile before moving to the MachineKey store).

    I have managed to get my msi to install the certificate with the private key but it was a bit of a mission…

    1. I created a console app that generates and imports the cert.
    2. Drop this exe in the installation folder as part of the installation.
    3. Using an impersonating CustomAction, spawn an elevated PowerShell command (-Verb RunAs).
    4. Run a script that executes the exe.

    As I said a bit of a mission but in now works perfectly! 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This answer shows a pretty example of using a parser generator to look through
I have looked around on the Internet trying to answer this question. It seems
I've looked at every question so far and none seem to actually answer this
We are using WIX to install a number of services we create. I am
I looked for a specific answer to this question, but couldn't find it --
I've looked around for an answer to this one but couldn't find one. I
I've looked for this question on stackoverflow, but didn't found a really good answer
Looked for an answer for this question, but I haven't found a suitable one
In this answer I talk about using a std::ifstream object's conversion to bool to
I looked for this problem and I don't believe I could find an answer.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.