This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Restricting Uninstallation to users
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 28, 2009
01:12 AM
Restricting Uninstallation to users
Hi,
I want to restrict the uninstallation of a program by looking at who is triggering the uninstallation.
The program can be installed in two modes : for All Users, or for the logged in user.
Now, what I want is, if the program is installed for All Users, everybody should be able to uninstall. But if the program is installed for a particular user, only he/she should be able to do it.
This has to be checked some where in OnMaintUIBefore. But I dont know how to check for which users the application is installed.
Any idea how to resolve the problem ?
Thanks
I want to restrict the uninstallation of a program by looking at who is triggering the uninstallation.
The program can be installed in two modes : for All Users, or for the logged in user.
Now, what I want is, if the program is installed for All Users, everybody should be able to uninstall. But if the program is installed for a particular user, only he/she should be able to do it.
This has to be checked some where in OnMaintUIBefore. But I dont know how to check for which users the application is installed.
Any idea how to resolve the problem ?
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 04, 2009
10:32 AM
Surely if the program has been installed for a specific user only that logged on user will be able to see the program in the ARP and be able to uninstall it?