Copy to program files under Windows Vista / 7

I wrote a C ++ wizard that installs some files in a program file folder under windows. As I understand it, I need administrator rights to write to program files under Vista / 7. Therefore, my question is: is there a way to enable administrator rights while the application is running, respectively, for only one page of the wizard? Or do I need to start another process with administrator privileges for this wizard page?

+3
source share
1 answer

Usually you have a shield logo button, and then put it into another process, whose manifest requires elevation.

, , -, , , WiX.

.

+5

Source: https://habr.com/ru/post/1723858/


All Articles