Bug 201334 - (un)installer should behave user account dependent
(un)installer should behave user account dependent
Status: NEW
Product: installer
Classification: Unclassified
Component: Code
7.0
PC Windows XP
: P3 (vote)
: 7.2
Assigned To: Libor Fischmeistr
issues@installer
:
Depends on: 196075 198739
Blocks: 210988 211045
  Show dependency treegraph
 
Reported: 2011-08-25 17:05 UTC by ulfzibis
Modified: 2014-02-10 14:14 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2011-08-25 17:05:20 UTC
Example 1
Install from Windows user account:
- installer should ask for administrative rights by invoking Window's "RunAs" interface
- installer should ask for user specific or general installation
- depending on specific or general installation installer should add
-- (all) users desktop launch icon
-- (all) users startmenu item

Example 2
Install from Windows administrative account:
- installer should ask for user specific or general installation
- depending on specific or general installation installer should add
-- (all) users desktop launch icon
-- (all) users startmenu item

Example 3
Install from Windows administrator account:
- installer should ask for or general installation
- in case of user specific, installer should ask for specific user
- depending on specific or general installation installer should add
-- (all) users desktop launch icon
-- (all) users startmenu item

Example 4
Uninstall from Windows user account:
- uninstaller should only
-- delete users cache
-- delete users desktop launch icon
-- delete users startmenu item
-- on request delete users netbeans userdir
- uninstaller should NOT try to uninstall netbeans binaries

Example 5
Uninstall from Windows administrative account:
It does not make sense to delete administrator's netbeans userdir, so
- uninstaller should ask for account specific or general uninstallation and
-- delete (all) users cache(s)
-- delete (all) users desktop launch icon(s)
-- delete (all) users startmenu item(s)
-- on request delete (all) users netbeans userdir(s)
- uninstaller should ONLY uninstall netbeans binaries on general uninstallation
Comment 1 nigjo_iqn 2011-08-25 19:15:12 UTC
(In reply to comment #0)
> Example 5
> Uninstall from Windows administrative account:
> It does not make sense to delete administrator's netbeans userdir, so
> - uninstaller should ask for account specific or general uninstallation and
> -- delete (all) users cache(s)
> -- delete (all) users desktop launch icon(s)
> -- delete (all) users startmenu item(s)
> -- on request delete (all) users netbeans userdir(s)
> - uninstaller should ONLY uninstall netbeans binaries on general uninstallation
In an company environment with an "Active Directory" running there is no chance to detect the users netbeans userdir(s) or any other user specific data.

This is not only a netbeans problem but a general uninstaller problem in a multi user environment.
Comment 2 ulfzibis 2011-08-25 20:40:22 UTC
(In reply to comment #1)
> In an company environment with an "Active Directory" running there is no chance
> to detect the users netbeans userdir(s) or any other user specific data.
Yes, not all cases can be covered conveniently, but for common small environments, e.g. 1 admin + 1/few user accounts the handling could be little more intelligent. Offering the deletion of the userdir, but in fact doing nothing (commonly there is no data of interest in admin's userdir) is quite confusing.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo