Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356079 - Update is not possible if Eclipse RCP application is installed under "C:\Program Files" in Windows 7 with UAC
Summary: Update is not possible if Eclipse RCP application is installed under "C:\Prog...
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows Vista
: P3 major with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-29 09:51 EDT by Michael Spector CLA
Modified: 2019-10-30 02:40 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.