Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8420997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:01:00+00:00 2026-06-10T03:01:00+00:00

If you want to know more about why I’m doing this, see this thread…

  • 0

If you want to know more about why I’m doing this, see this thread…
http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04735.html

OK, here we go…

I’m trying to use Eclipse’s command line tool called the p2 Director Application to install a feature from my own p2 repository like so…

C:\SomeDirectory\eclipsec.exe -application org.eclipse.equinox.p2.director -repository http://my.domain.com/myapp/ -installIU com.mydomain.myapp.feature.group -destination C:\SomeDirectory -profile DefaultProfile -shared

Notice the -shared parameter at the end. If I remove it, everything works fine, but when it’s there I get this in the error log…

!ENTRY org.eclipse.equinox.p2.director 4 1 2012-08-14 10:30:03.212
!MESSAGE Cannot complete the install because one or more required items could not be found.
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2012-08-14 10:30:03.212
!MESSAGE Software being installed: My Application Feature 1.0.1.20120813-1851 (com.mydomain.myapp.feature.group 1.0.1.20120813-1851)
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2012-08-14 10:30:03.212
!MESSAGE Missing requirement: AMX Application Plugin 1.0.1.20120813-1851 (com.mydomain.myapp 1.0.1.20120813-1851) requires 'bundle org.eclipse.core.runtime 0.0.0' but it could not be found
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2012-08-14 10:30:03.212
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-08-14 10:30:03.212
!MESSAGE From: My Application Feature 1.0.1.20120813-1851 (com.mydomain.myapp.feature.group 1.0.1.20120813-1851)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-08-14 10:30:03.212
!MESSAGE To: com.mydomain.myapp [1.0.1.20120813-1851]

I’ve tried installing the same feature from the same update site using the GUI provided in my RCP application by Eclipse p2, and it works fine. The problem with this is that I need this feature installed without the user of my application having to install it using the GUI.

I’ve tried installing the same feature from the same update site without the -shared parameter and it works fine. The problem there is that when I turn up Windows UAC, it doesn’t work due to the permissions issues with writing to the C:\Program Files\ directory.

I’m trying to figure out how to use this -shared parameter, so I can use the p2 Director application to successfully install this feature via command line when the user installs my application in the C:\Program Files\ directory in Windows with Windows UAC set to its default level which prevents Eclipse from installing IUs to the typical locations.

Here is some more background info if you’d like to know more about what I’m dealing with here…

https://bugs.eclipse.org/bugs/show_bug.cgi?id=249133

https://bugs.eclipse.org/bugs/show_bug.cgi?id=322929

https://bugs.eclipse.org/bugs/show_bug.cgi?id=343768

So if you have any ideas of how to get around UAC in Windows when installing an RCP application to the C:\Program Files\ directory, I’d love to hear from you.

Thanks for your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:01:01+00:00Added an answer on June 10, 2026 at 3:01 am

    I’m not sure why, but adding more repositories to the -repository argument in the form of a comma separated list, resolved the issue. I have no idea why it didn’t work only when using the -shared parameter. The resulting command that worked looked like this.

    C:\SomeDirectory\eclipsec.exe -application org.eclipse.equinox.p2.director -repository http://my.domain.com/myapp/,http://my.domain.com/my-other-p2repo/ -installIU com.mydomain.myapp.feature.group -destination C:\SomeDirectory -profile DefaultProfile -shared
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to know a bit more about 'xmlns:mx=http://www.adobe.com/2006/mxml. Generally namespaces acts as the
This is an interview question I saw from here: http://www.careercup.com/question?id=1707701 Want to know more
I know there is this post , but I still want to know more
I want to know this more in detail. Is it a realtime scheduler? An
I am new to rails. I want to know more about IP based Location,
I want to know what this form1.resx button is all about. I read up
I want to know more about the casting (like static cast, dynamic cast, const
I found some but still want to know more about them. Any of you
I've started working with jQuery UI. I want to know more about the jQuery
Hi I'm new in Javascript OO and want to know more about about inheritance.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.