Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356079

Summary: Update is not possible if Eclipse RCP application is installed under "C:\Program Files" in Windows 7 with UAC
Product: [Eclipse Project] Equinox Reporter: Michael Spector <spektom>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: beyhan.veliev, christian.weinreben, ddsnroch, lpurvis, luj_ghost83, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: stalebug

Description Michael Spector CLA 2011-08-29 09:51:18 EDT
When installing Eclipse RCP based on Eclipse 3.7 into "C:\Program Files" users
are unable to update the application unless UAC is disabled. 

We use the following class for updating our application:
http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.equinox/p2/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate/src/org/eclipse/equinox/p2/examples/rcp/prestartupdate/P2Util.java?view=markup&revision=1.9&root=RT_Project

Update check always returns "nothing to update". After looking into server logs
I realized that p2 doesn't send any requests to retrieve content.jar and artifacts.jar. After disabling UAC the update worked as expected.
Comment 1 Cesar CLA 2011-09-15 00:13:28 EDT
I've found a related issue: 

If I turn UAC on, after copying some plugins to \dropins folder, my RCP would not recognize or load them. The plugins would not appear in 'help->about->installed software'.

As you expect, if i turn UAC off, this works fine.

Does this case come from the same issue of P2?
Comment 2 Eclipse Genie CLA 2019-10-30 02:40:38 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.