Update Center write permission check prevents users from updating
"bruehlicke" <[email protected]> Thu, 04 May 2017 19:11:41 +0000
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
As I do not see Stephen's answer I post it here. Stephen Cumminger did solve this issue for me. Here is his answer: > > You need to set: > > nbm.is.global=false > > in the Project Properties for each module you have. Without this, the updater is trying to install to the Program Files directory which is restricted. With this setting, the downloaded files will be saved in the User's AppData related folder for your app; which the app will find and apply on next startup. > Playing around a little more I found than my Branding module indeed had nbm.is.global=true in its nbproject/project.properties. Two other options which will work I found are: 1) Add -J-Dplugin.manager.install.global=false to the app.conf file 2) Modify the updates.xml file directly by removing the > global=true This might be a hack but gets you going so no users need to modify any files on their side.