Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ MFC
How do i give the Installation/Uninstallation permissions to the windows user using MFC.
I exactly ment to say is,i am having an application which provides some kind of administrative rights to the windows user,in this i have to give permissions to the user to do installation or Un-installation any application in the system.So Kindly can any one having the idea to do this kindly suggest me.Thanks in Advance
Posted 30-Sep-12 21:44pm
Edited 1-Oct-12 22:05pm
Mohibur Rashid at 1-Oct-12 5:10am
I don't know exactly what you should do. But I can suggest you to work on registry and file access permission.
1. first get the list of uninstaller execution file. Windows uninstaller read the list of installed file from register and also the application that would be used for uninstalling.
2. Then create user specific permission for those executable using your whatever application or software you develop
Rocky_Bas at 2-Oct-12 3:03am
Do i need to give this permission through registries
Andrew Cherednik at 9-Oct-12 17:43pm
I think this can be achieved through AppLocker There are also PS script commands for it.
However, this works only for Windows 7 and 2008

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 304
1 Sergey Alexandrovich Kryukov 255
2 Shweta N Mishra 216
3 Maciej Los 210
4 PIEBALDconsult 174
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,586
3 Manas Bhardwaj 4,946
4 Maciej Los 4,665

Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 2 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100