This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 201334

Summary: (un)installer should behave user account dependent
Product: installer Reporter: ulfzibis <ulfzibis>
Component: CodeAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal CC: nigjo_iqn
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 196075, 198739    
Bug Blocks: 210988, 211045    

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.