Answer the question
In order to leave comments, you need to log in
How to make it so that after building the program through innosetup it does not give any errors like "you do not have rights to open such and such a file"?
In general, I assemble the program through innosetup, after assembling I run the program, everything opens up normally, but when the program tries to use the dock file, it writes like there is no access, and if you make access for everyone in the properties for the folder, then everything is fine, but I would like this it was automatic. The essence of the question is this: how to give all access rights to the installed program?
Answer the question
In order to leave comments, you need to log in
The problem is that rights can of course be given, but the rules of good form are not to write from under limited accounts to system folders.
Add in your program so that it copies the modified files to the temp folder or somewhere in the profile (in Roaming, for example) and works from there.
Well, to give rights - add app.manifest and change requestedExecutionLevel there to
but then every time UAC will swear and the opportunity to work with the program from under "limited" users will be lost.
PS: In Inno, in the Files section, there is a Permissions parameter, perhaps it will also help you. But then again - IMHO it's better not to give such rights.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question