elvirbrk / NoteHighlight2016

Source code syntax highlighting for OneNote 2016 and OneNote for O365 . NoteHighlight 2013 port for OneNote 2016 (32-bit and 64-bit)
GNU General Public License v2.0
3.81k stars 393 forks source link

Not showing after install #7

Open abcardim opened 7 years ago

abcardim commented 7 years ago

First of all, thank you for your work on this add-in.

I want to use it but even after installing the right .msi file for my version of office (x86 onenote) and checking "add-ins" to see that it is in fact active, nothing shows up on my menus/toolbar or on the "customize ribbon" window. I can't figure out what I might be doing wrong.

john-hutchinson commented 7 years ago

I too am having this issue since I installed the x86 update. I thought it was just me, and was going to troubleshoot this weekend. If it's you too maybe it's a bit of a bug. Post if you find out what caused it @abcardim , cheers.

elvirbrk commented 7 years ago

Can you try run to Onenote as administrator, to see if addin will be loaded. Unfortunately, my laptop with 32-bit Office is sent for repair so I can't try it myself.

john-hutchinson commented 7 years ago

Yes interestingly the menu shows up fine when I run it as administrator! Should I change the permissions of a directory somewhere so my user can 'see' the plugin when not elevated to administrator?

elvirbrk commented 7 years ago

Can you try now to run it as normal user, I think it should work now. It probably needs admin rights just first time for some initialization.

john-hutchinson commented 7 years ago

Hey, unfortunately no dice. I launched as administrator, got the menu, entered a code snippet, closed. Then re-open as normal and the plugin menu is AWOL. Not a deal breaker for the moment for me at least. I'll run it as admin đź‘Ť

abcardim commented 7 years ago

I actually gave up and installed x64 version of microsoft office. Used your standart .msi file and it worked first time, without admin rights! Thanks for the add-in đź‘Ť

elvirbrk commented 7 years ago

I did a re-upload of working 32-bit msi file. At least it's working for me :) So please try it.

john-hutchinson commented 7 years ago

Hey, I've just removed the last version then re-installed the current 32bit installer. It still needs One Note to be launched as an administrator to show the NoteHighlight tab at the top. All I've done is set OneNote's advanced properties on the shortcut to "Run as Administrator", the UAC prompt happens at launch but it's not a big deal. Thanks for making an awesome add in! I'll investigate some more when I have time and if I fix it will report back.

elvirbrk commented 7 years ago

Ok, thanks for trying. I'll leave this issue open in case someone else encounters same problem.

sglindsey commented 7 years ago

Same issue. 64bit OS & install, tried with admin but it didn't work

john-hutchinson commented 7 years ago

@sglindsey your OS might be 64bit but is your Office / OneNote install 64 bit? Most peoples will be x86. Reason I guess yours is, is because launching as admin isnt showing it either. Try uninstalling the x64 and installing the x86 and see if you have the same deal.

sglindsey commented 7 years ago

Works without admin, thanks

mfaerber commented 7 years ago

john - yes, that was it for me: even though my Office 2016 suite is all 64bit, the OneNote app is only 32bit. Never knew/noticed that before! So uninstalling the 64bit version of NoteHighlight and using the 32bit version worked perfectly - thanks!

john-hutchinson commented 7 years ago

I've just found out what this is caused by, at least for me. I was googling the problem after I saw the new release and found this:

Additionally, please open registry editor and navigate to “HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins”. Check the LoadBehavior for this specific add-ins. By default, this entry is set to 3, which specifies that the VSTO Add-in is loaded at startup.

I changed this to Onenote instead of Word and it worked a treat! (Mine was set to 2 originally). “HKEY_CURRENT_USER\Software\Microsoft\Office\Onenote\Addins”. Check the LoadBehavior for this specific add-ins. By default, this entry is set to 3,

