Reputation: 61
Without running Notepad++ as admin, UniversalIndentGUI will delete my work or do something similar to deleting a good chunk. With administrator, it performs fine.
I thought it was some settings I created so I re-installed Notepad++ but nothing seems to have changed. Perhaps I didn't do a clean uninstall?
I'm running windows 8, and this probably has to do with a problem with notepad++ being in the default C:\Program Files (x86)
folder.
Is there a alternate to this or some way to troubleshoot?
Here's the error, I also reinstalled it so that it would use %AppData%
for plugins, but for some reason I don't think it is. So I may need help with that instead. I originally installed to not use %AppData%
before the re-installs.
Indenter returned with exit code: 1 Indent console output was: (STDOUT): (STDERR):Could not open options file C:\Program Files (x86)\Notepad++\plugins\uigui\temp.astylerc
Callstring was: "C:/Program Files (x86)/Notepad++/plugins/uigui/indenters/astyle.exe" indentinput.cpp --options="C:/Program Files (x86)/Notepad++/plugins/uigui/temp/.astylerc"
Upvotes: 6
Views: 6456
Reputation: 14047
One of the install screens for Notepad++ has a check box for "Don't use %APPDATA%". When the box is checked then Notepad++ stores its configuration files in its installation directory. When the box is not checked the configuration files are stored in the user's appdata folder. On my Windows 8.1 computer the folder is C:\Users\{{username}}\AppData\Roaming\Notepad++
.
On many computers folders within C:\Program Files (x86)\
are protected so non-admin users cannot modify them. Hence the successes you saw when running as admin and the failures when running as a non-admin.
This check box in the install options has been available for several versions of Notepad++, I remember it being available when Windows 7 was fairly new. I have just checked and it is available with Notepad++ version 6.7.5.
Upvotes: 2
Reputation: 135
I have fixed this (or a similar) problem this way:
Upvotes: 9