I recently discovered that I can uninstall my package as non-privileged user, although I'm executing the below code in preUninstallationActionList. This code is working in the installation process but when uninstalling it does not work. how can I limit the uninstall operation only for privileged users ?
asked 10 Apr '13, 08:52
The uninstaller ignores action errors to avoid a situation where a small error in uninstallation actions prevents user from uninstalling the package.
What you can do is show a message and then exit the installer - for example:
answered 11 Apr '13, 02:52