S
S
Sergey2016-02-26 21:09:40
WPF
Sergey, 2016-02-26 21:09:40

How to allow creation of folder or file in Program Files in Windows (programmatically)?

I am writing my installer for Windows.
I want to create my own folder in the Program Files folder and write my program there, but Windows does not allow writing there.
As I understand it, you need to use some kind of roles and rights for access.
Can anyone suggest how to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2016-02-26
Gorbulev @gorbulevsv

Do you make an installer for your program? If so, what is wrong with Inno Setup?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question