Click here to Skip to main content
11,636,778 members (77,068 online)
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 263
1 stibee 249
2 Sergey Alexandrovich Kryukov 229
3 Suvendu Shekhar Giri 225
4 OriginalGriff 183
0 OriginalGriff 8,941
1 Sergey Alexandrovich Kryukov 8,493
2 Mika Wendelius 6,909
3 F-ES Sitecore 2,388
4 Suvendu Shekhar Giri 2,320

Advertise | Privacy | Mobile
Web01 | 2.8.150728.1 | Last Updated 2 Oct 2012
Copyright © CodeProject, 1999-2015
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