Good morning!
I'm using Inno Setup to generate an installer of my Delphi application.
In the application, I need to read Windows registry variables in HKEY_LOCAL_MACHINE:
if Registry.OpenKey ('\ Software \ Enterprise \' + 'System \', True) then showmessage ('Opened Registry Key for Reading!');
But I can only perform this operation if I run the system as "Administrator". My question is: How do I create an installation in Inno Setup that already gives the executable permission to perform reading and writing in the registry?
Thank you for your attention