flat assembler
Message board for the users of flat assembler.

Index > Windows > Manifest rights

Author
Thread Post new topic Reply to topic
Overclick



Joined: 11 Jul 2020
Posts: 669
Location: Ukraine
Overclick 06 Sep 2020, 23:23
Hi
What I need to write in my manifest to force user allow some extra rights for my application? My prog writes files in ProgramFiles folder. It is not really nice to ask user to run it with admin rights all the time. There is some tricks for ask user once to trust it. So how to do that?
Post 06 Sep 2020, 23:23
View user's profile Send private message Visit poster's website Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4015
Location: vpcmpistri
bitRAKE 07 Sep 2020, 04:01
Code:
<requestedExecutionLevel  level="highestAvailable" uiAccess="false" />    
Bad practice unless you need it, but better than requireAdministrator.

Googling for "asInvoker" and "manifest" can have you reading for days.
Post 07 Sep 2020, 04:01
View user's profile Send private message Visit poster's website Reply with quote
Overclick



Joined: 11 Jul 2020
Posts: 669
Location: Ukraine
Overclick 09 Sep 2020, 00:43
It asking for rights every time it's run. What can I do when user trusted it once? Can I install own hand-made certificate to prevent extra questions?
Post 09 Sep 2020, 00:43
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.