Click here to Skip to main content
12,750,208 members (37,598 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++ MFC
Hello,

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
Updated 1-Oct-12 22:05pm
v2
Comments
Mohibur Rashid 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 2-Oct-12 3:03am
   
Do i need to give this permission through registries
Andrew Cherednik 9-Oct-12 17:43pm
   
I think this can be achieved through AppLocker http://technet.microsoft.com/en-us/library/dd723678.aspx. 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170215.1 | Last Updated 2 Oct 2012
Copyright © CodeProject, 1999-2017
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