Page 1 of 1

MSI installation error

Published: September 26, 2017 - 09:49
by infotc
Hello,
I'm going in circles trying to install a very simple MSI (DaVinci Resolve, video editing software).

When I install it manually, there are no problems, but via Wapt, I always get errors.
Here is the package script (very simple)

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

def install():
print('installing tc-montagedavinci')
install_msi_if_needed('ResolveInstaller.msi',killbefore='Resolve.exe')

Here is a log on a client machine:

installing tc-montagedavinci
2017-09-26 08:48:38,664 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00':
Traceback (most recent call last):
File "c:\wapt\common.py", line 3557, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptg0rjuq\setup.py", line 8, in install
install_msi_if_needed('ResolveInstaller.msi',killbefore='Resolve.exe')
File "c:\wapt\setuphelpers.py", line 3763, in install_msi_if_needed
run(r'msiexec /norestart /q /i "%s" %s' % (msi,props),accept_returncodes=accept_returncodes,timeout=timeout)
File "c:\wapt\setuphelpers.py", line 1146, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,u''.join(output))
CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00'

2017-09-26 08:48:39,085 CRITICAL Package tc-montagedavinci not installed due to errors: CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00'
2017-09-26 08:48:39,178 CRITICAL Exception: Error during install of tc6213-13.iut-tc.univ (=21): errors in packages [[u'tc-montagedavinci', PackageEntry('tc-montagedavinci','14.0.78-1')]]
installing tc-montagedavinci
2017-09-26 08:48:56,039 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00':
Traceback (most recent call last):
File "c:\wapt\common.py", line 3557, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptrrfe4g\setup.py", line 8, in install
install_msi_if_needed('ResolveInstaller.msi',killbefore='Resolve.exe')
File "c:\wapt\setuphelpers.py", line 3763, in install_msi_if_needed
run(r'msiexec /norestart /q /i "%s" %s' % (msi,props),accept_returncodes=accept_returncodes,timeout=timeout)
File "c:\wapt\setuphelpers.py", line 1146, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,u''.join(output))
CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00'

2017-09-26 08:48:56,131 CRITICAL Package tc-montagedavinci (=14.0.78-1) not installed due to errors: CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "ResolveInstaller.msi" ' returned non-zero exit status 1612.
Output:u'L\x00a\x00 \x00s\x00o\x00u\x00r\x00c\x00e\x00 \x00d\x00\x19 i\x00n\x00s\x00t\x00a\x00l\x00l\x00a\x00t\x00i\x00o\x00n\x00 \x00d\x00e\x00 \x00c\x00e\x00 \x00p\x00r\x00o\x00d\x00u\x00i\x00t\x00 \x00n\x00\x19 e\x00s\x00t\x00 \x00p\x00a\x00s\x00 \x00d\x00i\x00s\x00p\x00o\x00n\x00i\x00b\x00l\x00e\x00.\x00 \x00V\x00\xe9\x00r\x00i\x00f\x00i\x00e\x00z\x00 \x00q\x00u\x00\x19 e\x00l\x00l\x00e\x00 \x00e\x00x\x00i\x00s\x00t\x00e\x00 \x00e\x00t\x00 \x00q\x00u\x00e\x00 \x00v\x00o\x00u\x00s\x00 \x00\xea\x00t\x00e\x00s\x00 \x00a\x00u\x00t\x00o\x00r\x00i\x00s\x00\xe9\x00 \x00\xe0\x00 \x00y\x00 \x00a\x00c\x00c\x00\xe9\x00d\x00e\x00r\x00.\x00\n\x00\r\x00'
2017-09-26 08:48:56,131 CRITICAL Exception: Error during install of tc-montagedavinci (=14.0.78-1): errors in packages [[u'tc-montagedavinci (=14.0.78-1)', PackageEntry('tc-montagedavinci','14.0.78-1')]]


I see error 1612, which corresponds to unavailable installation sources, but the package is indeed present in the wapt cache folder. Or should I create a session_setup package? (Isn't that strange for an MSI?) If anyone can point me in the right direction, thank you in advance.

Re: MSI installation error

Published: September 26, 2017 - 09:59
by htouvet
Apparently you're not the only one:
http://forum.blackmagicdesign.com/viewt ... =3&t=28800

I think that by default, it tries to install itself in the user profile??.

Perhaps a property like ALLUSERS=1 could be added

Code: Select all

install_msi_if_needed('ResolveInstaller.msi',killbefore='Resolve.exe',properties={'ALLUSERS':'1'})

Re: MSI installation error

Published: September 27, 2017 - 2:15 PM
by infotc
Hello,
I unfortunately tried it without success.
Since several versions of the software had been installed since May, I reformatted the computers and then the MSI installed without any problems.
Thank you anyway for your reply and congratulations again on your product which greatly simplifies my work.
Sincerely,
Stéphane