简体   繁体   中英

Eclipse product export wizard produces an exe that requires administrator rights to run

I am creating an RCP app that i want to build using the eclipse product export wizard however every time i do the export it builds fine but the exe within the build requires admin rights to run.

I thought it was something to do with the configuration on the product so i added:

osgi.configuration.area
@user.home/Updater/configuration

osgi.instance.area
@user.home/Updater/workspace

This however dose not make any difference.

I am quite confused with this as i basically copied a product from the last app we made and it is basically identical but that export produced an exe that did not require admin.

Could it be a particular plugin i have in the dependencies that specifies admin?

It turned out to be the Launcher Name field in the Launching tab on the product.

If you put "updater" anywhere in the name of the launcher it will produce an exe that requires admin rights to run...

I am unsure why this happens maybe it is an eclipse thing when they compile the exe?

I just changed the name to something without Updater as the name and all went back to normal :D

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM