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.
Summary: | [Windows Vista] Failed to install NB 6.0 into default location (directory is not writable) | ||
---|---|---|---|
Product: | installer | Reporter: | mariadavydova <mariadavydova> |
Component: | NBI | Assignee: | dlipin <dlipin> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | astashkova, hong_lin, ifilippova, mikk, vaysman |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
mariadavydova
2007-04-23 15:15:45 UTC
Maria, Does the issue still occure with the disabled UAC? No, it doesn't. It works fine in this case. Vista is an important platform, the bug needs to be fixed. Actually the bug seems to have never been fixed. If the UAC is enabled and the installer is running as the standard user then then the user is now allowed to write to "C:\Program Files" even he/she has the admin rights. If the installer is running using "Run as admin" functionality or with UAC disabled then everying is OK. If the user tries to create a directory in "C:\Program Files" manually he we`ll be asked to confirm the action several times. Since the installer should behave in silent mode (no OS dialogs should be displayed to avoid confusion) then we do not allow to write at the prohibited location at all. So the issue seems more to be invalid then to be need-to-be-fixed P1. This is the restriction of the system it doesn't allow to write to Program Files without administrator priviligies. Downgrading to P2. Documented in the NB 6.0 Preview RNs as follows: Issue #102168: On Windows Vista, the default installation path might be not writable. Description: On Windows Vista, when running under non-administrator user profiles, the default installation path in the Program Files folder on the system drive might be not writable. Workaround: Do any of the following to continue the installation. - Select another installation directory that you can write in. - Disable the User Account Control by selecting Start > Control Panel > User Accounts > User Accounts > Turn User Account Control on or off. - Right-click the installer executable file and choose Run as administrator. The trick is to get vista to require administrator rights in the first place. there are ways to load this information into the manifest (windows connontation) of the EXE. But an easier way is to be sure the word 'setup' 'install' or 'installer' is in the file name. Right now it is named 'netbeans-6.0m9-basic-windows.exe' so vistas guestimation of needing admin rights doesn't assume it needs it. Changing the file name is the easiest fix IMHO *** Issue 105806 has been marked as a duplicate of this issue. *** Should be fixed now. In order to install the IDE (for example, nightly build 200707091200) on Vista, I still need to "Run as Administrator". I don't think the issue is fixed. hong, could you please attach the appropriate screenshot (that shows that the default directory is not writable when running as normal user) and installation log as well. what vista version are you using? is it up-to-date regarding OS updates and patches? Maria, Mike, could you please check whether the issue is still resoducible on your QA systems? thanks, dmitry netbeans-6.0-200707171200 disabled UAC This issue is reproducing on Windows Vista netbeans-6.0-200707171200 disabled UAC This issue is reproducing on Windows Vista The issue should be fixed in the next nightly build (>=200707300000). Please verify ASAP. If the issue is reproducible (UAC enabled, normal run (not as administrator)) please make a screenshot which shows that default installation location is not writable. Please also specify vista version (RC or final, which type) in that case. |