Page 1 of 1

Create SEI Office Add-on Package

Published: July 28, 2021 - 4:08 PM
by MorganeDeveho
Good morning,

I need to create a package for installing an add-on for Excel.

Here is the code:

Code: Select all

uninstallkey = ['{278DC828-AE0E-4E99-AA49-8F68B362C90C}']

def install():
    install_exe_if_needed('SEI Excel Add-in - WIN64 - V2021R1.exe',
        key='{278DC828-AE0E-4E99-AA49-8F68B362C90C}',
        silentflags='/S /v"/qn"')
It installs and uninstalls correctly in PyScripter.
On the workstations, it displays an error 1619 which would mean a problem opening the package.
Can you help me please?

Re: Creating an Add-on Package on Office SEI

Published: July 29, 2021 - 09:38
by dcardon
The agent runs under the system account, see the documentation. There are context differences. Check how it behaves in the command line (under the system account).

Re: Creating an Add-on Package on Office SEI

Published: July 29, 2021 - 2:50 PM
by MorganeDeveho
I just did the test via the task scheduler (in system account),
the software did not install and it displays error 2147944019.

Re: Creating an Add-on Package on Office SEI

Published: July 30, 2021 - 5:28 PM
by dcardon
you can launch it in a shell launched through

Code: Select all

psexec -i -s cmd.exe
and see if you have a more explicit error message.
For example, one problem that can arise is that LOCALSYSTEM does not have a homedir and the installer tries to create an icon on the desktop.

Re: Creating an Add-on Package on Office SEI

Published: August 9, 2021 - 3:52 PM
by MorganeDeveho
I just tested the installation via psexec.
There was no error message and the software did not install.