stevencohn / OneMore

A OneNote add-in with simple, yet powerful and useful features
Mozilla Public License 2.0
2.6k stars 219 forks source link

Installation Question #438

Closed MichiFr closed 2 years ago

MichiFr commented 2 years ago

Hi!

I'm running OneNote 365 (x32) on Windows 10 (x64). I've chosen the x86 installer which prompts me to add my administrator credentials short after starting the installer. My current user does not have admin privileges, though.

The installation with the x86 exe went smooth and after a restart of OneNote - nothing happens, no menu items or any sign of OneMore. The readme.md says: Run the installer If OneNote is installed for all users then you must install OneMore for all users as well

I do not know if OneNote has been installed for all users. Nor do I know how to force the installer to do so and to check if this is the reason why it does not show up in ON at all.

So could you please assist and give some hint how to check if anything is correctly installed? Btw, the program folder has a new subfolder River with all of those necessary files for running OneMore. At least I assume the installation went fine.

stevencohn commented 2 years ago

The installer does need admin rights to write to the Window Registry. OneNote addins are registered as COM components and that can only be done by using the Windows Registry.

OneMore does install for all users so you could log in as an amin and then run the installer. Alternatively, you can invoke it from your normal user account (provided you have the user name and password of an admin account) by opening a command prompt window and entering this command:

runas /user:steve "msiexec /i <path>\OneMore_4.14_Setupx64.msi"

where is the full path to the installer. For example, if the msi is in C:\tools then the full command would be:

runas /user:steve "msiexec /i C:\tools\OneMore_4.14_Setupx64.msi"

There should be no spaces in the path. If the msi is in a folder that has a space in its name, move it another folder.

stevencohn commented 2 years ago

Although I admit I think I just found a problem with the command line approach! I'll take a look

stevencohn commented 2 years ago

OK I think I finally have a good understanding of what's happening now. This may help solve all installer issues that have been reported previously so thank for the ticket. I'll work on finding a solution.

MichiFr commented 2 years ago

Thanks Steven for your help!

I've to clarify a bit of my posting above: I surely ran the installer with my administrator account after being prompted to do so. When the installer finished I start OneNote with my non-admin account and do not see OneMore in any of the menu items.

But I guess you just could figure out this for yourself already ;-)

Meh-S-Eze commented 2 years ago

The corporate team at my place of work has been attempting to set up the remote install process for OneMore into OneNote but it doesn't appear to be making the appropriate registry updates. The OneMore plugin shows as installed software but just doesnt get added as a com. Could this be related?

stevencohn commented 2 years ago

Yes I believe so and have a fix... will take a few days

stevencohn commented 2 years ago

Please Read...

There are new install instruction on the home page.

Installing from a user account without admin rights or from an admin account on a machine shared by and on behalf of non-admin users requires all non-admin users to sign out and then sign in again after installation.

MichiFr commented 2 years ago

Thanks for this reply and fix.

OTH, I guess this still does not work. I'm using the suggested command line method. I've added my domain admin account "mydomain/administrator" and added the path to the freshly downloaded x86 file, version 4.16: "OneMore_4.16_Setupx86.msi".

I was asked for the admin's password which was accepted and after the installer starts and accepting the license, the process starts and after a second or two:

grafik

Retried a second time with same result.

stevencohn commented 2 years ago

Why did you chose x86? Use that only if you have a 32 bit windows machine.

Get Outlook for iOShttps://aka.ms/o0ukef


From: MichiFr @.> Sent: Sunday, February 13, 2022 9:25:20 AM To: stevencohn/OneMore @.> Cc: Steven @.>; Assign @.> Subject: Re: [stevencohn/OneMore] Installation Question (Issue #438)

Thanks for this reply and fix.

OTH, I guess this still does not work. I'm using the suggested command line method. I've added my domain admin account "mydomain/administrator" and added the path to the freshly downloaded x86 file, version 4.16: "OneMore_4.16_Setupx86.msi".

I was asked for the admin's password which was accepted and after the installer starts and accepting the license, the process starts and after a second or two:

[grafik]https://user-images.githubusercontent.com/28045390/153757467-dd5e1f78-18f9-41ce-9743-9bf8309fc11a.png

Retried a second time with same result.

— Reply to this email directly, view it on GitHubhttps://github.com/stevencohn/OneMore/issues/438#issuecomment-1038154214, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACMAZVPVWJF6FHBTI4NKM6TU265NBANCNFSM5OASOAHA. You are receiving this because you were assigned.Message ID: @.***>

MichiFr commented 2 years ago

I've used it because I'm running 32bit Office O365. I thought this is the correct way to install OneMore for x86 MSOffice on my Win x64...

stevencohn commented 2 years ago

Please try the x64 installer

MichiFr commented 2 years ago

Yes, did already and it worked, at least the install process. I'll report back shortly when another task finished and I could log out my current user...

stevencohn commented 2 years ago

I will investigate adding a prerequisite check and display a more friendly message to the user in this case. There have been too many users confused by this and it's my fault for not providing a more helpful installer.

MichiFr commented 2 years ago

Please try the x64 installer SUCCESS! OneMore is up and running in my OneNote (using my current non-admin user).

MichiFr commented 2 years ago

Thanks for you comprehensive help and for this great add-in, of course!