Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320153 - Installation on Windows 7 does not work if eclipse is located in the Program Files folder
Summary: Installation on Windows 7 does not work if eclipse is located in the Program ...
Status: CLOSED DUPLICATE of bug 322929
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 21:23 EDT by Francis Upton IV CLA
Modified: 2011-08-29 09:51 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francis Upton IV CLA 2010-07-16 21:23:00 EDT
20100617-1415

1) Unpack the Eclipse installation into the Program Files(x86)\eclipse folder.
2) Install from this repository: http://www.oaklandsoftware.com/updates/transform/ide 
3) The installation will complete successfully
---> However none of the plugins will be present.

Go to Help -> About -> Plugins and you will see no com.oaklandsw plugins.

If the Eclipse installation is located in another place, everything works.

I think this is happening because of the Windows Vista/7 thing of moving files that you write in protected areas to somewhere else and then they can't be found.

I have not tried this on Vista but expect it to be the same.
Comment 1 Ian Bull CLA 2010-08-11 19:42:28 EDT
What Eclipse package are you using?  This might actually be an epp issue, but I'm not sure yet.
Comment 2 Francis Upton IV CLA 2010-08-11 23:00:18 EDT
(In reply to comment #1)
> What Eclipse package are you using?  This might actually be an epp issue, but
> I'm not sure yet.

It's the jee package, so I think it's the issue you describe you in your email.
Comment 3 Ian Bull CLA 2010-09-06 02:52:32 EDT

*** This bug has been marked as a duplicate of bug 322929 ***
Comment 4 Michael Spector CLA 2011-08-28 04:18:00 EDT
This bug still happens with Eclipse 3.7.

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 even to retrieve content.jar/artifacts.jar! After disabling UAC the update worked as expected.
Comment 5 Matthew Piggott CLA 2011-08-29 09:32:59 EDT
This bug was closed as a duplicate of another and the problem it refers to is not what you describe.  p2 can only update bundles it has permission to write to which is not the case with program files.

*** This bug has been marked as a duplicate of bug 322929 ***
Comment 6 Michael Spector CLA 2011-08-29 09:51:59 EDT
OK, I've submitted bug 356079.

(In reply to comment #5)
> This bug was closed as a duplicate of another and the problem it refers to is
> not what you describe.  p2 can only update bundles it has permission to write
> to which is not the case with program files.
> 
> *** This bug has been marked as a duplicate of bug 322929 ***