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: 199
Overclick
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 Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 3025
Location: vpcmipstrm
bitRAKE
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: 199
Overclick
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 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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.