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 20:44pm
Edited 1-Oct-12 21: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 310
1 Sergey Alexandrovich Kryukov 201
2 PhilLenoir 164
3 Magic Wonder 162
4 Richard MacCutchan 160
0 Sergey Alexandrovich Kryukov 6,140
1 OriginalGriff 5,195
2 CPallini 2,473
3 Richard MacCutchan 1,607
4 Abhinav S 1,505

Advertise | Privacy | Mobile
Web03 | 2.8.140814.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