Hello,
I may have misunderstood your scenario here.
That will not help because your built in custom action places it in that temp folder as soon as it begins and there is no way to move it once it begins. Also, your custom action is expecting it in that location:
I am not quite sure I understand about what custom action you are talking about here. Are you talking about the
"InstallCertificate" predefined custom action?
I've ran a new test on my machine and everything seemed to be working as expected. Here are the steps I took:
- add the certificate (.cer file) as a temporary file
- cut it from the "Temp" folder (using CTRL+X) and move it to the
"Application Data" folder
At this point, I have ran the installer to see if the file is extracted as expected and it was (in the %appdata% folder)
- I have now added the
"InstallCertificate" custom action as a custom action
with sequence. I have scheduled the custom action after the
"Paths Resolution" action group in the
"Wizard Dialogs Stage"
- I have the path to the certificate by inserting
"[" in the
"Path" field -->
"File" --> select my certificate
- built and ran the setup
After checking the "certmgr.msc", I have noticed that my certificate was correctly installed.
From what I understood, this is your scenario. Please let me know if this is not what you are trying to achieve and, if so, please give me some more details so I can further investigate.
Best regards,
Catalin