Original solution for a different program was found here (to give credit where it's due). https://social.technet.microsoft.com/Forums/lync/en-US/66b76d18-711a-49bb-ae9f-9dae946e82d7/addin-will-only-run-if-word-is-run-as-administrator?forum=Office2016ITPro

john-hutchinson commented 7 years ago

Might be something worth writing in the installer, but maybe not if its only 2 people with the issue.

elvirbrk commented 7 years ago

Thanks @john-oegen for your effort. Installer is already setting that reg key, so I don't know why or who changed that value. Anyway, I'll close this for now and put a link to this issue inside "readme" in case other people face similar issue.

john-hutchinson commented 7 years ago

No problem @elvirbrk , thanks for sorting my code snippet documenting problem! Must just be something on my machine then, not unusual for my stuff.

loganylwu commented 7 years ago

it works! i try to install x86.msi version in windows 7 x64 version. and it worked, im sure the onenote 2016 is x64 version.

pawelkosi commented 6 years ago

Hi

I have this issue now. Changing to admin did not work, interestingly I have checked the registry for the key and there is no key created under onenote/addIns , its just empty. What should I do now?

jeremybeaume commented 6 years ago

Same here : no ribon showing up

flybotix commented 6 years ago

I had this issue, but fixed it without registry edits.

  1. After installing the NoteHighlight2016 MSI, restart the computer
  2. Run OneNote as admin.
  3. Go to File --> Options
  4. Click the "Add-ins" Tab. You should see this addin under 'active' or 'inactive'. If it's 'inactive'...
  5. At the bottom of this dialog at the "Manage" label, select "COM Add-ins" and click "Go..."
  6. Add the check mark to the NoteHighlight2016 addin and hit OK.
  7. Restart OneNote as non-admin.
sachaandre commented 6 years ago

I've tried the steps you've described @flybotix , NoteHighlight2016 Addin is considered as an active addin but the component is still not showing up ...

sachaandre commented 6 years ago

After installing english language for office (I only had french language for my office apps), it magically worked ! đź‘Ť

ottadini commented 6 years ago

Different flavour of problem - I installed 32 bit on 32 bit Office. Program appears as installed in control panel. Opened onenote, no new tab. Tried activating add-in, but nothing changed. Closed and restarted and ran as administrator. Followed same process, same result. Closed it again, now cannot open onenote at all. I get a message about it cleaning up, and then another saying to restart! Have uninstalled, but not yet restarted, and still cannot open onenote.

steveberrill commented 6 years ago

I resolved this by uninstalling x86 then installed NoteHighlight2016.msi (x64) windows 10 then asked me to allow the file as it looked suspicious, i allowed then BAM! worked

kik1919 commented 6 years ago

can Onenote 2013 can use this NoteHighlight2016 ?

elvirbrk commented 6 years ago

can Onenote 2013 can use this NoteHighlight2016 ?

@kik1919 I think some people have reported it working in 2013 version, like here #14

zhuheyang commented 6 years ago

Wow, it works fine with me , when I remove the x64 and reload with the x86. Thanks a lot, it helps!

TrueOsiris commented 6 years ago

Same problem here. Onenote 2016 x64, so used the 64bit msi. I can see it on disabled com addins, but when I enable it, onenote no longer starts. "Cleaning up, very sorry" message.

elvirbrk commented 6 years ago

Reopened for better visibility.

JacobMahto commented 6 years ago

NoteHightlight doesn't work with pre-installed OneNote app in windows 10. I checked both msi(s) , in the release tab. Even after installing , nothing happens to the ribbon , and one-note shows no "add-on". Following are the screenshots after installation- image image image please help ASAP.

elvirbrk commented 6 years ago

Sorry, that version of OneNote does not support addins. See also #51.

eleqtrizit commented 6 years ago

I just wanted to add a note to this. I was having trouble getting the plugin to show today, despite having already installed it on two other OneNote installations on different computers.

Turns out, all I needed to do was install the pending Office updates. I didn't realize there were any until I triggered them. File → Account → Update Options → Update Now.

After the updates finished and restarted the Office suite, NoteHighLight2016 showed up.

zhenfengren commented 6 years ago

The add-in show up for me after Repair onenote 2016 in Control Panel\Programs\Programs and Features

articulatesnail commented 6 years ago

@john-oegen My Office folder in regedit doesn't seem to have as Onenote folder, any tips? Running on Win10, 64-bit, but have 32-bit One Note. Tried both versions as admin and checked the "add-in" settings under options, still no luck.

elvirbrk commented 6 years ago

You can try to Repair your Office installation as it seems it helped some.

john-hutchinson commented 6 years ago

@john-oegen My Office folder in regedit doesn't seem to have as Onenote folder, any tips? Running on Win10, 64-bit, but have 32-bit One Note. Tried both versions as admin and checked the "add-in" settings under options, still no luck.

Is there not a folder in the registry for: "HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins” The HKEY_CURRENT_USER part is important as a similar structure appears in the other HKEY routes. (sorry if you're very aware of that and I'm teaching you to suck eggs, no offence intended.)

Fyrearm commented 6 years ago

Doing as @zhenfengren suggested worked for me. Thanks!!!

ottadini commented 6 years ago

Installed Win 10 from new, now works without problem. Previously on Win 7 it didn't work at all.

noamgu commented 6 years ago

+1 for using 32bit addon with 64 office installation

v-nitisha commented 6 years ago

Can't find .msi file at all

elvirbrk commented 6 years ago

Here it is for 32-bit: https://github.com/elvirbrk/NoteHighlight2016/releases/download/v3.5/NoteHighlight2016x86.msi

ribex commented 6 years ago

I had the issue where the add-in was active but not loading. I'm using Office 2013 32-bit, on 64-bit Windows 7. After much trial and error, including uninstalling NoteHighlight and removing all related entries I could find in regedit, I eventually tried installing again, and then installing another add-in (Onetastic). Only after this installation would the NoteHighlight add-in show up; Onetastic does not load. but is active.

elvirbrk commented 6 years ago

Nice to see you found a workaround for Win 7.

jenda0 commented 5 years ago

I had the same problem and found out that the initially created registry entry was not correct. The addin configuration was placed wrongly in: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\OneNote\AddIns\NoteHighlightAddin” I exported the entry and changed it to: "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\OneNote\AddIns\NoteHighlightAddin”

Then I imported the correct registry entry and it works fine now.

ericaskari commented 5 years ago

I had the same problem and found out that the initially created registry entry was not correct. The addin configuration was placed wrongly in: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\OneNote\AddIns\NoteHighlightAddin” I exported the entry and changed it to: "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\OneNote\AddIns\NoteHighlightAddin”

Then I imported the correct registry entry and it works fine now.

Worked Perfectly Thanks đź‘Ť

NedzadNeziri commented 5 years ago

Has anyone used OneNote version, 16001.11126.20076.0 ?

I having issues with seeing "NoteHighlight" on my OneNote.

elvirbrk commented 5 years ago

Has anyone used OneNote version, 16001.11126.20076.0 ? I having issues with seeing "NoteHighlight" on my OneNote.

That's OneNote for Windows 10 so it's not supported. See #72

johnmccrae commented 5 years ago

After going through all the variations of resolutions above, I discovered that I had somehow corrupted my ribbon.xml file while customizing it to allow for PowerShell. The solution was to just delete the ribbon.xml file and then do a remove/reinstall. The app creates a default version that you can then customize and this time back it up before I edited the file.

MarcLafLigado commented 5 years ago

I think it was a OneNote update that caused the plugin to disappear for me. Can't get it back (reinstalled plugin and it shows as loaded in ON but not appearing in ribbon).