Skip to content
⌘ NSIS Forum Archive

Do not allow to uninstall application when user is not admin

3 posts

dhiraj3301#

Do not allow to uninstall application when user is not admin

for windows xp, uninstallation of application is allowed when is user is not admin,after it gives some error,

is there any plug-in that will check that user is admin or not and then gives a message to user

Please give me some related links.
Afrow UK#
Did you do a search? The UserInfo plug-in that comes with NSIS will do it. There are also various scripts/plug-ins that will do this:

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.





Displaying the message box is of course up to you.

Stu