Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Updated 1-Oct-12 21: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
chaau 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900