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
Your Filters
0 Shai Vashdi 319
1 OriginalGriff 280
2 Sergey Alexandrovich Kryukov 250
3 Peter Leow 171
4 Abhinav S 168
0 Sergey Alexandrovich Kryukov 8,944
1 OriginalGriff 5,280
2 Peter Leow 3,985
3 Maciej Los 3,535
4 Abhinav S 3,218

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