0
I fully expect the users to activate the office product by themselves.
But I want to build an Windows machine image that will have the Office product properly registered their COM class ID registered. We need for some office automation task.
But now for a normal user, although he/she can launch the office product, we cannot run our script which invokes office products like this
import win32com.client
pc = win32com.client.Dispatch(winserver2012_comcls)
But apparently the COM CLS is not in registered so my script failed.
It seems like I have to run installation in the user account.
Is there any way I can do when I install office products as an Administrator?
Isn't Office typically licensed per machine instead of per user? – Ramhound – 2019-07-09T23:03:54.127
That's why I did not expect the WIN32COM call to fail... I didn't happen to me in the past, so not sure if I missed something – Anthony Kong – 2019-07-09T23:12:54.717
To be asked for permissions to run Office as a normal user, you must have installed Office as an Administrator, but failed to install it so everyone can use it. There should have been an option within the installer that offers that option. – Ramhound – 2019-07-09T23:14:43.470
I probably have to reinstall... BTW I am still using an old version office 2013 – Anthony Kong – 2019-07-09T23:26:56.857
Are you using shared computer activation link ?
– Herb Gu – 2019-07-10T09:04:38.107No. Actually because of the strict internet settings, I can't even open the MS login page – Anthony Kong – 2019-07-10T09:30:11.990