Make file run as administartor

233 views
Skip to first unread message

Maximilian Welz

unread,
Sep 20, 2023, 6:14:22 AM9/20/23
to innosetup
Hello,

I have a problem with a file that requires administrator rights. How can I automatically give the file admin rights in Inno Setup? So far I set the file to run as administrator in the file properties, but thats not the solution I was looking for.

Branda

unread,
Sep 20, 2023, 11:27:37 AM9/20/23
to innosetup
in the iss file, in the [setup] section
have you tried to add this line? I'm not sure about it but maybe this is what you're looking for.

PrivilegesRequired=admin

Eivind Bakkestuen

unread,
Sep 20, 2023, 5:55:59 PM9/20/23
to inno...@googlegroups.com
Maximilian, it is not clear from your description what you are wanting to do?

--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/99d46016-95d3-4f96-8178-361c43daf7e6n%40googlegroups.com.

Eivind Bakkestuen

unread,
Sep 23, 2023, 7:23:43 PM9/23/23
to inno...@googlegroups.com
Don't send private email. Reply here.
Reply all
Reply to author
Forward
0 new messages